@elseloop Lets use this ticket to keep an on going conversation about PHP template shift.
I know we are working on a Handlebars version to replace our PHP templates, but I thought it might be worth while to show how Jade template engine would work (branch: http://tinyurl.com/zlvqzjg).
Jade is widely used and actually comes with Node Express for application framework.
I built us a helpful form field mixin too: http://tinyurl.com/huaz8dl
Ultimately this leaves us working with cleaner template source: http://tinyurl.com/hwon6vg
Also, much maths can be done: http://tinyurl.com/ja3p2py
Code references = http://jade-lang.com/reference/
Jade gulp file configuration = http://jade-lang.com/api/
Gulp Module = https://www.npmjs.com/package/gulp-jade
And discuss...
@elseloop Lets use this ticket to keep an on going conversation about PHP template shift.
I know we are working on a Handlebars version to replace our PHP templates, but I thought it might be worth while to show how Jade template engine would work (branch: http://tinyurl.com/zlvqzjg).
Jade is widely used and actually comes with Node Express for application framework.
I built us a helpful form field mixin too: http://tinyurl.com/huaz8dl
Ultimately this leaves us working with cleaner template source: http://tinyurl.com/hwon6vg
Also, much maths can be done: http://tinyurl.com/ja3p2py
Code references = http://jade-lang.com/reference/
Jade gulp file configuration = http://jade-lang.com/api/
Gulp Module = https://www.npmjs.com/package/gulp-jade
And discuss...