0

What's a summary of the differences between EJS and backbone.js for building client-side javascript applications?

1
  • 1
    I am sorry for the close vote but this is not constructive. Simply visiting the respective homepages reveals the two have completely different goals and are not comparable. Commented May 16, 2012 at 22:32

1 Answer 1

2

EJS is a templating framework like JAML, JST, mustache, handlebars ... Backbone is far more than that, Backbone is able to use EJS templates to render its views and data but create an application framework around it. Backbone gives you the tools to create an event driven application, whereas all EJS does is take data and transpose it into html.

Backbone uses underscore.js' template functionality by default, which you can see here: http://documentcloud.github.com/underscore/#template . You can easily switch it out for any other templating engine.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.