Archives For sailsjs

As you may know, I prefer to use Hogan.js for my Express projects. Mustache, Handlebars and Underscore are also good. And actually, Jade is a very good framework, I just like HTML and find the Jade syntax abstracts that away. One thing I don’t like is old fashioned PHP-style logic and templates mixed together.

For that reason, template frameworks like EJS are definitely not my style. EJS not only allows you to mix Javascript into your templates, it essentially requires it. If you want to iterate or do an existence check, you need to write Javascript and stick it in your template. Ick.

What does this have to do with Sails.js? Continue Reading…

I’ve played with this for about 30 minutes now and my instincts tell me it is a great project. It borrows from the philosophies of other popular MVC frameworks such as Ruby on Rails and Backbone.js to create a server-side tool-suite to simplify the work of modern web developers, particularly front-end developers.

It’s called Sails.js and, from the fine manual: “Sails makes it easy to build custom, enterprise-grade Node.js apps. It is designed to resemble the MVC architecture from frameworks like Ruby on Rails, but with support for the more modern, data-oriented style of web app development. …Sails is especially good for building APIs, single page apps/sites, and realtime features like chat.” Continue Reading…