Write an app in AngularJS

This article first appeared in issue 234 of .net magazine – the world's best-selling magazine for web designers and developers.

In JavaScript’s early days, you had to manipulate the DOM through a set of APIs that were inconsistent across browsers and very terse. Then jQuery came along, improved the API by enabling you to use CSS selectors, and made it easier to develop cross-browser web applications.

This was a great step forward, and developers were able to become more productive. Yet this still doesn’t solve the root issue that applications built as a series of DOM manipulations and callbacks are hard to organise and maintain.

More recently, Backbone.js took the stage, offering great utilities and helpful suggestions about how to organise application code. This undoubtedly helped web developers building larger applications regain some of their sanity. But as much as Backbone.js is a great step in the right direction, it doesn’t go far enough in terms of making developers more productive. While the application is more organised, you still spend a lot of time writing imperative code to manage the state between views and models.

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of eight full-time members of staff: Editor Georgia Coggan, Deputy Editor Rosie Hilder, Ecommerce Editor Beren Neale, Senior News Editor Daniel Piper, Editor, Digital Art and 3D Ian Dean, Tech Reviews Editor Erlingur Einarsson and Ecommerce Writer Beth Nicholls and Staff Writer Natalie Fear, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.