Creating An Application With Sails, Angular and Require.js (part 1)
code | 4-25-2014
Since I tend to be a glutton for punishment, I have decided to devote the next several blog post to a series on making a scalable application using Sails.js on the back-end and Angular on the front-end.
So, Why Make A Series On This?
Sails is a server-side MVC framework for Node. The architecture is very similar to Ruby on Rails, which is probably why they chose a name that rhymes with Rails. One of the coolest things about Sails is that it has Socket.io built into it, which makes communicated with the client-side in real time much easier.
Angular is a client-side MVC framework created by Google. Angular is great at driving views with data and is extremely testable.
As I post the new articles, the links on this outline will be filled in, so this post can serve as a jumping off point for everything else. In the meantime, here is what we will cover:
- Starting The Sails Project
- Sails Server-Side Views
- Adding dependencies
- Angular Controllers
- Sails Models
- Syncing With The Server
This is going to be a fun series to write and I hope you have as much fun as me reading it!