• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Front End Tooling: is yeoman overkill?

 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Given that most frameworks provide a seed starter app you can just download from places like github (e.g. angular-seed), what purpose do generators like yeoman serve?
 
Author
Posts: 7
5
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeoman actually takes these seed projects and add additional value in providing conditionals (include a certain library, specific modules, etc) and filling out the blanks for variables like project name, module name, etc. They are good for kickstarting a project from the command line, but even better when you have a project already in place where you need to add more files and features over time. Take Angular 1 for example. I could never remember all the boilerplate that must be written for a service, but with "yo angular:service myService" not only do I get the necessary questionnaire that records the things I have provide, it also includes the right file at the right place with the right amount of boilerplate code necessary. This is just a treat.

At this time, major frameworks like Angular2, Ember and React have their own Yeoman-like tool (ember-cli, ng-cli, create-react-app) that should be used instead of Yeoman. Yeoman is more general purpose and -- most importantly -- extendable to suit your own projects.
 
reply
    Bookmark Topic Watch Topic
  • New Topic