by throwa on 8/4/13, 12:05 AM with 75 comments
by brianwillis on 8/4/13, 1:32 AM
My forefathers fought the great war of emacs and vi in the 1980s. Those were dark times, which many still refuse to speak of. When I think of the horrifying atrocities committed by both sides, the snarky BBS posts, the bickering over usenet, it shudders the mind.
My generation got off relatively lightly. There were a handful of skirmishes during the browser wars which were difficult on the civilian population. Tables being used for layout, limited CSS support, that sort of thing. While many a fine web developer met their end at the hands of Internet Explorer 6, a lot of us (some would say, the less patriotic) chose to ride out the war as desktop application developers, avoiding the draft entirely.
Today I see many of the young and impressionable being manipulated in an ardent search for desperate glory. They get roped in by blog posts, conference talks, friends and coworkers who are too young to remember the atrocities of old. I fear this generation's war will soon be upon us. It will not take place in mobile as many had expected (the Android/iOS battle was a classic case of corporate manipulation), but instead will be fought in Java Script.
by jcampbell1 on 8/4/13, 2:29 AM
There are a lot of differences, but if I had to pick, it would depend on the application. If I was building something with complex front-end requirements where the vocabulary was mostly tabs/panes/switches/filter-dropdowns/etc., then I would go with Angular. If I were building something where the data domain was more important, e.g. the vocabulary is more about authors/titles/posts/tags/etc. then I'd go with Ember.
With Ember, persisting a complex model to a backend is a priority for the framework developers. With Angular, it is left as an exercise for the reader.
With Angular, extending the DOM to create new web components is a central focus, but with Ember, it is totally an after thought. Ember Components are a joke compared to Angular directives...
I was about to link to the Ember component source code showing how pointless they are. (A week ago they were useless) The devs have been furiously fixing Ember Components to have the power of Angular JS directives. I am so happy to see the good parts of Anular making their way into Ember. For those that hate Angular terminology, it appears 'isolate' has made its way to Ember. I hope 'transclusion' does as well. Need more than one way to {{yield}}
by gunn on 8/4/13, 12:49 AM
[blocked] The page at https://kerricklong.com/articles/why-ember-js-rocks.html ran insecure content from http://jsfiddle.net/Kerrick/Vd6eF/embedded/result,html.
Unfortunately kerricklong.com won't serve http, nor jsfiddle.net https, so I don't see an easy fix.
by general_failure on 8/4/13, 7:38 AM
For example, say, github.com. Where in that website would I use data bindings? Or say gmail for that matter. The idea of bindings is not alien to me but I just fail to appreciate why bindings are useful for most websites.
(I do understand backbone.js but I just feel I can write what I want in a observer/listener pattern in 20 mins instead of bothering to learn all intricacies of a framework)
by gklitt on 8/4/13, 1:50 AM
I'm currently using AngularJS for a project, and loving it. Everything in this blog post looked like something with a close equivalent in Angular (data binding => data binding, components => directives, Handlebars Helpers => filters), so I didn't see any compelling reason to try Ember.
It is great to see competition in this space though! It seems that full-featured JS frameworks are progressing rapidly because of it.
by mintplant on 8/4/13, 12:47 AM
by rickharrison on 8/4/13, 12:50 AM
by tantalor on 8/4/13, 1:07 AM
by rogerthis on 8/4/13, 1:38 AM
by Nitramp on 8/4/13, 2:54 PM
App = Ember.Application.create();
App.ApplicationController = Ember.Controller.extend({
name: '',
greeting: function() {
if (this.name.length < 1) return '';
return 'Hello, ' + this.name;
}.property('name')
});
You write this to use a property 'greeting' in a view that's calculated from a different property 'name'. This works for one model, but imagine you have dependencies across different model objects, nested properties, and so forth. Seems like it'll get complicated pretty quickly.In AngularJS, that's just (in the template, or a controller function, or where ever):
{{name + greeting}}
AngularJS uses dirty checking, which makes it trivial to implement complicated interdependencies between various fields. Any plain JavaScript code will work, including model objects that were not written as Ember code.This comes at the cost of the dirty-checking loop (checking each expression in a tight loop on every user 'event'), but in my experience that's at least not a problem for normal desktop web applications.
by capkutay on 8/4/13, 1:28 AM
by julianpye on 8/4/13, 2:56 AM
by sanarothe on 8/4/13, 2:48 AM
by halis on 8/4/13, 2:05 PM
by kumarharsh on 8/4/13, 10:46 AM
http://discuss.emberjs.com/t/getting-started-with-ember-js-i...
by itsbits on 8/4/13, 9:47 AM
by kenster07 on 8/4/13, 1:50 AM
by ekanna on 8/4/13, 1:04 PM
by overgard on 8/4/13, 4:21 AM
by mrinterweb on 8/4/13, 5:04 AM
by rogerthis on 8/4/13, 1:36 AM
by octo_t on 8/4/13, 12:48 AM