AngularJS Essentials
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Preface<br />
For more than 12 years, I have been developing all kinds of web applications,<br />
and along the way, I have had the opportunity to experience the vast majority of<br />
frameworks on the Java platform. In 2008, I moved from an architecture highly based<br />
on backend web frameworks such as Struts and JSF to experience new challenges at<br />
the frontend. I think the main goal was to stop creating those old-school and<br />
hard-to-use web applications, investing on interactivity and usability.<br />
At that time, I adopted the Google Web Toolkit, also known as GWT, building some<br />
web applications for almost 2 years. The results were pretty amazing in terms of user<br />
experience; however, I felt very upset about low productivity and also the amount of<br />
code that I had to write every day.<br />
After that, in 2010, I decided to change drastically, adopting a much simpler<br />
approach by using just HTML, CSS, and JavaScript to write the frontend code. The<br />
experience was fantastic, which provided me with a very fast feedback cycle. The<br />
only problem was the lack of a layered architecture, which was unable to provide a<br />
clear separation of concerns while working with the JavaScript language. Also, I was<br />
missing things such as a strong dependency injection mechanism that would allow<br />
me to create reusable and testable components.<br />
While looking for a solution, a very experienced JavaScript developer and also a<br />
great friend of mine, Rafael Nami, introduced me to <strong>AngularJS</strong>. In the following<br />
weeks, I started to read everything about it and also writing some code. After a<br />
few weeks, I was thrilled because it had never been so easy to create amazing web<br />
applications with so little code!<br />
www.it-ebooks.info