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):
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
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
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
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
>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
> 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
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