Monday, November 19, 2012

Re: how to implement Smarty 3?

Correct me if I am wrong.
Bootstrap looks nice but it's not comparable with Smarty for what I could see.
In fact, both of them can be combined.

I choose smarty because I can take some limit control on giving themes to users or clients. Good cache administration, fast rendering, clean code over  php tags for printing messages or binding data.
<div><?php echo 'something'; ?></div>
vs
<div>{$something}</div>

Angular also has a different purpose.
Thank's for the answer, I will take a good and deep look into these two frameworks. Even though It's not what I'm looking for right now.


El domingo, 18 de noviembre de 2012 22:05:19 UTC-3, romel javier gomez herrera escribió:
hi, 

for cool views can use this framework http://twitter.github.com/bootstrap/  and cakephp views.

And check this to http://angularjs.org/

regards

2012/11/17 Martin Aguilar <martin...@gmail.com>
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 on implementing smarty or any other template system?

Thanks a lot

--
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...@googlegroups.com.
To unsubscribe from this group, send email to cake-php+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

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