Thursday, November 29, 2012

Re: how to implement Smarty 3?



Il giorno sabato 17 novembre 2012 15:21:56 UTC+1, Martin Aguilar ha scritto:
For years I've been working on my own framework but now I wan't to migrate to cakephp.
On my framework I used smarty for themes and to separate code from views. I always find smarty clean, nice and with a very good performance.
Now I want to use it on cake but I found people saying that it has no purpose.
And couldn't find a good article about implementing it. The only thing that I found it's for cake 1.3 and smarty 2 and the article it's damage.
http://bakery.cakephp.org/articles/tclineks/2006/10/27/how-to-use-smarty-with-cake-smartyview On point 4, I see a lot of unreadable symbols.

Any help on implementing smarty 3 on cake 2?
What it's your opinion onimplementing smarty or any other template system?

Hi martin, when i use smarty inside cake i use a simple vendor layer that wrap smarty where i can set/manage variables
Set autorender to false and use smarty as usual 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: