[dokuwiki] Re: Template thoughts

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 25 Nov 2006 14:58:46 +0100

On Fri, 24 Nov 2006 23:35:38 +0000
"Mr Anchovy" <mr.anchovy@xxxxxxxxxxxxx> wrote:

> Andi what are your thoughts about this? Are you happy with what is in 
> DokuWiki at the moment?

Yes I am. I decided against smarty because it does give any real
advantages in my experience. When using smarty you soon start to use
PHP-like constructs like loops and if-then-else cases, but with a
different syntax. I think PHP is a very good templating language itself
- no need for another abstraction layer. BTW. developers of some other
popular software seem to think alike, eg. Wordpress or Joomla.

> Would you be interested in adopting a progressive implementation of
> Smarty within DokuWiki core?


> How about
> incorporating some minor core changes to make substitution of
> inc/html.php easier?

I think inc/html.php could use some improvements, there are some things
that are much too monolithic, but I'm not sure we are thinking in the
same direction here... What changes do you have in mind exactly?



Other related posts: