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.

Getting Started with <strong>AngularJS</strong><br />

This chapter will introduce you to the most important concepts of <strong>AngularJS</strong>. The<br />

topics that we'll be covering in this chapter are:<br />

• Introduction to <strong>AngularJS</strong><br />

• Understanding the architectural concepts<br />

• Setting up the framework<br />

• Organizing the code<br />

Introduction to <strong>AngularJS</strong><br />

Created by Miško Hevery and Adam Abrons in 2009, <strong>AngularJS</strong> is an open source,<br />

client-side JavaScript framework that promotes a high-productivity<br />

web development experience.<br />

It was built on the belief that declarative programming is the best choice to construct<br />

the user interface, while imperative programming is much better and preferred to<br />

implement an application's business logic.<br />

To achieve this, <strong>AngularJS</strong> empowers traditional HTML by extending its current<br />

vocabulary, making the life of developers easier.<br />

The result is the development of expressive, reusable, and maintainable application<br />

components, leaving behind a lot of unnecessary code and keeping the team focused<br />

on the valuable and important things.<br />

In 2010, Miško Hevery was working at Google on a project called Feedback. Based<br />

on Google Web Toolkit (GWT), the Feedback project was reaching more than 17.000<br />

lines of code and the team was not satisfied with their productivity. Because of that,<br />

Miško made a bet with his manager that he could rewrite the project in 2 weeks<br />

using his framework.<br />

After 3 weeks and only 1.500 lines of code, he delivered the project! Nowadays, the<br />

framework is used by more than 100 projects just at Google, and it is maintained by<br />

its own internal team, in which Miško takes part.<br />

The name of the framework was given by Adam Abrons, and it was inspired by the<br />

angle brackets of the HTML elements.<br />

[ 8 ]<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!