Live data from Hacker News

Why we're moving away from Ember.js

errplane.com

51–60 of 66 posts

Re: Why we're moving away from Ember.js

#51
Nice informative article. People are always trying to go to the extreme with javascript and they should realize that its good to practice application development in moderation. Trying to heavily front-load an application almost always get you in the end, and its just taking a step backwards in application development. And especially so when dealing browser compatibility and JS.

Balance the front end and back end application development people!

Re: Why we're moving away from Ember.js

#52
Ember.js is as close to being finished as it can. We have a really large app under development, using Ember.js. It works so well. Better than anything I've ever used (and I've made single page Javascript apps since way before it was cool). Development is fast and fun. Often I sit back with a feeling like "Was that all that I had to do to make this work??". The performance is good, if not great. Ember cleans up everything it creates itself, which makes it very simple to make advanced apps that are easy on browser memory consumption.

It seems like Ember Data (and documentation, which is an easy problem to solve) is currently the only achilles heel of the whole Ember. But PLEASE don't judge Ember.js based on a pre-alpha version of an add-on library. There is no sense in that. Ember Data will receive its glory once it's done. Anybody who's every implemented a data persistence layer can tell you that it's not a trivial problem to solve.

Conclusion: Ember.js IS awesome. I love it. A lot of people love it. If you don't like it, then fine. Don't hate on it for no reason. I don't like cauliflower (I hate it), but I don't hate on people who eat it. I admire that they want to be healthy.

Re: Why we're moving away from Ember.js

#53

Ember being impressive but not yet ready for prime time seems to be a common refrain on HN these days, and one of the big gaps holding Ember back appears to be Ember.Data. I have no doubt the team is working hard to improve Ember.Data and move it into "ready for prime time" territory, but why move Ember-proper to a "1.0" release without Ember.Data also being ready? Every major competitor to Ember (including its prede…

> It was a mistake to "release" Ember itself as a 1.0 before Ember.Data was ready.

I would only agree with that if ember.js were useless without ember-data or a similar data-persistence layer. I don't think it would be wise to delay the release of Ember 1.0 RC simply because ember-data is still in alpha. Not everyone is going to be using ember-data, and releasing ember without it lets them solve the data persistence on their own.

Re: Why we're moving away from Ember.js

#54

Earlier quoted context omitted.

>Other frameworks are not trying to solve data persistence and loading beyond delegating to HTTP I don't think that's true, given how Backbone and Angular are designed.

I'm not an expert in JS frameworks, but my understanding is that backbone converts 'save this model' to '{PUT,PATCH} /models/:id', and then makes the request. Isn't that just delegating to HTTP?

I'm not sure how Ember Data is different beyond providing a smarter interface to collections and models than BackBone.

Re: Why we're moving away from Ember.js

#55
post #28

Earlier quoted context omitted.

> Every major competitor to Ember (including its predecessor, SproutCore) has a data layer that does more than pass the buck off to jQuery SproutCore had a robust data layer, but 2013-era frameworks mostly expose HTTP directly as the abstraction to use, either via $.ajax or a framework-specific HTTP library. Other frameworks are not trying to solve data persistence and loading beyond delegating to HTTP, but Ember's s…

>Other frameworks are not trying to solve data persistence and loading beyond delegating to HTTP I don't think that's true, given how Backbone and Angular are designed.

Have you actually read http://docs.angularjs.org/api/ng.$http or https://github.com/documentcloud/backbone/blob/master/backbo... ?

Re: Why we're moving away from Ember.js

#56

I wish there was more information about "where" they're going now. They imply that it's not Ember that's broken rather Ember isn't done and the problems are hard that Ember is trying to solve. So I'd ask - why not stay with Ember and help solve the hard problems? Or did you find another technology that "solved" it?

Those are both good questions. Currently, we're a team of two trying to maintain and evolve a production application. Believe me, we'd both love to have spent more time pushing the ball forward on Ember Data, but it just wasn't feasible. Besides, it's already on a maturation path that will resolve all of the issues before long - it just needs a little more time.

In the meantime, we're just keeping it simple and making magic with D3 and plain jQuery. We pushed all of the CRUD back to Rails, which is probably where it should have been in the first place.

Regardless, it was a great learning experience. I still highly recommend giving Ember a shot on something that's not on a tight deadline to get deployed to production.

Re: Why we're moving away from Ember.js

#57
post #55

Earlier quoted context omitted.

>Other frameworks are not trying to solve data persistence and loading beyond delegating to HTTP I don't think that's true, given how Backbone and Angular are designed.

Have you actually read http://docs.angularjs.org/api/ng.$http or https://github.com/documentcloud/backbone/blob/master/backbo... ?

Yes, I think we just disagree on how different and special Ember Data is.

Re: Why we're moving away from Ember.js

#58

Ember being impressive but not yet ready for prime time seems to be a common refrain on HN these days, and one of the big gaps holding Ember back appears to be Ember.Data. I have no doubt the team is working hard to improve Ember.Data and move it into "ready for prime time" territory, but why move Ember-proper to a "1.0" release without Ember.Data also being ready? Every major competitor to Ember (including its prede…

> It was a mistake to "release" Ember itself as a 1.0 before Ember.Data was ready. Ember 1.0 was released? Looks like only an rc-1 so far to me. Also, Ember-data is a distinct project from Ember itself, no? It's in a different repo ( https://github.com/emberjs/data ) and states "This is definitely alpha-quality. The basics work, but there are for sure edge cases that are not yet handled."

Fine, you got me on "release" vs "release candidate." Still, it is clear that the plan is to release Ember as a 1.0 without Ember.Data (it would be very strange to add something of Ember.Data's scope into a release but not have it in the RC).

I'm aware that Ember.Data is considered separate. The entire point of my post was that I believe this is a mistake.

Re: Why we're moving away from Ember.js

#59

Ember being impressive but not yet ready for prime time seems to be a common refrain on HN these days, and one of the big gaps holding Ember back appears to be Ember.Data. I have no doubt the team is working hard to improve Ember.Data and move it into "ready for prime time" territory, but why move Ember-proper to a "1.0" release without Ember.Data also being ready? Every major competitor to Ember (including its prede…

> It was a mistake to "release" Ember itself as a 1.0 before Ember.Data was ready. I would only agree with that if ember.js were useless without ember-data or a similar data-persistence layer. I don't think it would be wise to delay the release of Ember 1.0 RC simply because ember-data is still in alpha. Not everyone is going to be using ember-data, and releasing ember without it lets them solve the data persistence…

Unfortunately how separate Ember.Data is depends on which documentation you read. In general most of the official documentation assumes you're using Ember.Data. That makes it feel missing, not separate.

Re: Why we're moving away from Ember.js

#60

Earlier quoted context omitted.

I'm not an expert in JS frameworks, but my understanding is that backbone converts 'save this model' to '{PUT,PATCH} /models/:id', and then makes the request. Isn't that just delegating to HTTP?

I'm not sure how Ember Data is different beyond providing a smarter interface to collections and models than BackBone.

Hence 'not ready yet.'
Post reply on HN