peerigon / alamid

Framework for RESTful JavaScript web applications that run both on the server- and clientside.
http://www.alamidjs.com
MIT License
23 stars 3 forks source link

Scaffolding #140

Closed meaku closed 11 years ago

meaku commented 11 years ago

alamid should offer scaffolding. Especially because @matthaias loves it if things get done for him automatically.

Thoughts

meaku commented 11 years ago

alamid-cli is a separate repository now https://github.com/peerigon/alamid-cli

jhnns commented 11 years ago

Nice! It shouldn't ship with alamid. This way alamid stays reduced. This also speeds up the deployment process where you usually don't need a cli.

meaku commented 11 years ago

It has to ship with alamid, because it is version dependent. I did it the same way grunt.js is doing it. There is a slim alamid-cli module which only calls the scaffolding functions from the local alamid-module. This way you could keep the cli de-coupled.

Reducing might be an argument, but it is not that much code. I'm not very happy about the additional dependencies though.

Maybe the dependencies could be part of the global module and only the configuration for scaffolding has to be part of alamid. Will think of it…

Am 07.01.2013 um 21:38 schrieb Johannes notifications@github.com:

Nice! It shouldn't ship with alamid. This way alamid stays reduced. This also speeds up the deployment process where you usually don't need a cli.

— Reply to this email directly or view it on GitHub.

jhnns commented 11 years ago

All dependencies that are not necessary for the core alamid (that is used for deployment) shouldn't be in the core-module imho.