AngularJS web application development cookbook over 90 hands-on recipes to architect performant applications and implement best practices in AngularJS
This is not your grandmother's JavaScript cookbook. If you have a foundational understanding of the framework and want to expand your AngularJS skillset with strategies and methodologies for building performant and scaleable production applications, this is the book for you. This book assumes y...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, England :
Packt Publishing Ltd
2014.
|
Edición: | 1st edition |
Colección: | Quick answers to common problems
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629570506719 |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Maximizing AngularJS Directives; Introduction; Building a simple element directive; Working through the directive spectrum; Manipulating the DOM; Linking directives; Interfacing with a directive using isolate scope; Interaction between nested directives; Optional nested directive controllers; Directive scope inheritance; Directive templating; Isolate scope; Directive transclusion; Recursive directives; Chapter 2: Expanding Your Toolkit with Filters and Service Types
- IntroductionUsing the uppercase and lowercase filters; Using the number and currency filters; Using the date filter; Debugging using the json filter; Using data filters outside the template; Using built-in search filters; Chaining filters; Creating custom data filters; Creating custom search filters; Filtering with custom comparators; Building a search filter from scratch; Building a custom search filter expression from scratch; Using service values and constants; Using service factories; Using services; Using service providers; Using service decorators; Chapter 3: AngularJS Animations
- IntroductionCreating a simple fade in/out animation; Replicating jQuery's slideUp() and slideDown() methods; Creating enter animations with ngIf; Creating leave and concurrent animations with ngView; Creating move animations with ngRepeat; Creating addClass animations with ngShow; Creating removeClass animations with ngClass; Staggering batched animations; Chapter 4: Sculpting and Organizing your Application; Introduction; Manually bootstrapping an application; Using safe apply; Application file and module organization; Hiding AngularJS from the user; Managing application templates
- The ""Controller as"" syntaxChapter 5: Working with the Scope and Model; Introduction; Configuring and using AngularJS events; Managing scope inheritance; Working with AngularJS forms; Working with and ngOptions; Building an event bus; Chapter 6: Testing in AngularJS; Introduction; Configuring and running your test environment in Yeoman and Grunt; Understanding Protractor; Incorporating E2E tests and Protractor in Grunt; Writing basic unit tests; Writing basic E2E tests; Setting up a simple mock backend server; Writing DAMP tests; Using the Page Object test pattern
- Chapter 7: Screaming Fast AngularJSIntroduction; Recognizing AngularJS landmines; Creating a universal watch callback; Inspecting your application's watchers; Deploying and managing watch types efficiently; Optimizing the application using reference watch; Optimizing the application using equality watch; Optimizing the application using watchCollection; Optimizing the application using watch deregistration; Optimizing template-binding watch expressions; Optimizing the application with the compile phase in ng-repeat; Optimizing the application using track by in ng-repeat
- Trimming down watched models