Over 90 hands-on recipes to architect performant applications and implement best practices in AngularJS About The Book - Understand how to design and organize your AngularJS application to make it efficient, performant, and scaleable
- Discover patterns and strategies that will give your insights into the best ways to construct production AngularJS applications
- Get the most out of AngularJS by gaining exposure to real-world examples
- Dive right in to all the newest parts of the framework, including the AngularJS 1.3 release
Who This Book Is For This is not your grandmother's JavaScript cookbook. If you have a foundational understanding of the framework and want to expand your AngularJS skillset with strategies and methodologies for building performant and scaleable production applications, this is the book for you. This book assumes you have an understanding of the basics of AngularJS, and experience with JavaScript.
In Detail Packed with easy-to-follow recipes, this practical guide will show you how to unleash the full might of the AngularJS framework. Skip straight to practical solutions and quick, functional answers to your problems without hand-holding or slogging through the basics. Avoid antipatterns and pitfalls, and squeeze the maximum amount out of the most powerful parts of the framework, from creating promise-driven applications to building an extensible event bus. Throughout, take advantage of a clear problem-solving approach that offers code samples and explanations of components you should be using in your production applications.
When I set out to write this book, I made sure that I was always creating content with the following goals in mind:
Cover the most important, challenging, and neglected topics in AngularJS.Nobody wants or needs a book with the same old junk. This book features chapters on AngularJS performance, promises, testing, animations, advanced directive patterns, and the newest features from the latest release.
Demonstrations should be built around the real software engineering world.Contrived examples aren't helping anybody. Say goodbye to "Hello, World!". Each recipe in this book stems from concrete scenarios and hurdles that AngularJS developers will likely encounter while working with the framework.
Optimize for the learning mind.Uncommon or unobvious syntax, confusing names, and complicated examples only serve to confuse the reader. Recipe syntax is uncomplicated and consistent. The reader will never encounter code where the context is ambiguous, or where hand-wavy assumptions are expected to be made without being explicitly stated.
Leave no stone unturned, and explain everything.Never allow the reader to finish an example frustrated or confused. The book's recipes are designed to be consistent and congruent. Recipes are able to be consumed independently, so every recipe will assume the reader needs every relevant component explained.
Make the path to actual code execution and playing around with examples as easy as possible.Learning does not truly begin until the reader can use the code outside of the book's pages. Every single example is tied to a functioning JSFiddle with links right in the book. There's no need to download code from the publisher website or set up an environment, you can visit the URL at the end of the recipe and start manipulating working code immediately.