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

+18
Vote on this proposal
Status: Submitted
Section
Full talk

Technical level
Intermediate

Objective

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.?

Description

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.

Comments

  • 1
    [-] Ranjit Sachin (@ranjitsachin) 3 years ago

    Great Aseem... Keep it up..

  • 1
    [-] Gnanasuriyan A (@gnanasuriyan) 3 years ago

    Awesome

  • 1
    [-] Jagan Palanivelu (@jaganpalanivelu) 3 years ago

    sounds interesting. looking forward to the presentation.

  • 1
    [-] Jitendra Vyas (@jitendravyas) 3 years ago

    +1

  • 1
    [-] Kiran Jonnalagadda (@jace) 3 years ago

    I'm not sure anyone in 2014 still needs convincing about using templates. Ben Lupton's proposal is far more promising. https://funnel.hasgeek.com/metarefresh2014/1002-why-templating-engines-suck-a-history-lesson

  • 1
    [-] Aseem Agarwal (@agaase19) 3 years ago (edited 3 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