Ember Js – Introduction

Introduction to Ember:

According to the creators of the framework, Ember.js is “a framework for creating ambitious web applications”. What exactly do they mean? Also, with the many  JavaScript frameworks that we have to choose from these days, why might I choose Ember? In this post, I’ll introduce Ember.js and some of the core concepts that backed its development.

I feel like, ember is a JavaScript Model-View-Controller framework that enables you to write rich internet applications with a desktop-like feel or a single page application.

ember

Basic Concepts
Routes
The router is a core concept of Ember, emphasizing the importance of the URL in managing application state.
Models
Every route has an associated model, containing the data associated with the current state of the application. While one can use jQuery to load JSON objects from a server and use those objects as models, most applications use a model library such as Ember Data to handle this.
Controllers
Controllers are used to decorate models with display logic. A controller typically inherits from ObjectController if the template is associated with a single model record and ArrayController if the template is associated with a list of records.
Templates
Templates are written with the Handlebars templating language to describe the user interface. This handle bars can generate html tags with the related content automatically by using expressions with helpers.
Views
Views are used to add sophisticated handling of user events, custom graphics not made with CSS, JavaScript animations, or reusable behavior to a template.
Components
Components are a specialized view for creating custom elements that can be easily reused in templates.

Now, i guess you might be running with a thought like why i have to choose this when i have lots of JS frameworks like angularjs,backbone js etc. Right? me too got the same doubt..Pls refer below links for the better understanding..

http://eviltrout.com/2013/06/15/ember-vs-angular.html

http://blog.codeschool.com/post/85819292538/angular-backbone-or-ember-which-is-best-for-your

Where to learn??

My suggestion, better do follow with http://emberjs.com/guides/

Reason: I have personally faced lot of trouble while learning and implementing the basics with some other sources like videos, blogs etc. I can define the trouble-the only thing that makes you bother is version management in ember. This ember is revising versions with new API’s regularly where the other internet sources wont help you to make build of application as those are outdated. Hence request you to go through only ember js documentation to learn and implement as i did :).

For more about core concepts documentation and examples pls check the other posts. Thanks

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s