AngularJS: Up and running (Record no. 2423)
[ view plain ]
| 000 -LEADER | |
|---|---|
| fixed length control field | 08346nam a22002297a 4500 |
| 003 - CONTROL NUMBER IDENTIFIER | |
| control field | OSt |
| 005 - DATE AND TIME OF LATEST TRANSACTION | |
| control field | 20200116112721.0 |
| 008 - FIXED-LENGTH DATA ELEMENTS--GENERAL INFORMATION | |
| fixed length control field | 200116b ||||| |||| 00| 0 eng d |
| 020 ## - INTERNATIONAL STANDARD BOOK NUMBER | |
| International Standard Book Number | 978-93-5110-801-6 |
| 028 ## - PUBLISHER NUMBER | |
| Source | Allied Informatics, Jaipur |
| Bill Number | 7084 |
| Bill Date | 13/01/2020 |
| Purchase Year | 2019-20 |
| 040 ## - CATALOGING SOURCE | |
| Original cataloging agency | BSDU |
| Language of cataloging | English |
| Transcribing agency | BSDU |
| 082 ## - DEWEY DECIMAL CLASSIFICATION NUMBER | |
| Classification number | 005.2762 |
| Item number | SES |
| 100 ## - MAIN ENTRY--PERSONAL NAME | |
| Personal name | Seshadri, Shyam |
| 245 ## - TITLE STATEMENT | |
| Title | AngularJS: Up and running |
| 260 ## - PUBLICATION, DISTRIBUTION, ETC. | |
| Place of publication, distribution, etc. | Mumbai |
| Name of publisher, distributor, etc. | Shroff Publishers & Distributors Pvt. Ltd. |
| Date of publication, distribution, etc. | 2018 |
| 300 ## - PHYSICAL DESCRIPTION | |
| Extent | 282 |
| 500 ## - GENERAL NOTE | |
| General note | If you want to get started with AngularJS, either as a side project, an additional tool, or for your main work, this practical guide teaches you how to use this meta-framework step-by-step, from the basics to advanced concepts. By the end of the book, you’ll understand how to develop a large, maintainable, and performant application with AngularJS.<br/><br/>Guided by two engineers who worked on AngularJS at Google, youll learn the components needed to build data-driven applications, using declarative programming and the Modelviewcontroller pattern. Youll also learn how to conduct unit tests on each part of your application.<br/><br/>Learn how to use controllers for moving data to and from views<br/>Understand when to use AngularJS services instead of controllers<br/>Communicate with the server to store, fetch, and update data asynchronously<br/>Know when to use AngularJS filters for converting data and values to different formats<br/>Implement single-page applications, using ngRoute to select views and navigation<br/>Dive into basic and advanced directives for creating reusable components<br/>Write an end-to-end test on a live version of your entire application<br/>Use best practices, guidelines, and tools throughout the development cycle |
| 504 ## - BIBLIOGRAPHY, ETC. NOTE | |
| Bibliography, etc. note | Contents<br/>1. Introducing AngularJS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1<br/>Introducing AngularJS 2<br/>What Is MVC (Model-View-Controller)? 2<br/>AngularJS Benefits 3<br/>The AngularJS Philosophy 4<br/>Starting Out with AngularJS 10<br/>What Backend Do I Need? 10<br/>Does My Entire Application Need to Be an AngularJS App? 11<br/>A Basic AngularJS Application 11<br/>AngularJS Hello World 12<br/>Conclusion 13<br/>2. Basic AngularJS Directives and Controllers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15<br/>AngularJS Modules 15<br/>Creating Our First Controller 17<br/>Working with and Displaying Arrays 22<br/>More Directives 26<br/>Working with ng-repeat 27<br/>ng-repeat Over an Object 28<br/>Helper Variables in ng-repeat 29<br/>Track by ID 30<br/>ng-repeat Across Multiple HTML Elements 32<br/>Conclusion 34<br/>3. Unit Testing in AngularJS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35<br/>Unit Testing: What and Why? 35<br/>Introduction to Karma 37<br/><br/>Karma Plugins 38<br/>Explaining the Karma Config 39<br/>Generating the Karma Config 41<br/>Jasmine: Spec Style of Testing 42<br/>Jasmine Syntax 42<br/>Useful Jasmine Matchers 43<br/>Writing a Unit Test for Our Controller 44<br/>Running the Unit Test 47<br/>Conclusion 48<br/>4. Forms, Inputs, and Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49<br/>Working with ng-model 49<br/>Working with Forms 51<br/>Leverage Data-Binding and Models 52<br/>Form Validation and States 54<br/>Error Handling with Forms 55<br/>Displaying Error Messages 56<br/>Styling Forms and States 58<br/>Nested Forms with ng-form 60<br/>Other Form Controls 62<br/>Textareas 62<br/>Checkboxes 63<br/>Radio Buttons 64<br/>Combo Boxes/Drop-Downs 66<br/>Conclusion 68<br/>5. All About AngularJS Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69<br/>AngularJS Services 69<br/>Why Do We Need AngularJS Services? 70<br/>Services Versus Controllers 72<br/>Dependency Injection in AngularJS 73<br/>Using Built-In AngularJS Services 74<br/>Order of Injection 76<br/>Common AngularJS Services 77<br/>Creating Our Own AngularJS Service 78<br/>Creating a Simple AngularJS Service 78<br/>The Difference Between Factory, Service, and Provider 82<br/>Conclusion 86<br/>6. Server Communication Using $http. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87<br/>Fetching Data with $http Using GET 87<br/>A Deep Dive into Promises 91<br/><br/>Propagating Success and Error 93<br/>The $q Service 94<br/>Making POST Requests with $http 94<br/>$http API 96<br/>Configuration 97<br/>Advanced $http 99<br/>Configuring $http Defaults 99<br/>Interceptors 101<br/>Best Practices 104<br/>Conclusion 106<br/>7. Unit Testing Services and XHRs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107<br/>Dependency Injection in Our Unit Tests 107<br/>State Across Unit Tests 109<br/>Mocking Out Services 111<br/>Spies 113<br/>Unit Testing Server Calls 115<br/>Integration-Level Unit Tests 118<br/>Conclusion 120<br/>8. Working with Filters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121<br/>What Are AngularJS Filters? 121<br/>Using AngularJS Filters 122<br/>Common AngularJS Filters 124<br/>Using Filters in Controllers and Services 130<br/>Creating AngularJS Filters 131<br/>Things to Remember About Filters 133<br/>Conclusion 134<br/>9. Unit Testing Filters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135<br/>The Filter Under Test 135<br/>Testing the timeAgo Filter 136<br/>Conclusion 138<br/>10. Routing Using ngRoute. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139<br/>Routing in a Single-Page Application 140<br/>Using ngRoute 141<br/>Routing Options 143<br/>Using Resolves for Pre-Route Checks 146<br/>Using the $routeParams Service 148<br/>Things to Watch Out For 149<br/>A Full AngularJS Routing Example 150<br/><br/>Additional Configuration 160<br/>HTML5 Mode 160<br/>SEO with AngularJS 162<br/>Analytics with AngularJS 163<br/>Alternatives: ui-router 165<br/>Conclusion 166<br/>11. Directives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169<br/>What Are Directives? 169<br/>Alternatives to Custom Directives 170<br/>ng-include 170<br/>Limitations of ng-include 173<br/>ng-switch 173<br/>Understanding the Basic Options 175<br/>Creating a Directive 175<br/>Template/Template URL 176<br/>Restrict 179<br/>The link Function 181<br/>Scope 182<br/>Replace 192<br/>Conclusion 194<br/>12. Unit Testing Directives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195<br/>Steps Involved in Testing a Directive 195<br/>The Stock Widget Directive 196<br/>Setting Up Our Directive Unit Test 197<br/>Other Considerations 201<br/>Conclusion 202<br/>13. Advanced Directives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203<br/>Life Cycles in AngularJS 203<br/>AngularJS Life Cycle 203<br/>The Digest Cycle 206<br/>Directive Life Cycle 208<br/>Transclusions 208<br/>Basic Transclusion 211<br/>Advanced Transclusion 212<br/>Directive Controllers and require 216<br/>require Options 221<br/>Input Directives with ng-model 222<br/>Custom Validators 226<br/>Compile 228<br/><br/>Priority and Terminal 234<br/>Third-Party Integration 234<br/>Best Practices 239<br/>Scopes 240<br/>Clean Up and Destroy 240<br/>Watchers 241<br/>$apply (and $digest) 242<br/>Conclusion 242<br/>14. End-to-End Testing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245<br/>The Need for Protractor 245<br/>Initial Setup 246<br/>Protractor Configuration 247<br/>An End-to-End Test 248<br/>Considerations 251<br/>Conclusion 254<br/>15. Guidelines and Best Practices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255<br/>Testing 255<br/>Test-Driven Development 255<br/>Variety of Tests 256<br/>When to Run Tests 257<br/>Project Structure 258<br/>Best Practices 258<br/>Directory Structure 259<br/>Third-Party Libraries 263<br/>Starting Point 264<br/>Build 265<br/>Grunt 265<br/>Serve a Single JavaScript File 266<br/>Minification 267<br/>ng-templates 267<br/>Best Practices 267<br/>General 268<br/>Services 268<br/>Controllers 269<br/>Directives 270<br/>Filters 270<br/>Tools and Libraries 271<br/>Batarang 271<br/>WebStorm 272<br/>Optional Modules 273<br/><br/>Conclusion 274<br/>Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275 |
| 650 ## - SUBJECT ADDED ENTRY--TOPICAL TERM | |
| Topical term or geographic name entry element | CSE |
| 700 ## - ADDED ENTRY--PERSONAL NAME | |
| Personal name | Green, Brad |
| 942 ## - ADDED ENTRY ELEMENTS (KOHA) | |
| Source of classification or shelving scheme | Dewey Decimal Classification |
| Koha item type | Books |
| Withdrawn status | Lost status | Source of classification or shelving scheme | Damaged status | Not for loan | Home library | Current library | Shelving location | Date acquired | Cost, normal purchase price | Total Checkouts | Full call number | Barcode | Date last seen | Date last checked out | Cost, replacement price | Price effective from | Koha item type |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dewey Decimal Classification | BSDU Knowledge Resource Center, Jaipur | BSDU Knowledge Resource Center, Jaipur | General Stacks | 01/16/2020 | 725.00 | 1 | 005.2762 SES | 017974 | 12/07/2022 | 10/19/2022 | 725.00 | 01/16/2020 | Books |

