>>>>> "Dan" == Dan J Rychlik <[EMAIL PROTECTED]> writes:
Dan> I am reading PHP and MySQL web development 2nd edition book. Dan> Chapter 6 talks about displaying dynamic web content using Dan> class objects. For the type of project that I am building, Dan> this is not optimal. How do I keep my self from having html Dan> mixed with my PHP code? Ok, here's another one. I've never used the php port of TAL, but I've used TAL a little bit in Zope and it's really nice. Here's a link to an article on the zope site about TAL. One really good thing about TAL (below) is that HTML editing tools tools like Dreamweaver, Amaya or and GoLive, for instance, can be used to edit the templates. So the Interface Engineers can do their 'thang' and the programmers can do their 'thang' with less interference. ,----[ http://www.zope.org/Documentation/Articles/ZPT1 ] | The tal:content attribute is a TAL statement. Since it has an XML | namespace (the tal: part) most editing tools will not complain that | they don't understand it, and will not remove it. It will not change | the structure or appearance of the template when loaded into a | WYSIWYG editor or a web browser. The name content indicates that it | will set the content of the title tag, and the value "here/title" is | an expression providing the text to insert into the tag. `---- here's a link to the PHP port. http://phptal.sourceforge.net/ -- no toll on the internet; there are paths of many kinds; whoever passes this portal will travel freely in the world -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php