更新时间:2021-08-05 17:19:37
封面
版权页
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Beyond Dart's Basics
Modularity and a namespace
Functions and closures in different scopes
Classes and mixins
Methods and operators
Summary
Chapter 2. Advanced Techniques and Reflection
Generics
Errors versus exceptions
Annotations
Reflection
Chapter 3. Object Creation
Creating an object
Chapter 4. Asynchronous Programming
Call-stack architectures versus event-driven architectures
Future
Zones
Isolates
Chapter 5. The Stream Framework
Why you should use streams
Single-subscription streams versus broadcast streams
An overview of the stream framework API
Chapter 6. The Collection Framework
A Dart collection framework
Ordering of elements
Collections and generics
The collection class hierarchy
The Iterable interface
BidirectionalIterator
The collection classes
Unmodifiable collections
Choosing the right collection
Chapter 7. Dart and JavaScript Interoperation
Interoperation at a glance
The dart:js library
Type conversion
JsObject and instantiation
JsFunction and the this keyword
Dart with jQuery
Chapter 8. Internalization and Localization
The key principles
The Intl library
Internationalizing your web application
Extracting messages
Using Google Translator Toolkit
Using translated messages
Chapter 9. Client-to-server Communication
Communication at a glance
Hypertext Transfer Protocol
AJAX polling request
AJAX long polling request
WebSocket
Chapter 10. Advanced Storage
Cookies
Web Storage
Web SQL
IndexedDB
Chapter 11. Supporting Other HTML5 Features
The notification APIs
The native drag-and-drop APIs
The geolocation APIs
Canvas
Chapter 12. Security Aspects
Web security
Securing a server
Securing a client
Security best practices
Index