Greetings from your AppNexus Discovery Engineering team in San Francisco! In the spirit of AppNexians sharing, the team here is going to write a series of blog posts about technologies we’ve used to create Twixt, a brand-new application for direct media buying. (If you haven’t heard about Twixt, check out twixt.it)
Single page web apps are popular these days as they allow for the smoothest “desktop app in a browser” experience. There is less flicker between pages and “persistent UI” is truly persistent. If you’ve used Gmail, Google Maps, or listened to SoundCloud, then you’ve used a single page app, and many other big industry players treat large sections of their sites as SPAs.
This didn’t happen yet
Then came the rise of the
Recently the MVC pattern has gained wide adoption in web development. In addition, these JS frameworks do routing, state management and other concepts relevant to navigating around an application (things we used to think of as “browsing” with traditional websites). The layers of complexity that were tamed by these frameworks also led to a new frontier of SPAs.
And so now to AngularJS: Developers use the AngularJS framework to build single page web apps. AngularJS is a comprehensive framework: it has opinions on how it expects web apps to be written and what best practices should be followed; it provides a large set of framework features such as data binding, a module system, dependency injection, directives, and support for MVC; it supports important long-term sustainability features such as unit testing, end to end (e2e) testing and more.
In this blog series, we’ll take a deep dive into selected features of AngularJS technology with callouts about how we used it in the Twixt app. We plan to write blog posts about:
- MVC in AngularJS
- Useful patterns
- And more
We’re open to suggestions! If there’s a topic you’d like us to cover, something you’d like to understand better, or questions we can answer, please let us know. We will try to accommodate and enlighten.
This is the first post in the series MVC in AngularJS.
There are some great resources for learning more about AngularJS including:
- Angularjs.org; checkout the intro to Angular, API reference and tutorial sections
- github: https://github.com/angular/angular.js
- Mastering Web Application Development with Angularjs (the twixt team agrees its the best Angular book out there)
- ng-newsletter, egghead.io and Dan Wahlins blog are good too