0%

用AngularJS开发下一代Web应用(英文)

基本信息

名称: 用AngularJS开发下一代Web应用(英文)
作者信息: 作者: Brad Green [ 英文 pdf ]

简单介绍

Develop smaller, lighter web apps that are simple to create and easy to test, extend, and maintain as they grow. This hands-on guide introduces you to AngularJS, the open source JavaScript framework that uses Model - view - controller (MVC) architecture, data binding, client-side templates, and dependency injection to create a much-needed structure for building web apps. Guided by two engineers who worked on AngularJS at Google, you’ll walk through the framework’s key features, and then build a working AngularJS app - from layout to testing, compiling, and debugging. You’ll learn how AngularJS helps reduce the complexity of your web app. Dive deep into Angular’s building blocks and learn how they work together Gain maximum flexibility by separating logic, data, and presentation responsibilities with MVC Assemble your full app in the browser, using client-side templates Use AngularJS directives to extend HTML with declarative syntax Communicate with the server and implement simple caching with the $http service Use dependency injection to improve refactoring, testability, and multiple environment design Get code samples for common problems you face in most web apps

目录

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Chapter 1 Introduction to AngularJS
Concepts
An Example: Shopping Cart
Up Next
Chapter 2 Anatomy of an AngularJS Application
Invoking Angular
Model View Controller
Templates and Data Binding
Organizing Dependencies with Modules
Formatting Data with Filters
Changing Views with Routes and $location
Talking to Servers
Changing the DOM with Directives
Validating User Input
Moving On
Chapter 3 Developing in AngularJS
Project Organization
Tools
Running Your Application
Testing with AngularJS
Unit Tests
End-to-End/Integration Tests
Compilation
Other Awesome Tools
Yeoman: Optimizing Your Workflow
Integrating AngularJS with RequireJS
Chapter 4 Analyzing an AngularJS App
The Application
Relationship Between Model, Controller, and Template
The Model
Controllers, Directives, and Services, Oh My!
The Templates
The Tests
Chapter 5 Communicating with Servers
Communicating Over $http
Unit Testing
Working with RESTful Resources
The $q and the Promise
Response Interception
Security Considerations
Chapter 6 Directives
Directives and HTML Validation
API Overview
Moving On
Chapter 7 Other Concerns
$location
AngularJS Module Methods
Communicating Between Scopes with $on, $emit, and $broadcast
Cookies
Internationalization and Localization
Sanitizing HTML & the Sanitize Module
Chapter 8 Cheatsheet and Recipes
Wrapping a jQuery Datepicker
The Teams List App: Filtering and Controller Communication
File Upload in AngularJS
Using Socket.IO
A Simple Pagination Service
Working with Servers and Login
Conclusion
Index
Colophon

亚马逊链接

欢迎关注我的其它发布渠道