WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Themeing G3

Re: Themeing G3

by Tim Almdal :: Rate this Message:

| View in Thread

Brandon, IMO, if you want to use a templating engine for what you create fill your boots.

Googling for "kohana tbs template integration" or "kohana smarty template integration" will give you lots of hits that can help you integrate it into your installation or create a -contrib module that others can use.

I'm in full agreement with decision to use native php templates as I also felt that it raised the bar for people that want to make minor changes to templates.

Tim

----- Original Message -----
From: Brandon Sussman <Brandon@...>
Date: Tuesday, October 28, 2008 10:30 am
Subject: Re: [Gallery-devel] Themeing G3
To: gallery-devel@...

> I rise to speak in favor of a (lighter weight) templating
> capability as part
> of theming.
>
> On Tuesday 28 October 2008 11:47:27 Bharat Mediratta and others wrote:
> > Those that know PHP
> I think I am a member of that group.
> > will think a pure PHP themeing system is
> > the best.
> What does pure mean? No files that do not begin '<?php'? - I
> want some support
> in the form of code that some good templating theorist wizard
> has developed. 
>
> tbs ( http://tinybutstrong.com/ ) templating is perfect for me -
> it is very
> lightweight and does a great deal of the heavy lifting for me in
> my work and
> it is small enough to suck in and modify if needed. 
> Frankly, it is pretty
> close to pure PHP for me. 
> http://tinybutstrong.com/article_3rd_kind.html is
> an interesting short read - BTW the 1st kind is pure PHP and the
> second is
> exemplified by <drumroll duration="annoying"
> />SMARTY</drumroll>.
> I am not expert but I find SMARTY inappropriately hard to deal
> with.  I don't
> see it's value.  SMARTY code is so complex that I do not
> feel that anything
> much has been abstracted, which is the reason to use
> templating.  I also
> suspect that the MVC model might have something to inform this
> conversation
> and that a separate heavyweight templating engine courrupts this
> where a
> small (or tiny :) ) template class might not.
>
> With well done template files (generating appropriate semantics,
> etc.), a
> templating class can make skinning (I use interchangeably with
> templating but
> please do not start a war over that - I don't quibble) available
> to the 'less
> technical' but I fear that themers need to know something of
> CSS, HTML, PHP
> etc.  We are talking about an interface layer here and you
> cannot interface
> two things that you don't know.
>
> Seriously - I think it is worthwhile looking at tbs or
> reinventing the tbs
> wheel within G3 if that supports the notion of pure PHP better :)
>
> --
> -----------------------------------------------------------------
> | WRWeb
> Services                   |           http://WRWeb.net |
> | 1482 Pleasant
> St.                |              (603)648-2251 |
> | Webster, NH, 03303-
> 7613          |            19TBJ8040800540 |
> -----------------------------------------------------------------
> | Web Sites Designed and Supported |Think Locally, Buy Locally! |
> -----------------------------------------------------------------
>
> -----------------------------------------------------------------
> --------
> This SF.Net email is sponsored by the Moblin Your Move
> Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere
> in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> __[ g a l l e r y - d e v e l ]_________________________
>
> [ list info/archive --> http://gallery.sf.net/lists.php ]
> [ gallery info/FAQ/download --> http://gallery.sf.net ]
>

Website: http://www.timalmdal.com


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]

 « Return to Thread: Themeing G3