Re: [PHPTAL] Re: PHPTAL and PHP5.3 Namespace

2012-03-28 Thread aaatoja
I totally agree with Pornel's point of view (point 4 and his website). Why switch to namespaces? Apart from that using them is really problematic every modern autoloader allows us to load classes in PSR-0, PEAR and include_path convention. Dnia 28 marca 2012 12:36 Kornel Lesiński napisał(a):

[PHPTAL] Proposal: Auto-fill slots with #ids

2011-08-19 Thread aaatoja
When creating typical web page we all use #ids, and something like: layout.html> metal:define-macro="html" metal:define-slot="content" index.html> metal:use-macro="../layout.html/html metal:fill-slot="content" And most probably content will be . So maybe just to make our work easier PHPTAL

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 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: AW: [PHPTAL] Re: AW: Logical operators in PHPTAL

2010-10-04 Thread aaatoja
How did I solve the problem? (I'm working with ZF) /** * PHPTAL context modifier (helper:) * * @param string $src * @param boolean $nothrow * @return string */ function phptal_tales_helper($src, $nothrow) { $src = 'helper->'.trim($src); return PHPTAL_Php_Transformer::transform($src, '$ct

Re: [PHPTAL] PHPTAL and PHP frameworks

2009-07-06 Thread aaatoja
>Thank you, but Zend Framework is said to be slow and difficult to > learn. Yes, it's not so fast as Yii but on the other hand ZF is most complex of all PHP Frameworks. It has great community, lot of articles and examples, well writen docs. What I like is Zend_Translate (check available adapters

Re: [PHPTAL] New PHPTAL website!

2009-06-01 Thread aaatoja
> Ok, I can make it smaller. What would you change with the top? > Old site is pure and clean. When I first saw new one I thought "why is it so sad"? There's too much gray (unless it symbolizes the dullness of other projects), trifolium (?) should suggest live, bright and happy colors. I don't

Re: [PHPTAL] New PHPTAL website!

2009-05-31 Thread aaatoja
For syntax highlighting You can try: http://code.google.com/p/google-code-prettify/ It is google project used in code.google.com so obviously doesn't work with application/xhtml+xml ;) I don't like gray top and I think font-size 16px for text is too large. Compare old manual with the new one. O