更新时间:2021-07-19 18:34:03
coverpage
Credits
Learning Dart
About the Authors
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
Spiral approach
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Dart – A Modern Web Programming Language
What is Dart?
Dart is a perfect fit for HTML5
Getting started with Dart
Getting a view on the Dart tool chain
A bird's eye view on Dart
Making a todo list with Dart
Summary
Chapter 2. Getting to Work with Dart
Variables – to type or not to type
Built-in types and their methods
Documenting your programs
Changing the execution flow of a program
Using functions in Dart
Recognizing and catching errors and exceptions
Chapter 3. Structuring Code with Classes and Libraries
A touch of class – how to use classes and objects
Chapter 4. Modeling Web Applications with Model Concepts and Dartlero
A short introduction to Git and GitHub
What a model is and why we need it in programming
Model concepts – a graphical design tool for our models
Dartlero – a simple domain model framework
An example of using Dartlero
The categories and links application
Chapter 5. Handling the DOM in a New Way
Finding elements and changing their attributes
Creating and removing elements
Handling events
Manipulating the style of page elements
Animating a game
Chapter 6. Combining HTML5 Forms with Dart
Spiral 1 – the power of HTML5 forms
Spiral 2 – how to validate data with Dart
Spiral 3 – how to store data in local storage
Spiral 4 – reading and showing data
Spiral 5 – changing and updating data
Spiral 6 – working with a list of bank accounts
Chapter 7. Building Games with HTML5 and Dart
The model for the memory game
Spiral 1 – drawing the board
Spiral 2 – drawing cells
Spiral 3 – coloring the cells
Spiral 4 – implementing the rules
Spiral 5 – game logic (bringing in the time element)
Spiral 6 – some finishing touches
Spiral 7 – using images
Adding audio to a web page
Using an audio library – Collision clones
Adding video to a web page
Chapter 8. Developing Business Applications with Polymer Web Components
How web components change web development
Web components with Polymer.dart
Two-way data binding in Polymer.dart
Creating the polymer_links project
Using Polymer for the category links project
Applying web components to the project tasks app
Chapter 9. Modeling More Complex Applications with Dartling
The Dartling domain modeling framework
Design of the Travel Impressions model in spirals
Generating Travel Impressions code from the model
Initializing the Travel Impressions model with Data
Testing the Travel Impressions model
Defining and using the MVC pattern
The TodoMVC app
Chapter 10. MVC Web and UI Frameworks in Dart – An Overview
DQuery
Bootjack
Dart Web Toolkit (DWT)
Dart widgets
Bee
HTML components
Rikulo UI
Hipster-mvc
Puremvc
StageXL
Flash Professional CC – toolkit for Dart
Angular.dart