Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ember.js adds to much boilerplate to the application, I like simplicity, that is why I like Angular.js more.


Please don't turn this into an angular v. ember thread. They are both excellent frameworks.


I'm just wondering what is the appealing of Ember.js, I need some enlightenment.


Ember uses some of the same philosophies as rails. People who like rails seem to be attracted to ember.

That said, I think there's room for both. We currently have people working in how many languages and how many libraries for each language, just for web apps?


ember.js provides an completeish set of opinions on how client side app should be built.


The appeal is the same as angular and other frameworks with bound data. I choose ember because of its focus on urls. Watch the last video, and if that doesn't look interesting to you then ember is not for you :)

http://ember101.com/videos/004-master-detail-router-outlet-l...


Wow that video would have made my life a lot easier 2 weeks back when I was learning the new router. I didn't know about linkTo either, very good to know about. Something that I'm having real trouble with is working out how to create bindings to parameters in the url e.g. I want a select to be bound to a url parameter(in the path, I'm aware query params aren't available at the moment). I ran into trouble because when the select changes and a route is entered into it then trys to update the select which has just been changed, triggering the transition again... Any pointers for how I might do this (links or vague ideas would be very welcome :) ).


ember.js source has a LinkView that can tell if the current link is to the current route. You could create a SelectView and maybe borrow some of that to do the same.


Not to add fuel to the fire but Ember is much easier on the eyes in my opinion. I have no doubt that Angular is a powerful, flexible, wonderful framework, but wow it just looks ugly. My two cents.


In other words,it make more sense to you, that is the kind of testimony I need to read, Angular.js is simple, I like that, but not always simplicity makes sense, if Ember.js adds more code but it makes more sense then I see your point.


To me AngularJS is beatiful. Just my 2 cents.


I am not sure what you mean by boilerplate... if you are referring to the router. It is definitely one of the most useful feature in ember




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: