2015
Tuts+
Dan Wellman
2:30
English
In this course you'll learn how to create a custom generator for the web app scaffolding tool, Yeoman. A good scaffold is like a kick starter for new development projects, ensuring the source code is organized using best practices and cutting-edge tooling. Yeoman has a scaffolding generator ecosystem with packages for a huge number of possible technology stacks, but sometimes there's just not quite the configuration your looking for.
We'll start by looking at how to use Yeoman with community-built generators, and then we'll move on to implementing a custom generator that scaffolds my favorite stack for web application development.
1.Introduction
1.1 Introduction
1.2 Setup
1.3 The Stack This Generator Will Create
2.Yeoman Basics
2.1 Yo
2.2 Grunt
2.3 Bower
3.Creating a Basic Generator
3.1 Creating the Node.js Module
3.2 Extending the Base Generator
3.3 Working With Directories Inside a Generator
3.4 Working With Files Inside a Generator
3.5 Installing Dependencies
3.6 Understanding the Run Loop
4.User Interaction
4.1 Greeting the User
4.2 Prompting the User
4.3 Templating
4.4 Options and Arguments
5.Advanced Generator Concepts
5.1 Working With the Gruntfile
5.2 Composing Existing Generators
5.3 Wiring Everything Up
6.Conclusion
6.1 Conclusion
Download File Size:1.45 GB