Settings

Theme

Show HN: Frodo – Rails like app generator for Node.js/Express

github.com

13 points by leemalmac 10 years ago · 11 comments

Reader

bshimmin 10 years ago

Looking at the last example, how does it know that `name` is of type String and `age` is of type Number? Should it not be

  $ frodo generate model user name:string age:number
or something?
benatkin 10 years ago

Why does it have an IFFE on the controllers? This isn't a browser environment where we have to worry about files cluttering a global namespace. Each file is its own module where it has its own namespace. (Also this isn't needed for client-side development anymore unless you aren't using a build tool.)

  • leemalmacOP 10 years ago

    I'm not a JS expert. Can you suggest the better way? I know that controllers are sandboxed, but I still like to add some 'namespacing'

trumbitta2 10 years ago

The rails like app generator for Node.js/Express: http://sailsjs.org/

  • leemalmacOP 10 years ago

    Is it pure Express without modifications? Shame to me, but I completely forgot about Sails, I knew it exists, but for some reasons I decided to use pure Express at work.

tuananh 10 years ago

why not use yeoman?

  • leemalmacOP 10 years ago

    I've never heard about this project before. I searched for an existed solutions, but couldn't find an appropriate tool, so I decided to build one.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection