售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Data-oriented Development with AngularJS
Table of Contents
Data-oriented Development with AngularJS
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. AngularJS Rationale and Data Binding
Frameworks versus libraries
AngularJS versus server-side MVC frameworks
AngularJS versus other frontend JavaScript frameworks
Why AngularJS?
Data binding
AngularJS Hello World!
Two-way data binding
Collection binding
Routes
Other AngularJS directives
Organizing AngularJS applications
Summary
2. Working with Data
Dependency injection
Filters
Promise
The $q service
The $http service
The $resource service
Node.js and Express-based API sample
A better $http service
Summary
3. Custom Controls
Directives
Defining a directive
Directive compilation phases
Normalization
Directive types
Directive scopes
Writing directives
Custom attributes
Custom elements
Isolate scopes
The =attr option in the scope
The @attr option in the scope
The &attr option in the scope
Transclusion
Custom classes
Directives that manipulate the DOM
Communication between directives
Summary
4. Firebase
Persistence
What is Firebase?
Firebase – benefits and why to use?
Firebase use cases
Apps with Firebase as the only backend
Existing apps with some features powered by Firebase
Both client and server code powered by Firebase
Firebase is the API for your product
Getting started with Firebase
Installing Firebase
Structuring data
Denormalizing data
AngularFire
Summary
5. Getting Started with AngularFire
AngularFire
Synchronized arrays with $firebaseArray()
Real-time applications
Synchronized objects with $firebaseObject()
Three-way data binding
Authentication
Summary
6. Applied Angular and AngularFire
Firebase anonymous authentication
Difference between a factory and a service
Summary
A. Yeoman
NPM
Yeoman
Grunt
Bower
B. Git and Git Flow
Initial Git setup
Using Git
Using Git flow
GitHub and Bitbucket
C. Editors and IDEs
Emacs
Vim
Sublime Text
Visual Studio and Visual Studio Express
Eclipse
Brackets
WebStorm
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜