Re: [SPAM] [PHPTAL] PHPTAL 1.1.14rc1

2008-10-21 Thread Levi Stanley
Kornel: The change is a good call, and you left a way to use the old method for frameworks as well. So I don't see a problem. Best regards, Levi Stanley Kornel Lesiński wrote: > > New version of PHPTAL is available. > > It's a release candidate, because it has a small backward-incompatible > ch

Re: [PHPTAL] Dynamic macros

2008-10-21 Thread Maciej Łebkowski
On Tue, Oct 21, 2008 at 14:10, Kornel Lesiński <[EMAIL PROTECTED]> wrote: >> For example, the content of the page (markdown syntax) can be >> extended with some data from atom feed. > Reading of atom feeds doesn't sound like responsibility of templates. s/atom feed/object that can be easily feed i

Re: [PHPTAL] Dynamic macros

2008-10-21 Thread Kornel Lesiński
On 21-10-2008 at 12:52:02 Maciej Łebkowski <[EMAIL PROTECTED]> wrote: I don`t think it is possible. ;-) It relies too much on the user input. For example, the content of the page (markdown syntax) can be extended with some data from atom feed. Reading of atom feeds doesn't sound like responsi

Re: [PHPTAL] Dynamic macros

2008-10-21 Thread Christoph Frick
On Tue, Oct 21, 2008 at 01:52:02PM +0200, Maciej ?ebkowski wrote: > I don`t think it is possible. ;-) It relies too much on the user input. > > For example, the content of the page (markdown syntax) can be > extended with some data from atom feed. But I dont know WHERE > to insert this data. The

Re: [PHPTAL] Dynamic macros

2008-10-21 Thread Maciej Łebkowski
On Tue, Oct 21, 2008 at 11:16, Kornel Lesiński <[EMAIL PROTECTED]> wrote: >> I dont know if there are any drawbacks — cache, optimisation, etc? > If you're just trying to implement eval() in TAL, then don't do it - it's > just asking for trouble (bugs in macro generation code could allow code > inj

Re: [PHPTAL] PHPTAL 1.1.14rc1

2008-10-21 Thread Kornel Lesiński
On 21-10-2008 at 12:01:56 tarjei <[EMAIL PROTECTED]> wrote: New version of PHPTAL is available. It's a release candidate, because it has a small backward-incompatible change and I'd like to hear your feedback about it. Can you describe the change? Detailed information is on PHPTAL's homepag

Re: [PHPTAL] PHPTAL 1.1.14rc1

2008-10-21 Thread tarjei
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kornel Lesiński wrote: > > New version of PHPTAL is available. > > It's a release candidate, because it has a small backward-incompatible > change and I'd like to hear your feedback about it. > Can you describe the change? Regards, Tarjei -BEGIN

[PHPTAL] PHPTAL 1.1.14rc1

2008-10-21 Thread Kornel Lesiński
New version of PHPTAL is available. It's a release candidate, because it has a small backward-incompatible change and I'd like to hear your feedback about it. -- regards, Kornel ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.mot

Re: [PHPTAL] Dynamic macros

2008-10-21 Thread Kornel Lesiński
On 21-10-2008 at 07:03:50 Maciej Łebkowski <[EMAIL PROTECTED]> wrote: I dont know if there are any drawbacks — cache, optimisation, etc? If you've implemented PHPTAL_Source well then cache should work fine as long as code of the macro doesn't change too often. Or maybe I am missing some f