You are here: Re: PHP newbie : exist short form for print() ? « PHP Programming Language « IT news, forums, messages
Re: PHP newbie : exist short form for print() ?

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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация