View Issue Details

IDProjectCategoryView StatusLast Update
07545Feature requests[All Projects] Theme editorpublic2016-11-22 12:45
Reportertacman1123 Assigned ToLouisGac  
PrioritynormalSeverityfeature 
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary07545: Use a dedicated template engine
Description

Templating is great, but there's no reason that Limesurvey should have its own.

Additional Information

A possible solution: Use TWIG or Smarty in LS2
Both Twig (http://twig.sensiolabs.org/) and Smarty (http://www.smarty.net/) are dedicated template engines in PHP that can be used as the V part of a MVC framework. They're fast and support caching. Both use a decorator design pattern, much more flexible that the traditional set of "includes" that force the designer to add all sorts of "if" statements in a complex environment.

Tagstemplate, twig

Relationships

parent of 10074 closedLouisGac Please insert LS version and build# as classes in body 

Activities

ollehar

ollehar

2016-09-11 20:27

administrator   ~40750

Twig (sandboxed) or Mustache.

ollehar

ollehar

2016-09-11 20:55

administrator   ~40751

Manual page: https://manual.limesurvey.org/Template_engine

Issue History

Date Modified Username Field Change
2015-12-04 15:09 c_schmitz Relationship added parent of 10074
2015-12-11 14:40 c_schmitz Category Templates => Theme editor
2016-09-11 20:27 ollehar Assigned To => ollehar
2016-09-11 20:27 ollehar Status acknowledged => assigned
2016-09-11 20:27 ollehar Note Added: 40750
2016-09-11 20:55 ollehar Note Added: 40751
2016-11-15 10:01 DenisChenu Tag Attached: twig
2016-11-15 10:01 DenisChenu Tag Attached: template
2016-11-22 12:45 ollehar Assigned To ollehar => LouisGac