Developing next-generation Web applications with Angularjs PDF

Source: Internet
Author: User

: Network Disk Download

Content Introduction· · · · · ·

Angularjs is a front-end JS framework from Google, and its core features are: MVC, bidirectional data binding, directives and semantic tagging, modular tools, dependency injection, HTML templates, and encapsulation of common tools such as $http, $cookies, $ Location and so on. The ANGULARJS framework is very small, but the design concept and function is very powerful, it is worth the front-end developers to learn in depth.

This book provides a comprehensive overview of the core features of the ANGULARJS framework, including common development tools and development environments. As the first book on Angularjs in China, this book is an essential tool for learning Angularjs.

Author profile ...

Brad Green is the technical manager of the Google Angularjs project. He is also directly responsible for accessibility and technical support work.

Shyam Seshadri is the boss and CEO of Fundoo Solutions and operates the ANGULARJS store, and is committed to providing creative and interesting products for the Indian market.

Catalogue-Preface VII
1th Chapter AngularJS Introduction 1
Some Concepts 2
Client Templates 2
Model View Controller (MVC) 3
Data binding 4
Dependency Injection 5
Directive 6
Example: Shopping cart 6
Next 9
2nd Chapter AngularJS Application Skeleton 11
Call Angular 11
Load Script 11
Using Ng-app to declare the bounds of angular 12
Model View Controller 12
Templates and data binding 15
displaying text 16
Form Input 16
Talking about non-intrusive JavaScript 19
Lists, tables, and other iterative elements 22
Hide and show 24
CSS Classes and Styles 25
Rethinking src and href attributes 27
Expression 28
Distinguishing between UI and controller responsibilities 28
Exposing model data with $scope 29
Using $watch to monitor changes in the data Model 30
Performance considerations in Watch () 33
organizing dependencies using module (modules) 35
How many modules do I need? 38
Using filters to format data 39
Switching views using Routing and $location 40
Index.html 41
List.html 42
Detail.html 42
Controllers.js 42
Interacting with the server 43
Modifying DOM 45 with directives
Index.html 46
Controllers.js 46
Verifying user Input 47
Keep moving. 48
The 3rd chapter uses ANGULARJS to develop 49
Project Structure 49
Tool 52
Various IDE 52
Run your App 53
Using Yeoman 53
Do not use Yeoman 54
Test under AngularJS 54
Karma 55
Unit Test 57
End-to-end/integration Testing 58
Compilation 60
Other useful Tools 62
Debug 62
Batarang 62
Yeoman: Optimizing your Workflow 65
Installing Yeoman 66
Running Server 66
Adding new routes, views, and Controllers 66
About Test 67
Building a Project 67
Integration with REQUIREJS 68
4th Chapter A ANGULARJS Application analysis 77
Application 77
Relationships between models, controllers, and templates 78
Model 79
controllers, instructions and services 80
Service 80
Directive 84
Controller 86
Template 90
Test 96
Unit Test 96
Scene Test 100
5th Interaction with Server 101
Using $http for Communication 101
Further configuration Requests 103
Set HTTP Header 104
Cache Response 105
Conversion requests and Responses 106
Unit Test 107
Using RESTful resources 108
Statement 111
Custom Method 111
Don't use callbacks! (unless you really need them) 112
Simplifying service-side operations 112
Ngresource Unit Test 113
$q and Promise 114
Intercept Response 115
Security measures 116
JSON Vulnerability 116
XSRF 117
6th Directive 119
Instructions and HTML Check 119
API Overview 120
Name your instructions. 121
Object used to define the Directive 122
Inline 126
Compile and link functions 126
Scope 128
Manipulating DOM elements 132
Controller 134
Keep moving. 137
7th other points of attention 139
$location 139
HTML5 mode and Hashbang mode 142
Method of AngularJS Module class 145
Where is the Main method 145
Load and depend on 146
Quick Method 146
Interacting between scopes using $on, $emit, and $broadcast 149
Cookies 150
Internationalization and Localization 151
What should I do in ANGULARJS? 152
How do you make it all work? 152
FAQ 153
HTML Harmless and sanitize module 153
Linky 155
8th. Quick Check and Tips 157
Package jquery Datepicker 157
Ng-model 159
Binding Select 159
Call Select 159
Other content in the example 160
Teams List Application: Interaction of filters and controllers 161
Search Box 165
Drop-down box 165
check box 165
Iterators 165
File uploads in AngularJS 166
Using Socket.io 169
Simple Paging Service 172
Collaboration and login with server 175
Conclusion 179
Index 181

: Network Disk Download

Developing next-generation Web applications with Angularjs PDF

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.