Chapter 5. Scaffolding with Yeoman

 

This chapter covers

  • Scaffolding as way to reproduce a solid project foundation
  • Yeoman’s generator concept for scaffolding at scale
  • A generator’s assembly line
  • Template engines as a way to handle options

The last three chapters have shown you the first essential steps in creating a new front-end development workflow. You created a local development environment with Gulp, building all your assets automatically and booting up a local web server for you to instantly check iterations. You instructed Bower to keep track of your dependencies and integrated the third-party libraries in your main application, also automatically. This sounds—and definitely feels—like a lot of effort has been put into the setup of how to handle projects. Let’s not waste this effort on a single instance; let’s make it available for all your future projects!

5.1. Yeoman generators

5.2. Project templates

5.3. Yeoman’s assembly line

5.4. Creating a generator

5.5. Summary