patTemplate .vs Smarty/Savant/Lozier - Joomla! Forum - community, help and support
savant - http://www.phpsavant.com/
smarty - http://smarty.php.net/
lozier's template class - http://www.massassi.com/php/articles/template_engines/
are there plans include other template engines core joomla release. have used fasttemplates, smarty , savant in past. using brian lozier's template class in recent projects.
of course, separation of logic , presentation important. but, important enough force people learn new syntax use it. read http://www.phppatterns.com/docs/design/templates_and_template_engines other opinions on php template engines.
with adequate wrapping smarty, savant, , lozier can distributed joomla core. allow users choose templating engine (i hate name) want.
no disrespect pattemplate, find provides, i'd rather use lozier's class. syntax in template php. code in php similar, a) select template, b) load template variable, c) render template. , since wrapper around extract , include, not in additional documentation needed, making lozier's article needed.
i have not seen components or modules utilizing pattemplate, core or third party. please point out if come across any. using code available in $install/includes/pattemplate/tmpl/. seems interesting, have finish current project , can't find docs or examples.
brian lozier's class available on hosts include path. using it.
savant - http://www.phpsavant.com/
smarty - http://smarty.php.net/
lozier's template class - http://www.massassi.com/php/articles/template_engines/
some people argue template language should simple enough graphic designers use. think rather simple view of world. once designer producing complexity, template language either not adequate enough, or wrappers around every available function in php.
why focus on using pattemplate? since of others mention can (easily) used in joomla/mambo, why focus on one?
-teh
smarty - http://smarty.php.net/
lozier's template class - http://www.massassi.com/php/articles/template_engines/
are there plans include other template engines core joomla release. have used fasttemplates, smarty , savant in past. using brian lozier's template class in recent projects.
of course, separation of logic , presentation important. but, important enough force people learn new syntax use it. read http://www.phppatterns.com/docs/design/templates_and_template_engines other opinions on php template engines.
with adequate wrapping smarty, savant, , lozier can distributed joomla core. allow users choose templating engine (i hate name) want.
no disrespect pattemplate, find provides, i'd rather use lozier's class. syntax in template php. code in php similar, a) select template, b) load template variable, c) render template. , since wrapper around extract , include, not in additional documentation needed, making lozier's article needed.
i have not seen components or modules utilizing pattemplate, core or third party. please point out if come across any. using code available in $install/includes/pattemplate/tmpl/. seems interesting, have finish current project , can't find docs or examples.
brian lozier's class available on hosts include path. using it.
savant - http://www.phpsavant.com/
smarty - http://smarty.php.net/
lozier's template class - http://www.massassi.com/php/articles/template_engines/
some people argue template language should simple enough graphic designers use. think rather simple view of world. once designer producing complexity, template language either not adequate enough, or wrappers around every available function in php.
why focus on using pattemplate? since of others mention can (easily) used in joomla/mambo, why focus on one?
-teh
you're free create own templateing-engine-add-on joomla. build way, able replace templating engine if want. core not support multiple engines because work maintain , code base become lot bigger. therefor core support 1 templating engine default, have download/create others separately joomla. since devs have chosen pt, think stick this.
hackwar
hackwar
Comments
Post a Comment