It's not that bad to impose some guidelines :) PHPTAL is that simple and
well-working because it discourages "backdoors" and "workarounds" that make
code dirty ;) That's what I, for example, liked about this library. It
forces people who write "dirt code" to be a bit cleaner... Many people who
worked with me told me it's a limit of PHPTAL, but I don't think so...
Kornel says he likes things "done the right way"... Maybe there's a quicker
way, but I prefer the right way before forgetting some stuff behind me :)
It's a good practice to put your namespaces in all your files as you do with
your C++/PHP5.3/Java files, don't you think so?

2010/1/30 romtek <rom...@gmail.com>

> 2010/1/27 Kornel Lesiński <kor...@aardvarkmedia.co.uk>
>
> On 27-01-2010 at 08:39:36 Murat Çorlu <muratco...@gmail.com> wrote:
>>
>>  Is there a simple way to define a custom namespace globally for all of
>>> our templates like tal and metal namespaces?
>>>
>>
>> No, and I'm not planning to add it. TAL namespaces are already in
>> violation of the XML spec.
>>
>
> Not that I need this feature for the time being, but what's the downside of
> violating the specs? Nobody is going to fine or imprison you for it. PHPTAL
> is an autonomous library.
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
>


-- 
Marco Pivetta - Ocramius Aethril
Sent from Padova, PD, Italy
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to