Ehsan Ghanbari

Experience, DotNet, Solutions

Ember Data

Ember.Js is another popular web application framework to build single page application based on MVC pattern. There is an interesting feature in ember which lets you handle integrated templates to update automatically when the underlying data changes by ensuring your HTML. Ember Data is just a data persistence library such as JSON API that maps client-side models to server-side data. You know, it provides something like ORM in client side.

Ember Data provides two adaptors: RESTAdapter and FixtureAdapterThe RESTAdapter is configured for use by default Which provides a fully RESTful mechanism for your persistence layer. FixtureAdapter allows you to switch to another adapter when your API is ready to consume without any changes to your application code.

Using Ember Data makes it easy to retrieve records from a server, cache them for performance, save updates back to the server, and create new records on the client. But you don’t need to use ember data when you are using emberJS. Ember Data is also designed to work with streaming APIs like socket.io, Firebase, or WebSockets.

 

 

 

About Me

Ehsan Ghanbari

Hi! my name is Ehsan. I'm a developer, passionate technologist, and fan of clean code. I'm interested in enterprise and large-scale applications architecture and design patterns and I'm spending a lot of my time on architecture subject. Since 2008, I've been as a developer for companies and organizations and I've been focusing on Microsoft ecosystem all the time. During the&nb Read More

Post Tags
Pending Blog Posts
Strategic design
Factory Pattern
time out pattern in ajax
Selectors in Jquery
using Log4net in asp.net MVC4
How to use PagedList In asp.net MVC
Redis as a cache server
Domain driven design VS model driven architecture
What's the DDD-lite?
Multiple submit buttons in asp.net MVC
comments powered by Disqus