[PHPTAL] Extending namespace

Hisateru Tanaka tanakahisateru at gmail.com
Mon Jun 13 10:56:03 CEST 2011


I will add them to my product soon.
Thanks,

2011/6/12 Kornel Lesiński <kornel at geekhood.net>:
> On Fri, 10 Jun 2011 05:01:08 +0100, Hisateru Tanaka
> <tanakahisateru at gmail.com> wrote:
>
>> I'm trying to extend namespace of PHPTAL to use in my framework.
>> 3 new attributes would introduced.
>>
>>  pal:content-nl2br
>>  pal:replace-nl2br
>>  pal:attr
>>
>> They might be things which some users wanted...
>>
>> Test code is here:
>> https://gist.github.com/1016531
>> Someone tell me which this implementation is even good or not.
>
> Yes, it's good.
>
>> If developer team is planning to change class tree or public/protected
>> method, how can I keep compatibility safer?
>
> I don't see anything you could improve for future-compatibility.
>
> I do plan to rewrite code generation someday, but until then you're safe :)
>
> --
> regards, Kornel Lesiński
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL at lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>



-- 
Hisateru Tanaka



More information about the PHPTAL mailing list