Re: [PHPTAL] Ztal 1.0.0

2011-01-05 Thread Robert Goldsmith
Hello :) If you look back through the git repo you will notice that until recently we had pretty much the same code. However, you also need an action helper to correctly setup the paths. Maybe the problem with the timings was because of our very complex deployment environment and the include

Re: [PHPTAL] Ztal 1.0.0

2011-01-05 Thread aaatoja
BTW. Could You set UTF-8 as default encoding in your project? Looking throug the code I saw ISO-8859-1. ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal

Re: [PHPTAL] Ztal 1.0.0

2011-01-05 Thread Robert Goldsmith
It should be UTF-8 but without the BOM headers. If the files are not UTF-8 I'll look into converting them but we develop UTF-8, unix line endings by default :) Robert On 5 Jan 2011, at 10:23, aaatoja wrote: BTW. Could You set UTF-8 as default encoding in your project? Looking throug the

Re: [PHPTAL] Ztal 1.0.0

2011-01-05 Thread aaatoja
And also https://github.com/namesco/ZTal/blob/master/Mail.php line 74. I can't remember if I saw just inside this file or somewhere else. ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal

Re: [PHPTAL] Ztal 1.0.0

2010-12-22 Thread Marco Pivetta
Hmm... Not sure about the performance impact... As I'm using APC anywhere, I'm not considering the includes a trouble anymore... Anyway, here's an example of how I integrated the view with just a couple of lines of code: http://pastebin.com/jiFWEfDB I'm not noticing more than 10 msecs of time used

Re: [PHPTAL] Ztal 1.0.0

2010-12-22 Thread Marco Pivetta
Here's some webgrind output: Ocramius_Zend_View_PHPTAL-__constructO 1 872 *5213* CallsCountTotal Call Cost Zend_Loader_Autoloader::autoload @ 0 1 1338 O PHPTAL-__construct @ 91 1 787 O Zend_View_Abstract-__construct @ 105 1 633 O

Re: [PHPTAL] Ztal 1.0.0

2010-12-21 Thread Robert Goldsmith
Hello :) Sorry for not replying to everyone's comments but I'm on holiday for christmas :) Regarding Marco's comment on Zend_Application_Resource_Interface I would guess it is a question of how Ztal is loaded into a Zend Application. We initially used a combination of application resource

Re: [PHPTAL] Ztal 1.0.0

2010-12-19 Thread Marco Pivetta
Robert, do you have any Zend_Application_Resource_Interface resource in the code-base? Didn't see any (had only 10 mins to look at Ztal till now)... Marco Pivetta @Ocramius http://twitter.com/Ocramius http://marco-pivetta.com 2010/12/18 Kornel Lesiński kor...@geekhood.net On Fri, 17 Dec 2010

Re: [PHPTAL] Ztal 1.0.0

2010-12-18 Thread Kornel Lesiński
On Fri, 17 Dec 2010 16:06:33 -, Robert Goldsmith rgoldsm...@names.co.uk wrote: I'm pleased to announce the 1.0.0 release of Ztal, available here: http://opensource.names.co.uk/ztal/ Ztal is a 'glue' framework that integrates PHPTAL and all it's wonderful goodness into Zend Framework

Re: [PHPTAL] Ztal 1.0.0

2010-12-17 Thread Anton Andriyevskyy
Ouch, this will give good fire to PHPTAL. Good news! Anton Andriyevskyy Expert in Business Automation Web Development On Fri, Dec 17, 2010 at 6:06 PM, Robert Goldsmith rgoldsm...@names.co.ukwrote: Hi everyone :) I'm pleased to announce the 1.0.0 release of Ztal, available here:

Re: [PHPTAL] Ztal 1.0.0

2010-12-17 Thread Marco Pivetta
That looks promising! :O I used my own Zend_View_Abstract implemented with PHPTAL till now... Will move to your version as soon as possible guys! :) Marco Pivetta @Ocramius http://twitter.com/Ocramius http://marco-pivetta.com 2010/12/17 Anton Andriyevskyy x.meg...@gmail.com Ouch, this will