Speaking as a designer,<br><br>I've created the visual design for various projects using Joomla (mainly), Drupal and Magento. The ease of the template system plays a very large part in my decision of which CMS I am going to use for a project and I would not have a chance of creating anything useful if I had to work with straight PHP. For these reasons I *love* Joomla and despise Magento. Why? Because in Joomla the vast majority of any template is just html in the index.php file and css in the template.css file. Any PHP that does exist in there is typically one short, standard code snippet to include a module (similar to blocks in Drupal). I don't really need to know any code beyond 1 or two snippets and CSS. Compare this to the nightmare that is Magento where code is flung around multiple files in multiple locations and you need to know what just about all of them do to estimate why something looks the way it does and how to change it. Drupal is somewhere in the middle, albeit much better than Magento. Strangely enough, over 90% of websites (including <a href="http://krita.org">http://krita.org</a>) that I've been in charge of creating use Joomla.<br>
<br>Now I don't know if what's in Joomla a coder would call a "templating engine" or not. I don't really know what's meant by the phrase. What I know is that HTML, CSS, Gimp and Inkscape are familiar and need no introduction. Every other file and protocol that's introduced is other specialty learning I'd have to study before helping out (ie a barrier to entry).<br>
<br>Cheers<br><br>Bugsbane / Kubuntiac<br><br><div class="gmail_quote">On Tue, Nov 9, 2010 at 6:21 AM, François K. <span dir="ltr"><<a href="mailto:daitheflu@free.fr">daitheflu@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
As I said yesterday on IRC, I'm strongly pro separating views and treatments as far as we can. But I'm also strongly against templating systems. Here is why :<br>
<br>
- PHP is a templating system. Includes and the alternative syntax are made for that (<a href="http://php.net/manual/en/control-structures.alternative-syntax.php" target="_blank">http://php.net/manual/en/control-structures.alternative-syntax.php</a>). As a consequence, most templating systems are just re-inventing the wheel : PHP works already well and has no limitations.<br>

- It forces us to learn a new language.<br>
- I don't think they make things easier for webdesigners (just look at some template code, it's the same).<br>
- I also think that webdesigners have to have a basic knowledge of PHP to do a proper work :P<br>
- It adds a strong dependency. What if the templating system we chose isn't maintained anymore (that could be in 2 or 3 years, who knows) ?<br>
- It may decrease performances (this is arguable).<br>
<br>
I used to build my websites with a templating system and, I now see that the gain is null.<br>
<br>
However, just like Frank, if a majority of people wants it, just go on with the chosen one :)<br>
<br>
Cheers,<br>
<br>
--<br>
François<br>
<br>
<br>
<br>
<br>
<br>
----- Mail Original -----<br>
De: "Frank Karlitschek" <<a href="mailto:karlitschek@kde.org">karlitschek@kde.org</a>><br>
À: <a href="mailto:info@s8inac.org">info@s8inac.org</a><br>
Cc: "owncloud" <<a href="mailto:owncloud@kde.org">owncloud@kde.org</a>><br>
Envoyé: Mardi 9 Novembre 2010 11h54:02 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne<br>
Objet: [Owncloud] Re: Templating engine or not?<br>
<div><div></div><div class="h5"><br>
Hi,<br>
<br>
<br>
I´m personally not a big fan of templating engines in PHP for stuff beside<br>
static webpages like corporate websites.<br>
<br>
Sometimes they are not powerful enough and limit the functionality of the frontend.<br>
Or they are powerful and are something like a programming language inside a programming language.<br>
Which is a bit stupid in my opinion because PHP was developed to be exactly that. :-)<br>
<br>
And webdesigners also have problems to contribute because they have to learn the complex template language.<br>
<br>
So I´m personally not a big fan of this idea but if the majority wants to do this please go forward.<br>
<br>
<br>
Cheers<br>
Frank<br>
<br>
<br>
<br>
<br>
On 09.11.2010, at 11:36, <a href="mailto:info@s8inac.org">info@s8inac.org</a> wrote:<br>
<br>
> Hey,<br>
><br>
> yesterday we had a discussion on irc about templating engine or not.<br>
> We all agreed we have to seperate views.<br>
> But how was the question.<br>
><br>
> Lets start with pro for templating:<br>
> - easier way to seperate application logic and views (think about MVC)<br>
> - webdesigners could contribute this project<br>
> - ...<br>
><br>
> and contra:<br>
> - dependency on 3rd party software<br>
> - isn't php a template system?<br>
> - ...<br>
><br>
> We would prefer PHPTAL as a templating engine beacause i have<br>
> experience with it.<br>
><br>
> What do you think?<br>
><br>
> kinds regards<br>
> - Simon<br>
<br>
<br>
<br>
--<br>
Frank Karlitschek<br>
<a href="mailto:karlitschek@kde.org">karlitschek@kde.org</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
_______________________________________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
</div></div></blockquote></div><br>