[thelist] PHP Templates

Will willthemoor at gmail.com
Tue Oct 6 19:08:24 CDT 2009


for small sites, wordpress fits the bill for me a lot.

for the simplest of php templating, there's always includes.  :)
http://www.mezzoblue.com/archives/2005/06/08/simple_templ/ I still use
this for really small sites, extending the variables and include
structure for sidebars or whatever.



On Tue, Oct 6, 2009 at 6:35 AM, Chris Dempsey
<chris at gettheedgeonline.com> wrote:
> Simon,
>
> Don't have a specific view to put across but you may find the following
> links useful:
>
> http://www.devshed.com/c/a/PHP/Building-a-Template-Parser-Class-with-PHP
> -Part-I/
>
> http://www.devshed.com/c/a/PHP/Building-a-Template-Parser-Class-with-PHP
> -Part-II/
>
> I needed a lightweight token based template system for some work we did
> and based it on this.  Part two of the article adds caching capability
> to the template parser.
>
> I vaguely remember looking at something called Serendipity at the time
> of deciding which route to follow.  If memory serves, it was a
> reasonably hefty solution but not quite as big as Smarty so that may
> also be worth a look.
>
> Chris
>
>
>
> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Simon MacDonald
> Sent: 06 October 2009 09:46
> To: thelist at lists.evolt.org
> Subject: [thelist] PHP Templates
>
> An earlier post, which mentioned Komodo triggered this post.
>
> I've been using Dreamweaver for some time to build sites, mainly for its
> HTML templating features. I'm increasingly building more complex sites
> using
> PHP and Ajax, and Dreamweaver doesn't really cut the mustard anymore. As
> replacement IDEs I'm looking at either Aptana, and Komodo.
>
> Komodo seems to do everything (and more) that I currently want, one of
> which
> is the support of SMARTY, which I'm maybe considering to use for
> templating.
> I've searched thelist archives and there some quite old posts about PHP
> Templating, some of which consider SMARTY to be overkill in many
> instances.
>
> I'm not farming out the look and feel design to anyone else other than
> myself, so what I'm looking for is a lightweight, easy to use approach.
> Should I be using a more minimalist approach such as Brian Lozier
> advocates
> [1]? I could use a CMS such as Drupal but for many small sites where I
> just
> want a bit of database functionality that would probably be overkill.
>
> I'd be grateful for your current views on the best way to do PHP
> templating
>
> [1] http://www.massassi.com/php/articles/template_engines/
>
>
> Cheers
>
> Simon
>
> Simon MacDonald
> simonmacdonald at uk2.net
>
>
>
>
> __________ Information from ESET Smart Security, version of virus
> signature
> database 4482 (20091005) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
> --
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
>
> --
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>



More information about the thelist mailing list