Home › Forums › JavaScript › Sails.js, KrakenJS or write own MVC for Express?
- This topic is empty.
-
AuthorPosts
-
January 1, 2014 at 9:40 am #159442CrocoDillonParticipant
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 #159592noahgelmanParticipantNode/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 StackOverflow
January 3, 2014 at 7:56 pm #159606CrocoDillonParticipantNoticed :) 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 #159608AlenParticipant@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-and
January 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 #159611AlenParticipant@traq, I’ve just started with the whole thing really so I’m focusing on AngularJS as of now, haven’t tried Polymer. What I like about AngularJS is two-way data binding right out of the box. Not sure if other frameworks offer that, but from what I’ve read so far not that many (but haven’t really compared, just kind of went with AngularJS) I picked up bunch of books about AngularJS from http://www.packtpub.com for $5 each, all very interesting… for someone not that experienced with JavaScript
January 4, 2014 at 12:49 am #159612__Participantpolymer 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 #159616CrocoDillonParticipantJanuary 10, 2014 at 3:02 pm #160101AlenParticipantJust discovered this resource: http://www.youtube.com/watch?v=Afwrcm5rtmk
Intro to MEAN stack.
January 11, 2014 at 5:54 pm #160151CrocoDillonParticipantThanks, 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?
-
AuthorPosts
- The forum ‘JavaScript’ is closed to new topics and replies.