- This topic is empty.
January 1, 2014 at 9:40 am #159442
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?)
Should I implement my own or use a (Express based) MVC framework like Sails.js or KrakenJS? If so, which one?
Thanks! :)January 3, 2014 at 4:25 pm #159592noahgelmanParticipant
Node/Express isn’t something most of the users here are familiar with. I think you would have better luck asking this in the Express forum or on StackOverflowJanuary 3, 2014 at 7:56 pm #159606
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 #159608
@CrocoDillon check out AngularJS, just attach clean api service via backend. I’m using it with Laravel (PHP) as backend.
http://blog.mongodb.org/post/49262866911/the-mean-stack-mongodb-expressjs-angularjs-andJanuary 3, 2014 at 10:15 pm #159610__Participant
@Alen speaking of Angular, have you tried polymer? (I’m trying to find the opinion of someone who’s tried both. Sorry @CrocoDillon for the hijacking)January 3, 2014 at 10:59 pm #159611
polymer has the same sort of binding. What attracts me to polymer over angular is that it seems to have more of a “web components” structure.January 4, 2014 at 4:06 am #159616January 10, 2014 at 3:02 pm #160101
Just discovered this resource: http://www.youtube.com/watch?v=Afwrcm5rtmk
Intro to MEAN stack.January 11, 2014 at 5:54 pm #160151
Thanks, it’s pretty long so haven’t found time to watch yet but I sure will :)September 23, 2014 at 10:30 am #184368vwalParticipant
@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.September 23, 2014 at 9:25 pm #184419chrisburtonParticipant
@robskiwarrior He’s back.September 24, 2014 at 2:44 am #184477chrisburtonParticipant
@robskiwarrior @chriscoyier Perhaps blacklisting their domain might help?