Getting Into Ember.js – Part 5

By Rey Bango In part 3 of my Ember series, I showed you how you can interact with data using Ember’s Ember.Object main base class to create objects that define the methods and properties that act as a wrapper for your data. Here’s an example:   App.Item = Ember.Object.extend(); App.Item.reopenClass({ all: function() { return $.getJSON(‘http://api.ihackernews.com/page?format=jsonp&callback=?’).then(function(response) […]

Repository Design

The Repository Design Pattern

By Patkos Csaba The Repository Design Pattern, defined by Eric Evens in his Domain Driven Design book, is one of the most useful and most widely applicable design patterns ever invented. Any application has to work with persistence and with some kind of list of items. These can be users, products, networks, disks, or whatever […]