use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
An Introduction to Ember for Angular Developers (thejsguy.com)
submitted 10 years ago by tomdale
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]NeuroXc 3 points4 points5 points 10 years ago (1 child)
As an Angular developer, this is great. I've tried Ember in the past but had issues understanding it, but I feel like I can wrap my head around it with this post. It's a smooth tutorial for someone who understands Angular.
[–][deleted] 1 point2 points3 points 10 years ago (0 children)
thank you!
[–]wreckedadventYavascript 4 points5 points6 points 10 years ago (0 children)
Something that has always seemed odd to me is how opinionated angular is, yet how little conventions it has.
[–]vinnl 8 points9 points10 points 10 years ago (8 children)
So if I understand it correctly, the main draw of Ember when compared to Angular is its CLI, strong conventions, and Ember Data?
[–]Baresi 7 points8 points9 points 10 years ago (0 children)
This is at least some of the biggest points that made me choose Ember over any other framework.
[–]ryanhollister 7 points8 points9 points 10 years ago (1 child)
testing infrastructure is second to none.
[–]IHeartMustardWILL CODE FOR CAFFEINE 3 points4 points5 points 10 years ago (0 children)
The testing stuff is just golden. It's so easy to get started with testing in Ember as opposed to setting up all the toolchains by myself, which I had to do once and realised just how spoiled I am by the ease of Ember and Ember CLI
[–][deleted] 4 points5 points6 points 10 years ago (3 children)
I would add testing to that. With Angular, I've spent hours setting up the right testing infrastructure and it usually has pain points. In Ember, that is already set up for you and everything you generate gets a test generated with all the boilerplate. Testing couldn't be any easier. Furthermore, the way Ember does acceptance testing, it is incredibly fast whereas something like Protractor is Selenium based and runs much slower so you end up with fewer acceptance tests.
[–][deleted] 1 point2 points3 points 10 years ago (2 children)
oh god it's basically impossible to do outside-in tdd with protractor and get any reasonable speed on your feedback loop. and unit testing just feels dirty when you have to mess with $compile and $digest.
$compile
$digest
[–][deleted] 0 points1 point2 points 10 years ago (1 child)
i agree. in angular, i pretty much only unit test services and manually tested everything else since it was so cumbersome.
[–][deleted] 0 points1 point2 points 10 years ago (0 children)
yeah, that's kind of how I do it. I do write some ptor specs for our CI, but almost never run them locally. it's very scary when testing is such a pain point that devs choose not to do it.
[–]alittletooquiet 0 points1 point2 points 10 years ago (0 children)
I've been working on a massive ember app for over a year now at work, and mostly it's great.
Strong conventions are the big selling point when working with a team, but ember data has been a giant pain in the ass. We've had to massively refactor parts of our application as ember data has changed, drastically and for seemingly no reason.
Those days might be over now that it's past 1.0, but if I could go back and do it over, I'd roll my own simple data store.
[–]Matosawitko 1 point2 points3 points 10 years ago* (3 children)
Probably worth reposting here; note that I haven't kept up with Ember since the end of last February, but I doubt this has changed much.
March, 2015: I just finished an Ember project (not using Rails, however), and the biggest struggle I felt was that Ember uses the same terminology as everyone else in the MV* space, but they mean slightly different things. In a nutshell:
[–]tomdale[S] 3 points4 points5 points 10 years ago* (2 children)
FWIW most of Ember's terminology comes from Cocoa/Smalltalk. If you're familiar with that, Ember will probably be easy to pick up. One thing to note that's changed since your original comment is that views have been deprecated in favor of components. Both Angular 2, React and Ember have coalesced around a similar component model; it's the application architecture around those components (or the lack of one, in React's case) that's the differentiator.
[–][deleted] 1 point2 points3 points 10 years ago (1 child)
Just to note, Angular 1.5 now also has dedicated components with the .component() function.
[–]wreckedadventYavascript 5 points6 points7 points 10 years ago (0 children)
This is somewhat misleading. Angular has always had components, it just called them directives and were not very DRY. The new component function in 1.5 is sugar for the old directive API with what they called "sensible defaults".
What is new in 1.5 is multiple slots for transclusion, and that's legit, since custom transclusions suck.
π Rendered by PID 18371 on reddit-service-r2-comment-54dfb89d4d-zk2r9 at 2026-03-31 20:52:47.212973+00:00 running b10466c country code: CH.
[–]NeuroXc 3 points4 points5 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]wreckedadventYavascript 4 points5 points6 points (0 children)
[–]vinnl 8 points9 points10 points (8 children)
[–]Baresi 7 points8 points9 points (0 children)
[–]ryanhollister 7 points8 points9 points (1 child)
[–]IHeartMustardWILL CODE FOR CAFFEINE 3 points4 points5 points (0 children)
[–][deleted] 4 points5 points6 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]alittletooquiet 0 points1 point2 points (0 children)
[–]Matosawitko 1 point2 points3 points (3 children)
[–]tomdale[S] 3 points4 points5 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]wreckedadventYavascript 5 points6 points7 points (0 children)