Monday, January 20, 2014

Re: Will combining cakephp with web templates like Smarty or Twig make front-end coding easier?

It helps to some extent, specially keeping the views safe from XSS attacks. Some would argue that it does not make your views more readable, I think it is a matter of preference. Here you have a CakePHP plugin for working with Twig:

https://github.com/WyriHaximus/TwigView

On Monday, January 20, 2014 4:32:03 PM UTC+1, Sam wrote:
Cakephp is good for back-end work. Web templates like Smarty or Twig is used for front-end work. Will combining cakephp with web templates like Smarty or Twig make front-end coding easier? Is this advisable and has it been done before?

--
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 unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: