Top products from r/angularjs
We found 11 product mentions on r/angularjs. We ranked the 8 resulting products by number of redditors who mentioned them. Here are the top 20.
1. Design Patterns: Elements of Reusable Object-Oriented Software
Sentiment score: 1
Number of reviews: 2
Great product!
2. Pro AngularJS (Expert's Voice in Web Development)
Sentiment score: 1
Number of reviews: 2
Apress
3. Clean Code: A Handbook of Agile Software Craftsmanship
Sentiment score: 0
Number of reviews: 1
Prentice Hall
I know it's temping to take the short cut and look for good examples of how to do it in angular, but I beg you to delay that as long as you can.
Instead, start by reading about design patterns in general. Once you understand the major design patterns, most of them appear regularly or can be replicated in language and framework you learn in the future. If you go into angular with this knowledge, you'll spot bad structure much more easily and know how to fix it. Then it's just a matter of looking at the APIs to see how to achieve those design patterns. You may still end up looking for good examples, but you'll have a much better foundation to work from and you'll probably understand the examples more easily and have some theories to help you do the things that aren't spelled out.
There are many resources for design patterns, including wikipedia. The design pattern bible is this book: http://amzn.com/0201633612
Hmm,
I read this book 3 times already and it helped me landing a decent job recently. You will love it.
https://www.amazon.com/Principles-Object-Oriented-JavaScript-Nicholas-Zakas/dp/1593275404
I am also subscribed to frontendmasters.com. Not as good though. Please share your links also.
Thanks
For your first question, have a read through of this: http://www.i-avington.com/Posts/Post/angularjs-using-a-service-to-communicate-between-two-different-controllers
Basically, you need to use a Service to hold onto the data as your app navigates between routes.
As for the directives question, I recommend snagging this book: http://www.amazon.com/AngularJS-Directives-Alex-Vanston/dp/1783280336
If you don't want to buy anything, here are a few tutorials that help with wrapping your brain around directives better:
http://amitgharat.wordpress.com/2013/06/08/the-hitchhikers-guide-to-the-directive/
http://thecodebarbarian.wordpress.com/2013/09/23/the-8020-guide-to-writing-angularjs-directives/
https://github.com/angular/angular.js/wiki/Understanding-Directives
I'm reading the book by Brad Green & Shyam Seshadri now, and its pretty good. Its brand new, and by a couple guys who worked on the project at Google.
I wrote it. It is the best book in the history of the universe.
If you want to see a preview, you can view it on Amazon.com: http://www.amazon.com/Developing-an-AngularJS-Edge-ebook/dp/B00CJLFF8K/
I am partial to this one, since it walks you through a pretty decent tutorial project:
http://www.amazon.com/Pro-AngularJS-Experts-Voice-Development/dp/1430264489
There’s really no meaningful content, it’s all just very superficial IMO. You just keep saying what a patten is, list a few at the end and then you don’t explain them or even give examples. Lastly, no relevance to AngularJS in the article, which is the sub you’re posting in.
As far as AngularJS goes, I would recommend most people start with John Papa’s styleguide.
https://github.com/johnpapa/angular-styleguide/blob/master/a1/README.md
As far as JavaScript design patterns go, I would recommend this book.
https://addyosmani.com/resources/essentialjsdesignpatterns/book/
For learning about design patterns and a larger set of them in general, you can’t beat the Gang of Four
https://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612
i like this book [pro angularJS](
http://www.amazon.com/Pro-AngularJS-Adam-Freeman/dp/1430264489/ref=sr_1_1?ie=UTF8&qid=1407378683&sr=8-1&keywords=pro+angularjs)
From the book: http://www.amazon.ca/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882