Question

I use Yeoman, and I dig it.

However recently I have been wanting more complex code generation tools - now I know I can build custom generators, but I am wondering if people think this is the role/job/whatever that Yeoman is built to play.

Examples are,

  • Generating a base REST API (in Node) from a JSON schema
  • Generating MySQL DB Schema from JSON schema etc.

Although I could bend Yeoman to do this - do people think this is a realistic direction? Is there a better tool for the job?

(Currently I have a bunch of custom Node scripts that suffice).

Was it helpful?

Solution

My humble opinion: Yeoman is first and foremost a front end tool to create webapps. Your task seems to be backend related.

You can still use grunt to scaffold your project though. http://gruntjs.com/project-scaffolding

Cheers

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top