16.07.2017 Views

AngularJS Essentials

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Preface<br />

Only 2 months later, I launched my first web application based entirely on<br />

<strong>AngularJS</strong>, and honestly, I cannot imagine writing this same application using<br />

another kind of technology in this short period of time. I was so excited about it that I<br />

wrote an article on using <strong>AngularJS</strong> with Spring MVC and Hibernate for a magazine<br />

called Java Magazine. After that, I created an <strong>AngularJS</strong> training program that already<br />

has more than 200 developers who enrolled last year.<br />

This book, <strong>AngularJS</strong> <strong>Essentials</strong>, is the result of that experience. This is a very practical<br />

guide, filled with many step-by-step examples that will lead you through the best<br />

practices of this amazing framework.<br />

We are going to start, after a brief introduction, by learning how to create reusable<br />

components with directives. Then, we will take a look at many data handling<br />

techniques, discovering a complete set of technologies that are capable to accomplish<br />

any challenge related to present, transform, and validate data on the user's interface.<br />

After that, we will explore the secrets of the dependency injection mechanism<br />

and also learn how to create services in order to improve the application's design.<br />

Also, we are going to discover the best way to deal with the scope and how to<br />

break up the application into separate modules, giving rise to reusable and<br />

interchangeable libraries.<br />

Finally, we are going to learn how to test each component of the framework using<br />

Jasmine and also how to automate the workflow, creating an optimized distribution<br />

package with Grunt.<br />

Rodrigo Branas<br />

Software Architect, Author and International Speaker<br />

Agile Code<br />

What this book covers<br />

Chapter 1, Getting Started with <strong>AngularJS</strong>, introduces the framework and its<br />

architectural model. After that, we will start coding our first application<br />

and also understand how to organize our project.<br />

Chapter 2, Creating Reusable Components with Directives, explains how the directives<br />

are one of the most important features of the framework. With them, we will<br />

understand how to extend the HTML language vocabulary, creating new behaviors<br />

and reusable components.<br />

Chapter 3, Data Handling, explains how the framework provides a complete set of<br />

technologies to fulfill any requirement about presenting, transforming, synchronizing,<br />

and validating data on the user's interface. We will go through all of these technologies<br />

in order to improve the user experience with our applications.<br />

[ 2 ]<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!