5 ms·
Is this for Node.js only? They keep saying 'web apps' but never explicitly that it's not. NPM is node, right? (sorry, not too familiar with Node)
by mrgreenfur 13y ago
Is this for Node.js only? They keep saying 'web apps' but never explicitly that it's not. NPM is node, right? (sorry, not too familiar with Node)
- _mhr_ 13y agoYes and yes. EDIT: No and yes.
- lowboy 13y agoYour first "yes" is incorrect. Yeoman installs through npm and I imagine it runs on Node.js, but it can be used for many different projects: http://yeoman.io/community-generators.html http://yeoman.io/community-generators.html
- acidity 13y agoThere are examples for CakePHP and Flask but none for Rails. Do you know of any? I have a simple traditional Rails which I am looking into porting to use Backbone and Rails as backend.
- saidajigumi 13y agoYeoman is purely development-time workflow tooling. It and its ecosystem (the "generator-XXXX" npm modules) use Node.js as the runtime on the development host. Typical Yeoman use would be 1) during development to speed dev, testing, etc., and 2) to build minified assets for deployment into production. EDIT: Removed confusing "client-side" reference caught by 9oliYQjP -- thanks!
- mrgreenfur 13y agoAh, thanks!
- 9oliYQjP 13y agoActually, while client-side development is where it has gained the most popularity, I use some Yeoman generators for setting up some backends. Here is one such example that scaffolds a Node project: https://github.com/yeoman/generator-node https://github.com/yeoman/generator-node. There's really nothing stopping you from using Yeoman for live reloading of a frontend and backend stack.
- lowboy 13y agoYeoman can be used on any project, not just Node.js ones. They have a lot of generators: http://yeoman.io/community-generators.html http://yeoman.io/community-generators.html
- mrgreenfur 13y agoAhh, thanks much. Those generators are making it click.
- lowboy 13y agoyo understand:now