Wednesday, 28 December 2016

Dart Up and Running PDF Download Free


Dart Up and Running PDF Download Free


You don’t need to be an expert web developer to build web apps. With Dart, you can be
productive as you build high-performance apps for the modern web.
Our aim for this book is to be a useful introduction to the Dart language, libraries, and
tools. Because this book is short and Dart is young, you might also need to refer to the
Dart website at http://dartlang.org—both for details and for updates. For the latest news,
keep an eye on the Dart page on Google+.

Table of Content:


Why Google Created Dart
A Quick Look at the Dart Language
What’s Cool About Dart
Up and Running
Step 1: Download and Install the Software
Step 2: Launch the Editor
Step 3: Create and Run an App
Step 4: Open and Run a Sample
A Tour of the Dart Language
A Basic Dart Program
Important Concepts
Runtime Modes
Variables
Default Value
Optional Types
Final and Const
Built-in Types
Numbers
Strings
Booleans
Lists
Maps
Functions
Optional Parameters
Functions as First-Class Objects
Lexical Closures
Return Values
Operators
Arithmetic Operators
Equality and Relational Operators
Type Test Operators
Assignment Operators
Logical Operators
Bitwise and Shift Operators
Other Operators
Control Flow Statements
If and Else
For Loops
While and Do-While
Break and Continue
Switch and Case
Assert
Exceptions
Throw
Catch
Finally
Classes
Instance Variables
Constructors
Methods
Abstract Classes
Implicit Interfaces
Extending a Class
Class Variables and Methods
Generics
Why Use Generics?
Using Collection Literals
Using Constructors
Generic Collections and the Types they Contain
Libraries and Visibility
Using Libraries
Implementing Libraries
Isolates
Typedefs
Comments
Single-Line Comments
Multi-Line Comments
Documentation Comments
A Tour of the Dart Libraries
dart:core - Numbers, Collections, Strings, and More
Numbers
Strings and Regular Expressions
Collections
Dates and Times
Utility Classes
Asynchronous Programming
Exceptions
dart:math - Math and Random
Trigonometry
Maximum and Mininum
Math Constants
Random Numbers
More Information
dart:html - Browser-Based Apps
Manipulating the DOM
Using HTTP Resources with HttpRequest
Sending and Receiving Real-Time Data with WebSockets
dart:isolate - Concurrency with Isolates
Isolate Concepts
Using Isolates
More Information
dart:io - I/O for Command-Line Apps
Files and Directories
HTTP Clients and Servers
dart:json - Encoding and Decoding Objects
Decoding JSON
Encoding JSON
dart:uri - Manipulating URIs
Encoding and Decoding Fully Qualified URIs
Encoding and Decoding URI Components
Parsing URIs
Building URIs
dart:utf - Strings and Unicode
Decoding UTF-8 Characters
Encoding Strings to UTF-8 Bytes
Other Functionality
vdart:crypto - Hash Codes and More
Generating Cryptographic Hashes
Generating Message Authentication Codes
Generating Base64 Strings
pub: The Dart Package Manager
Creating a Pubspec
Installing Packages
Importing Libraries from Packages
More Information
Dart Editor
Viewing Samples
Managing the Files View
Creating Apps
Editing Apps
Running Apps
Debugging Apps
Compiling to JavaScript
Other Features
Dartium: Chromium with the Dart VM
Downloading and Installing the Browser
Launching the Browser
Filing Bugs
Linking to Dart Source
Detecting Dart Support
Launching from the Command Line
dart2js: The Dart-to-JavaScript Compiler
Basic Usage
Options
dart: The Standalone VM
Basic Usage
Enabling Checked Mode
Additional Options
Walkthrough: Dart Chat.
How to Run Dart Chat
How Dart Chat Works
The Client’s HTML Code
The Client’s Dart Code
Finding DOM Elements
Wrapping DOM Elements
Updating DOM Elements
Encoding and Decoding Messages
Communicating with WebSockets
The Server’s Code
Serving Static Files
Managing WebSocket Connections
Logging Messages to a File


Download

No comments:

Post a Comment