By Brad Green, Shyam Seshadri
Publisher: O’Reilly Media
Released: April 2013
I approached this book knowing that there was a new world of web development out there that I knew little about. I decided to start with the AngularJS framework and I’m glad I did. Expecting a simple framework that was going to make things easy for me I found myself on a journey that took me to the command line (node.js, npm, yeoman, grunt, and bower), to flexible DOM manipulation with directives, and to modules, services, promises, controllers, and scope.
This new world of web apps is not trivial. In this book real software terms are mentioned: Model-View-Controller (‘the model is the truth’), factories, dependency injection, the Law of Demeter, and testing (karma and jasmine). Software Engineering meets traditional web practice – at last.
So don’t expect to read this book and be immediately productive. If you are new to web apps then you have some ground to make up – and this book will help you. As you would expect it goes through the fundamentals of angular and does this well. A criticism: some of the explanations e.g. node and npm are not as clear as they could be. (I had to do a bit of digging to get the web server running for the sample app in chapter 4, but it was worth it and I now know more about webs apps and node).
Perhaps the book’s biggest strength is what others have concluded is its biggest weakness. Others have voiced criticism because of the initial emphasis on project management, on setting up the environment, and on testing – but this is serious development, and it is therefore worth doing things properly.
If you’re new to this whole area of webApps then I’d suggest combining this book with the Angular documentation and the growing list of resources that are appearing on the web. This book will help to get you started.
Disclosure: I’m writing this post as part of O’Reilly’s blogger review program.