Meta Refresh 2014

On the construction of user interface on the web

A template system for your front-end code

Submitted by Aseem Agarwal (@agaase19) on Monday, 18 November 2013

Section: Full talk Technical level: Intermediate


The main agenda of the talk is to dig deep into using a template engine for your front end code.
The talk will cover many important things
1. Why do you need a template system ?
2. How it helps in increasing performance.?
3. The different template engines and how they are used?
4. How to design a system according to your needs.?


With the widespread use of MVC architecture and a shift of presentation logic from server to client, more emphasis is now given towards separating presentation markup from the actual logic. There are two direct benefits to such an approach
1. Code reusability: You are essentially creating patterns for the data being used repetitively.
2. A clear interface between the designers and the developers: Designers have a set of fixed and clearly mentioned conventions which are more easy to follow and are intuitive.
The main challenges while designing a template system is how to keep it separate from the data model logic and at the same time make it flexible to use for the designer.

The talk is going to cover those challenges by exploring example of companies like tumblr,shopify who are already using it since that is the best place to learn. Template engines like handlebars, liquid, mustache will be discussed in brief in terms of what important features they provide over others.

Speaker bio

Iam a senior software engineer at Genwi. At genwi we are developing hybrid apps (IOS, Android, HTML5) targeted towards publishing world where design (written in HTML,CSS,JS) is decoupled from the actual code to run the apps. As such we are regularly making optimisations to improve the structure of our front end code so that we can have a more smooth and quick turnaround of new apps.
Also, Iam a blogger and I blog regularly to keep my writing skills in good shape and an aspiring speaker towards sharing my thoughts,ideas and experiences.



  • Ranjit Sachin (@ranjitsachin) 5 years ago

    Great Aseem… Keep it up..

  • Gnanasuriyan A (@gnanasuriyan) 5 years ago


  • Jagan Palanivelu (@jaganpalanivelu) 5 years ago

    sounds interesting. looking forward to the presentation.

  • Jitendra Vyas (@jitendravyas) 5 years ago


  • Kiran Jonnalagadda (@jace) Reviewer 5 years ago

    I’m not sure anyone in 2014 still needs convincing about using templates. Ben Lupton’s proposal is far more promising.

  • Aseem Agarwal (@agaase19) Proposer 5 years ago (edited 5 years ago)

    Iam sure Lupton’s talk will be very exciting and looking forward to it; but this talk is more about discussing the many usecases out there where template systems are used and what we can learn from them. Iam not really trying to explain how template enginers came into being but more about how they are used now by different companies.

Login with Twitter or Google to leave a comment