Ember templating engine options


#1

Hello,

I am new to using ember.js and would like to use my own templating engine within ember. Is this possible? From what I can see this is not easily done but would like verification from people that have been using ember longer then I have.

Austin


#2

Handlebars is a hard dependency for Ember I’m afraid.


#3

It’s also a great library, worth getting to know well :smiley:


#4

There is Also Emblem.js, you can a video of it at embercasts.com


#5

Handlebars is great but hopefully the code base can be abstracted someday to the point where Ember could support any templating engine with the appropriate interfaces.


#6

Actually, Ember can support just about any templating engine. However, the reality is that there is a lot of useful stuff that you get from Handlebars that would have to be reimplemented in another engine. Take a look at the contents of https://github.com/emberjs/ember.js/tree/master/packages/ember-handlebars to get an idea of what another solution would need.