[Vtigercrm-developers] Smarty vs micro templating

Prasad prasad at vtiger.com
Fri Mar 29 03:16:32 GMT 2013


Adam,

Smarty has been comfortable to work with as its been used from several
years on the codebase.
Twig is an alternate engine I have been using lately for internal
applications.

Syntax and concepts vary across template engines, sticking with one would
help in staying focused.
I'm not sure its a good idea to mix the client-side AJAX on the
server-side.

Regards,
Prasad

*Connect with us on: *Twitter <http://twitter.com/vtigercrm> *I*
Facebook<http://www.facebook.com/pages/vtiger/226866697333578?sk=wall>
 *I* Blog <http://blog.vtiger.com/>* I*
Wiki<http://wiki.vtiger.com/index.php/Main_Page>
 *I *Forums  <http://forums.vtiger.com/>*I* Website <http://vtiger.com/>


On Thu, Mar 28, 2013 at 11:34 PM, Adam Heinz <amh at metricwise.net> wrote:

> What's the long term vision for Smarty template rendering?  It's not
> consistently used; there is lots of HTML generation inside member functions.
>
> I ask because I'm currently replacing the "Add Document" button with
> jQuery-File-Upload so that users can batch upload documents.  It uses a
> micro templating engine that refuses to work when loaded via AJAX, so I've
> been investigating replacement engines.  There are a number of engines that
> support both client side rendering in Javascript and server side rendering
> in PHP...
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130329/d755ec5e/attachment.html>


More information about the vtigercrm-developers mailing list