Re: [PHPTAL] Ztal 1.0.0

2011-01-19 Thread Christian Welzel
Am 17.12.2010 17:06, schrieb Robert Goldsmith: > I hope everyone finds what we are doing interesting and, of course, comments > welcome :) I used my own implementation of a phptal view in zend for some time but decided to switch to ztal yesterday. my implementation was based on a Zend_View_Inter

Re: [PHPTAL] Ztal 1.0.0

2011-01-05 Thread Robert Goldsmith
That sets the encoding for email content generated by the template - most email clients expect latin1 for email content. Obviously it is also a parameter to the function so you can pass any supported encoding but unless you know your target audience, latin1 behaves most consistently :) For norm

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

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 co

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 Marco Pivetta
As soon as I have some time to breath I'll do a pull request in the git repo ;) Marco Pivetta @Ocramius http://marco-pivetta.com 2011/1/5 Robert Goldsmith > Hello :) > > If you look back through the git repo you will notice that until recently > we had pretty much

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 pa

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

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-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://marco-pivetta.com 2010/12/18 Kornel Lesiński > On Fri, 17 Dec 2010 16:06:33 -, R

Re: [PHPTAL] Ztal 1.0.0

2010-12-18 Thread Kornel Lesiński
On Fri, 17 Dec 2010 16:06:33 -, Robert Goldsmith 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 as a replacement for the

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://marco-pivetta.com 2010/12/17 Anton Andriyevskyy > Ouch, this will give good fire to

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 wrote: > Hi everyone :) > > I'm pleased to announce the 1.0.0 release of Ztal, available here: > > http://opensource.names.c

[PHPTAL] Ztal 1.0.0

2010-12-17 Thread Robert Goldsmith
Hi everyone :) 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 as a replacement for the Zend_View class and Zend_Form class. You can read