Learning AngularJS: Creating a reusable UI using AngularJS Real-World Case Study
View this email in your browser

Learning AngularJS

If you are no longer interested in receiving the Learning AngularJS newsletter, click here to unsubscribe.

Case Study in Creating a Reusable AngularJS User Interface

Read the article

I'm excited to share this article because it covers a real-world scenario of creating a UI. It focuses on being reusable meaning the directives used in the article can be used elsewhere and can be built upon.

The writer, Kevin Crawford, has brought some ideas from Flux and React back into AngularJS and he starts with some guiding principles for creating a maintainable user interface. The real-world scenario is creating a widget builder.

His guiding principles are:
  1. The Single Responsibility Principle (helps keep classes/objects small and doing only one thing)
  2. Separation of Concerns (separating the app into business logic and UI layers)
  3. Don't Repeat Yourself
The code is posted at Github.

He also has a live demo of the article

The article is also good if you want to see how the Jade template language looks like and if you want to check out how CoffeeScript looks.

Check out the article

Happy hacking!

Copyright © 2015 GoAugust, All rights reserved.

unsubscribe from this list    update subscription preferences 

Email Marketing Powered by Mailchimp