resthub / resthub-backbone-stack

RESThub Backbone.js stack
http://resthub.org/docs/backbone/
Other
56 stars 26 forks source link

Update to Backbone 0.9.10 #89

Closed sdeleuze closed 11 years ago

sdeleuze commented 11 years ago

http://backbonejs.org/#changelog

Backbone.ajax will be great for security mgmt We should review our guidelines to see if there is some change

Interesting point : "Backbone object now extends Events so that you can use it as a global event bus, if you like." so it may be a good idea to replace PubSub by using Backbone as a global event bus.

sdeleuze commented 11 years ago

As a dependency, Underscore should be upgraded to 1.4.3, o maybe we could use Lo-Dash (better browser compatibility + performances) http://lodash.com/

sdeleuze commented 11 years ago

Validation behaviour has changed, this may impact our Validation related extensions

sdeleuze commented 11 years ago

Another reason for using Backbone instead of jQuery custom event for event bus : http://jsperf.com/events-vs-events2/8

bclozel commented 11 years ago

Aaaand 0.9.10 is out, with a lot of changes that sound familiar... Previous changes are still there

sdeleuze commented 11 years ago

Have began to update to 0.9.10, including bb raltional and validation plugin update. @bmeurant Could you have a look to my fork https://github.com/sdeleuze/resthub-backbone-stack I have some validation tests not working anymore ...

Since Backbone now extends Backbone.Events, I have removed PubSub and used Backbone instead ...

sdeleuze commented 11 years ago

Also upgraded to jQuery 1.9.1, Bootstrap 2.3, Underscore 1.4.4 and RequireJS 2.1.4