News for hackers. Stuff that matters.
Re:Ember.js 1.0 RC7 Released by netcraft on Wednesday August 14, 2013 @03:48PM (#6213772)
So ember and angular are similar correct? Are there any other contenders in that same space we should look at if we are considering js on front-ends?
Re:Ember.js 1.0 RC7 Released by k3n on Wednesday August 14, 2013 @04:01PM (#6213850)
Depends on what you want. Those are 2 of the more "opinionated" frameworks, in that they have a lot of fairly-strict rules that must be followed if you want things to go smoothly.

On the other hand, there's frameworks like Backbone (and derivatives, like Marionette), which are much less opinionated; fewer decisions are made for you, giving you more flexibility to do what you wish, how you wish.

The trade-offs are that for the lower-level frameworks (like Backbone), you'll probably end up writing more code (both custom and boilerplate), and there'll be less magic happening within the blackbox that is the framework. Some like this, some don't, but ultimately it depends on the task at-hand and your own stylistic preferences.

Re:Ember.js 1.0 RC7 Released by alanctkc on Wednesday August 14, 2013 @04:49PM (#6214148)
Ember.js is incredible. But, I highly recommend looking into the non-opinionated options out there as well.

I started with Ember.js building my app, but realized it exceeded the needs of the project and strongly imposed the design of the application. Since I had the time to invest up front, I switched to using non-opinionated libraries:

- Rivets.js for DOM data binding: http://rivetsjs.com/

- Director for URL routing: https://github.com/flatiron/director (also see Crossroads.js)

- Stapes.js for observable objects: http://hay.github.io/stapes/ (Stapes provided the foundation for my controllers and models)

I was able to borrow lots of design concepts I learned from Ember when re-implementing, and the total JS file size ended up being about half.

Re:Ember.js 1.0 RC7 Released by GMFlash on Wednesday August 14, 2013 @05:06PM (#6214266)
Rivets and Stapes are a couple of my favorites as well. I use them for making complex wizard-style forms.
Re:Ember.js 1.0 RC7 Released by seivan on Wednesday August 14, 2013 @03:53PM (#6213811)
I used to recommend Batman.js for an amazing API. But they sorta follow a six month release schedule. It's too slow for my taste. Move fast, break often.

In their case it's move slow, stay broken. I like Batman.js but I feel like it's really falling into the shadow because of slow release cycles. PRs take 3 months to get accepted, and etc.

Embers take of ArrayController and ObjectController fits my iOS code design pattern with controllers for index/collection and controllers for member/detail.

Re:Ember.js 1.0 RC7 Released by rubiquity on Wednesday August 14, 2013 @04:00PM (#6213839)
I'd just like to echo your comments about Batman.js. It'd be nice to see Shopify put a little more man power behind that framework. Harry does the best he can do but he's only one person.
Re:Ember.js 1.0 RC7 Released by rich_harris on Friday August 16, 2013 @05:57AM (#6223071)
Shameless self-promotion: http://ractivejs.org