Posts

Showing posts from February, 2013

Heroic Web Applications with AngularJS

Image
Have you been coding dynamic web applications and you still feel like struggling when need complex behaviour? Have you used BackboneJS , EmberJS or another MVC-like framework and still wonder what could be better? If your answer is: Yes!, then cry no more and meet your new friend:  AngularJS . AngularJS is an Open Source and Client-side Javascript framework maintained by Google. Some of its main features are: MVC The possibility to extend HTML with your own vocabulary for your application. Two-way data binding Services Directives and reusable components Testable Now, I will explain how to code a sample application with Angular. Requirements You need an HTTP server on your machine. You can use your favourite thing here (e.g. Apache Server, Ruby's WEBrick server or anything else). For simplicity, I will just use Python because it is already included on Ubuntu. So, just do on your terminal: 1 $ python3 - m http . server This will start an HTT