If you want customizable layout without changing the logic, try the MVC approach (model-view-control). The best way to do it is to create the data from php in a XML (generate the logic), then create the layout with XSL. Thus, if you want to change the layout, all you have to do is to change the XSL. Aso, if you change the logic, you'll vave to change just the php generating the XML. Right now I'm doing just that, and I think this is the best approach (for me at least). There are several platforms that already have this MVC approach implemented Take a look at: http://www.interakt.ro/products/Krysalis/ It's a free PHP/XML/XSL platform that will help you to just that.
Regards, Lucian "Nagib Abi Fadel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > can anyone suggest a free PHP Object Oriented > Programming book ... > Or an Object Oriented Book for web applications. > > Plus i want to design customizable web pages: > - I can change the hole layout by changing one file > - If i change a database table i don't have to change > alot in the code > ... > > Is there any books that helps ?? > > thx. > > > > > > > > __________________________________ > Do you Yahoo!? > Free Pop-Up Blocker - Get it now > http://companion.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php