Sails.js, KrakenJS or write own MVC for Express?
# January 1, 2014 at 9:40 am
Hey, I’m working on a website… a database where users can search the database based on filters, comment on items, tag other items in comments and add items to lists. (okay a bit vague, but what the hell :P )
I want to use Node since I love JS and am tired of PHP.
Started using Express but I miss some features like:
- Controllers with actions
- Controller/action based routes
- Controller/action based views
- Layout templates (is that possible with say, Hogan.js?)
Thanks! :)# January 3, 2014 at 7:56 pm
Noticed :) Thanks for your reply though. I went with just Express since I figured I want to get familiar with the basics before using frameworks.
I have my routing and controllers set up like https://github.com/madhums/node-express-mongoose-demo now, but without Mongoose.# January 3, 2014 at 8:02 pm
@CrocoDillon check out AngularJS, just attach clean api service via backend. I’m using it with Laravel (PHP) as backend.# January 3, 2014 at 10:59 pm
@Croco, if you go with AngularJS in the front-end, then something like Hapi.js might be a good match for a back-end as it provides a clean and well-supported (Walmart labs) REST API framework.
Also, http://egghead.io is a good source for easy-to-digest (short) AngularJS tutorial videos.
You must be logged in to reply to this topic.