Ember.Js, Framework for creating web application

Technology
Written by AnkitaKochar

Ember.js is associate ASCII text file java script internet framework (i.e it is open source, free javascript client-side framework), supported the model-view-view-model (MVVM) pattern. It permits developers to create ascendable single-page internet applications by incorporating common idioms and best practices into the framework.

Why to use Ember.js

1.Ember.js is an open source JavaScript framework under (MIT license) and cross platform.

2.It provides the new binding syntax using HTML bars template engine which is superset of handler bars templating engine.

3.It provides the Glimmer rendering engine to extend the rendering speed.

4.It provides instruction Interface utility that integrates fragment patterns into development method and focuses simply on developer productivity.

5.It supports the information binding to form the link between two properties and once one property changes, the opposite property can get update to the new price.

Ember consists of 5 key concepts:-

Routes:-

In Ember, the state of associate degree application is portrayed by a URL. Every URL features a corresponding route object that controls what’s visible to the user.

Models:-

Every route has associate degree associated model, containing the information related to the present state of the applying. While one will use jQuery to load JSON objects from a server and use those objects as models, most applications use a model library like fragment knowledge to handle this.

Templates:-

Templates are accustomed build the application’s mark-up language and are written with the HTMLBars templating language.

Components:-

A part may be a custom mark-up language tag.

Behaviour is enforced exploitation JavaScript and its looks are outlined exploitation HTML Bars templates. Parts “own” their knowledge.

They will even be nested and may communicate with their parent parts through actions (events).

Alternative part libraries like compound may be used with fragment.

Services:-

Services are simply singleton objects to carry lasting knowledge like user sessions.

Ember conjointly provides dependency injection, declarative two-way knowledge binding, computed properties, and automatically-updating templates.

Features:-

1.Ember.js is employed for making reusable and reparable JavaScript net applications.

2.Ember.js has hypertext mark-up language and CSS at the core of the event model.

3.It provides the instance initializers.

4.The routes area unit core options of the coal.js that area unit used for managing the URL’s.

5.Ember.js provides coal Inspector tool for debugging coal applications.

6.Ember.js uses templates that facilitate to mechanically update the model, if contents of applications get amendment.

    About the author

    AnkitaKochar

    Ankita Kochar is a readerspoint Nashik correspondent

    Leave a Comment