Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Sails.js, KrakenJS or write own MVC for Express?

  • This topic is empty.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #159442
    CrocoDillon
    Participant

    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! :)

    #159592
    noahgelman
    Participant

    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 StackOverflow

    #159606
    CrocoDillon
    Participant

    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.

    #159608
    Alen
    Participant

    @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

    #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)

    #159611
    Alen
    Participant

    @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

    #159612
    __
    Participant

    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.

    #159616
    CrocoDillon
    Participant

    @Alen, I like the idea of the “MEAN” stack, definitely want to try that out sometimes. But for this project I’m concerned about performance and don’t want to rely on JavaScript in the browser.

    @traq, no problem :) Polymer looks good too.

    #160101
    Alen
    Participant

    Just discovered this resource: http://www.youtube.com/watch?v=Afwrcm5rtmk

    Intro to MEAN stack.

    #160151
    CrocoDillon
    Participant

    Thanks, it’s pretty long so haven’t found time to watch yet but I sure will :)

    #184368
    vwal
    Participant

    @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.

    #184419
    chrisburton
    Participant

    @robskiwarrior He’s back.

    #184477
    chrisburton
    Participant

    @robskiwarrior @chriscoyier Perhaps blacklisting their domain might help?

Viewing 13 posts - 1 through 13 (of 13 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.