Why we're moving away from Ember.js
11–20 of 66 posts
Re: Why we're moving away from Ember.js
#12His complaints about the router also plague Backbone apps - how do you cleanly deal with users reaching the route through your app, and users navigating to a route directly? I have had some luck with Backbone.routes ( http://siong1987.com/posts/introducting-backbone-routes/ ) but it is still not quite where I want it to be.
Re: Why we're moving away from Ember.js
#13Re: Why we're moving away from Ember.js
#14To be clear, I was a huge Ember skeptic last year. I've lived through the Microsoft WPF and Silverlight attempts to bring bindings and all that goodness to developers before, and then watch them make it so complex and poorly documented that no one used it, and they died except on banking LOB apps. I worried that the same would be true of Ember.
So I started to give it a crack of the whip, and really use it to build an ambitious (at least for me) product. Yes, it's been tough, and yes at the moment there is an almost Wittgenstein-esque 'throw the ladder away once you have climbed it', but I've never felt so productive with a product that looks and works really well. My conversion came when I finally had something click, was able to start removing bunches of code and lean on Ember to co-ordinate almost everything.
I recently had a run-in with Ember Data that left me really frustrated, and now (today even) I'm re-learning and checking my assumptions and to be honest, I think the problem was my understanding and not Ember Data. That said, it is clearly marked DNUIP, so if you do use it in production, you should be prepared for a bumpy road.
Re: Why we're moving away from Ember.js
#15Entering a route through a user hitting it directly vs. transitioning within the app should not be a problem with Ember.js, everything seems to just work for me at least. I suspect this is an education thing more than anything else.
Re: Why we're moving away from Ember.js
#16Before finding Ember, I created "islands of richness" with Backbone.js. What was frustrating for me was my own lack of software engineering skills. I would design these hard to maintain apps that were just an absolute mess at the end. Like Rails, Ember opened this world of application development that has been such an absolute thrill to get into. It teaches me good practices, you instantly feel when you're doing something wrong.
I have been working with Ember every day for the past two months, and yea there are times that I get lost and it's frustrating, like struggling with complex forms in Rails for the first time, but you eventually move past it and the feeling is gratifying. I'm not the best dev in the world, but Ember has shifted my vision on what I can create completely, and I am really excited for the first time in a while.
For me, Ember isn't just a framework, I find myself using the Ember runtime everywhere. Where I used to take Backbone models and collections, I know take Ember core - even in a Node environment.
I really appreciate what Tom and Yehuda have done as well as the rest of the community. It has me excited to create in this new way I had not been able to before.
Re: Why we're moving away from Ember.js
#17It's a bad idea if you go into ember expecting it to be a solution to all of the javascript development hurdles. You should expect to fight the framework from time to time. You should expect a learning curve.
The solution is to be a patient developer, become familiar with the ember code base and it's concepts, keep up to date on the community happenings.
We are more than ecstatic about the results of our nearly complete product and I am positive having used any other framework would have made our development more difficult, and without a framework would have taken multitudes longer.
Re: Why we're moving away from Ember.js
#18$.get("/user/eviltrout.json").then(function(json) { Discourse.User.create(json) });
I'll probably end up writing up an AJAX tutorial because I think a lot of people are underestimating just how simple it is.
Re: Why we're moving away from Ember.js
#19Discourse doesn't use ember data and it has been an absolute pleasure to code in EmberJS. I think a lot of people don't realize just how simple it is to create an Ember object from an AJAX call and start using it. A finder is usually as simple as: $.get("/user/eviltrout.json").then(function(json) { Discourse.User.create(json) }); I'll probably end up writing up an AJAX tutorial because I think a lot of people are und…
Re: Why we're moving away from Ember.js
#20We all expect to find a Rails/Django equivalent for JavaScript apps. There's nothing like that. All of the JavaScript frameworks are in their infancy. It doesn't mean we can't use them yet. It's just that they are not mature enough to be easy to use.