Posted by JDS on 08/10/05 18:00
On Tue, 09 Aug 2005 15:18:09 -0700, joes wrote:
> I like to keep the HTML readable as much as possible, so any chance
> therefore? Please let me know also some different approaches or php
> frameworks in this area.
I recommend a templating system, in that case.
Examples:
Fasttemplate
bTemplate
Smarty
others... or build your own.
Try googling to find links and downloads.
Why templates? Separates HTML (layout+markup) from PHP (application
logic) and makes things much more scalable and easier to maintain in the
long run. (For a very small web project, template systems may seem like a
big PITA but small projects tend to become big projects rather quickly.)
--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
[Back to original message]
|