ember my ember
285 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Scooped by Nicolas Maubourguet
Scoop.it!

Pagination with Ember

Nicolas Maubourguet's insight:

Associated JSfiddle

http://jsbin.com/ijoqom/6/embed?live

 

Worsth the shot to do a mixin for controllers.

more...
No comment yet.
Scooped by Nicolas Maubourguet
Scoop.it!

The willSetProperty gotcha in Ember-Data: Understanding the state machine | Cory Forsyth

The willSetProperty gotcha in Ember-Data: Understanding the state machine | Cory Forsyth | ember my ember | Scoop.it
Nicolas Maubourguet's insight:

A nice way of treating inFlight exception with ember data !

Will need to add a user feedback to correctly and nicely handle the exception, but bases are there to provide full support.

more...
No comment yet.
Rescooped by Nicolas Maubourguet from Ember.js Reporter
Scoop.it!

emberjs mixin - BigBinary Blog

emberjs has mixin feature which allows code reuse and keep code modular.
It also support _super() method.

Via Saleh Souzanchi
more...
No comment yet.
Scooped by Nicolas Maubourguet
Scoop.it!

Ember.js Initializers - nerdyworm

Ember.js Initializers - nerdyworm | ember my ember | Scoop.it
Ember initializers in a nutshell: Set up application state
Run tasks before App.ready
Pre load data Basic Initializers initializers/basic_initializer …
more...
No comment yet.
Rescooped by Nicolas Maubourguet from JavaScript for Line of Business Applications
Scoop.it!

Promise-Based Validation

Promise-Based Validation | ember my ember | Scoop.it

The concept of “Promises” has changed the way we write asynchronous JavaScript. Over the past year, many frameworks have incorporated some form of the Promise pattern to make asynchronous code easier to write, read and maintain. For example, jQuery added $.Deferred(), and NodeJS has the Q and jspromisemodules that work on both client and server. Client-side MVC frameworks, such as EmberJS and AngularJS, also implement their own versions of Promises.

 

But it doesn’t have to stop there: we can rethink older solutions and apply Promises to them. In this article, we’ll do just that: validate a form using the Promise pattern to expose a super simple API.


Via Jan Hesse
Nicolas Maubourguet's insight:

A nice first intro, but careful, these are not Promise/A+ but still, some perspective for form validation are still making a point.

more...
No comment yet.
Rescooped by Nicolas Maubourguet from Ember.js Reporter
Scoop.it!

Ember.js Initializers - nerdyworm

Ember.js Initializers - nerdyworm | ember my ember | Scoop.it
Ember initializers in a nutshell: Set up application state
Run tasks before App.ready
Pre load data Basic Initializers initializers/basic_initializer …

Via Saleh Souzanchi
more...
No comment yet.