Re: [Alug] ALUG Library ...
David Freeman <david_freeman@rocketmail.com> writes:
So this would be what owen was saying about PHP on sunday about content and markup being mixed together, Whilst I can see some of these evils, doesn't CSS attempt to help?
Oh, many of us will have a go at PHP for that. CSS doesn't really help much, as you still have most of your program code stuffed in a servable document rather than kept right away from your markup. There are ways to remedy it a little, but it's better not to have the problem there in the first place, eh? -- MJR
--- MJ Ray <markj@cloaked.freeserve.co.uk> wrote:
David Freeman <david_freeman@rocketmail.com> writes:
So this would be what owen was saying about PHP on sunday about content and markup being mixed together, Whilst I can see some of these evils, doesn't CSS attempt to help?
Oh, many of us will have a go at PHP for that. CSS doesn't really help much, as you still have most of your program code stuffed in a servable document rather than kept right away from your markup. There are ways to remedy it a little, but it's better not to have the problem there in the first place, eh? -- MJR
OK then how about ASP? :o) </fx action="lights blue touch paper and retires to safe distance"> Thanks D PS Mark does the above Parse ok? __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
MJ Ray wrote:
David Freeman <david_freeman@rocketmail.com> writes:
So this would be what owen was saying about PHP on sunday about content and markup being mixed together, Whilst I can see some of these evils, doesn't CSS attempt to help?
Oh, many of us will have a go at PHP for that. CSS doesn't really help much, as you still have most of your program code stuffed in a servable document rather than kept right away from your markup. There are ways to remedy it a little, but it's better not to have the problem there in the first place, eh?
May I point out FastTemplates? It's a PHP class that allows you to completely separate content from code. http://www.thewebmasters.net/php/FastTemplate.phtml Jo -- <>-- jo mitchell ------- http://futurshox.net --------<> http://deskdemon.com | http://www.yee-ha.demon.co.uk Linux-powered! | mobile: +44 7974 219809 <>---------------------- icq#104771112 ---------------<>
On Fri, 04 May, 2001 at 10:38 +0100, jo@yee-ha.demon.co.uk wrote:
May I point out FastTemplates? It's a PHP class that allows you to completely separate content from code.
You may, but I'd then be forced to whack you over the head with a copy of CGI::FastTemplate for perl, which does exactly the same thing and also allows us to use DBI (which is database abstraction done almost right, and is better [IMHO] than PHP's feeble attempt at database abstraction). Just my 2p! Andrew. -- All views are my own, who else would want them?
participants (5)
-
Andrew Savory -
Brett Parker -
David Freeman -
jo@yee-ha.demon.co.uk -
MJ Ray