What's Coming in Ember.js in 2014
emberjs.com
emberjs.com
Idk how much effort it would be to keep an eye on the project and submit an occasional pull request but doing that might be a good idea. Discourse is probably the first place where people go once they have read the docs and want to see Ember in action. And seeing these hacks might reflect badly on the framework even though it's not Ember's fault.
EMBERDART
Just kidding.
I laughed.This progress for Ember is really making me interested - I will probably do my next big app with Ember. I'm happy to see that they are moving away from requiring jQuery & swapping Handlebars to HTMLbars, which will help reduce Ember's JS required footprint, which is massive currently.
Nice integration with ES6 also sounds promising. One thing I fight with Angular so far is with asynchronous loading of modules/controllers/directives/services/etc. - while I love Angular, its not good for lazyloading.
I'm a bit wary since I have found that I don't like convention over configuration personally, but I am liking some of the high level decisions made recently to refine Ember.
Despite the imminent End of Life status of
Windows XP, we will continue supporting
Internet Explorer 8. We know many Ember.js
users still need to target enterprise and
education customers, who will be on IE8
for some time.
It'll be interesting to see if the Angular folks end up having to walk back their v1.3 removal of IE 8 support. Also, I'm very pleased to see the Ember folks adopting a more 'realistic' attitude.Edit: Also, where's Ember Data?
If you want to use Angular with IE8, use v1.2
Right, that's the problem.Dropping IE8 support + the "don't worry, it's free" Dart port make me very concerned about committing to Angular for anything I might be maintaining 2 to 5 years from now.
Anecdotally, I've noticed more established/larger tech companies (other than Google) using Ember, and more startups using Angular (with some exceptions like Amazon, which uses Angular). I think this is also a reason.
I'd like to hear about this too. When I tinkered with Ember (v1.0) Ember Data seems to cause most of my problems. I still like Ember but it made me wary and I'd probably avoid Ember Data if I went back to Ember.
Unfortunately, there is no JSON analog to SQL. Every existing backend forms their JSON differently, especially when you start modeling relationships. It would be like trying to build ActiveRecord if every team rolled their own query language for each new project.
We're trying to make this better in the long-term with projects like http://jsonapi.org, and https://github.com/rails-api/active_model_serializers for Rails. We'll get there someday.
In the meantime, we totally rebooted the Ember Data project to make it simple for people to customize how their apps consume JSON APIs. Most people we've talked to have been very happy about the fact that the defaults are simple to override now, and how much simpler the internals have become. We have a small amount of work left to do before we declare a 1.0 final; in the meantime, we've cut a 1.0 beta build that you can get from http://emberjs.com/builds.
I thoroughly tested all the available frameworks this summer and I was leaning heavily towards Ember until I tried actually using it with Ember-data and it was very ugly. I looked online and there was near universal condemnation of it from what I could find. Even Discourse didn't use it! I saw this link and thought "I bet they are announcing a completely new and working ember-data" and was surprised to see it wasn't even a topic in there.
Ember-data drove me directly into the arms of Angular and I haven't looked back. I am completely stunned it wasn't your number one priority a long time ago.
See http://emberjs.com/blog/2013/05/03/ember-data-progress-updat... for the blog post that did what you requested. We've probably fixed most of the issues you hit. You should give us another try!
I understand many people don't write data centric apps and they full well find they don't need Ember-data or need a very sophisticated Ember-data but try to do anything of substance data wise and it's a nightmare.
Tom Dale • 2 hours ago
Sorry everyone, I forgot to note that we have a separate blog post on Ember Data on the way. Don't fret! We've got many more exciting updates to share with you soon.
stefanpenner Mod mspisars • 2 hours ago
We have much planned for ember-data, it likely serves its own blog post :)
The need for improvements actually came out of that project, feel free to read pending issues for further context and rational.
Especially in the young ecosystem that is JavaScript, there are often areas where the existing out-of-the-box solutions just don't satisfy the use cases of other open source projects.
As Stef said, our first attempt was to build a grunt-based build solution, and it may still be possible to do so, but it wasn't as simple and drop-in as you might expect. When the work to build on top of existing solutions becomes significant, it's not longer an obvious and "severe case of NIH" to consider more home-rolling. Sometimes those home-rolled solutions even become useful for the broader ecosystem (for example, git).
I don't think that Ember should build a huge, monolithic build tool system tightly coupled to Ember. We're already looking at bringing together the best in breed of existing tools and working with people who are building other tooling components that satisfy some of our needs. We absolutely plan to use bower for package management, for instance.
NIH is a really easy accusation to throw out, but real life, especially with large open source projects and young ecosystems, is hardly that simple.
The reason for the proposed tight coupling within the ember-cli is to ensure we can provide a stable, performant development experience.
The documentation is nicely formatted but missing a lot of context. For such a large project, it needs more than API docs and the overviews are not especially useful.
Using it with Rails is a nightmare, you have to fiddle with ember rails and if you want to use anything but Handlebars it's a huge hassle (tags, what? I thought we'd collectively moved past that to things like Haml, Jade, Thin, etc. . .)
I love where it's headed and I like a lot of the ideas, but it's been pretty aggravating to get up and running.
The third party ecosystem also seems very sparse -- would pay money for the Ember equivalent of Two Scoops of Django, although I'll probably just try Angular instead of waiting to see if things get better. Seems to be vastly more resources for Angular and the rate of development seems much quicker.
For those of you struggling with Ember Data - this is your best friend - https://github.com/emberjs/data/blob/master/TRANSITION.md probably the best documentation on the matter. If you got Active Model Serializers, use the right serializer on Ember data side to get going.
IF you're using Ember Rails - be sure to check that it's pulling the latest Ember Data.
I like that there are more tutorials and demos coming out but seriously, we need some more non-trivial UI examples. Maybe after my project I'll write up a blog post if anyone here is interested.
Sidenote, this was really fun to read for some reason, like eating a bunch of little mini cookies.