Firebird News

Wednesday, September 03, 2008

php is the template engine

I wrote about dom parser on cake-php google group ,
I think php + simple html dom is briliant in working with html pages as templates and separate the logic from the view (or designer code)

In views i can use smarty or fasttemplate or any other template
language but i'm not quite atracted about any of them
I wonder what if i use no template engine at all and keep the html
separated and clean
and use an simple dom parser for html "templates" or files and modify the html dom

or with jquery phpQuery - jQuery port to PHP
Post a Comment