Learning Yeoman : design, implement, and deliver a successful modern web application project using three powerful tools in the Yeoman workflow /
If you are a web developer with some experience in JavaScript and want to enter the world of modern web applications, then this book is ideal for you. Learning how to leverage the three tools (Yo, Bower, and Grunt) in the Yeoman workflow will be perfect as your next step towards building scalable, d...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Pub.,
2014.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Modern Workflows for Modern Webapps; An overview of Yeoman; Yeoman''s architecture; Node''s package manager; Features of Yeoman; Quick installation; Installing Yeoman and friends; Installing a generator; Scaffolding with Yo; Create the project; Invoke the generator; Directory structure; Build process; The Connect LiveReload server; Previewing the server; Package management with Bower; Code linting with JSHint; Automation; Testing with PhantomJS; Running tests
- Optimizing for productionSelf-test questions; Summary; Chapter 2: Getting Started; Yo
- generators; The Yeoman workflow; Official generators; The generator-webapp; Features; Installing the generator-webapp; Using the generator-webapp; Options; Example usage; Previewing; Conclusion; The generator-angular; Features; Installing the generator-angular; Using the generator-angular; Options; Example usage; Angular subgenerators; Previewing; Conclusion; The generator-backbone; Features; Installing the generator-backbone; Using the generator-backbone; Options; Example usage; Backbone subgenerators
- PreviewingConclusion; The generator-ember; Features; Installing the generator-ember; Using the generator-ember; Options; Example usage; Ember subgenerators; Previewing; Conclusion; Self-test questions; Summary; Chapter 3: My Angular Project; Anatomy of an Angular project; Why Angular?; Creating a new Angular project; Installing the generator-angular; Scaffolding the application; Configuring the application; Creating the application definition; Creating the application controller; Creating the application views; Customizing the main view; Previewing the application
- Testing an Angular applicationAngular unit tests; End-to-end tests with Protractor; Angular controllers; Creating controllers; Using controllers; Testing controllers; Angular services; Creating services; Using services; Testing services; Angular filters; Creating filters; Using filters; Testing filters; Angular directives; Creating directives; Using directives; Testing directives; Angular views; Creating the Angular views; Self-test questions; Summary; Chapter 4: My Backbone Project; Anatomy of the Backbone project; The new Backbone project; Installing the generator-backbone
- Scaffolding a Backbone applicationUnderstanding the directory structure; Configuring the application; Scaffolding the app view; The Backbone app view; The Handlebars app template; Scaffolding the main view; The Backbone main view; Scaffolding the app router; Bootstrapping the app; Previewing the app; Testing; Configuration; Unit testing; E2E tests; Backbone. Events; Creating events; Using events; Testing events; Backbone. Model; Creating models; Using the Backbone models; Creating models; Updating models; Saving models; Destroying models; Validating models; Testing models; Backbone. Collection