Muutke küpsiste eelistusi

E-raamat: Dart: Up and Running: A New, Tool-Friendly Language for Structured Web Apps

  • Formaat: 158 pages
  • Ilmumisaeg: 26-Oct-2012
  • Kirjastus: O'Reilly Media
  • Keel: eng
  • ISBN-13: 9781449330873
Teised raamatud teemal:
  • Formaat - PDF+DRM
  • Hind: 12,29 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: 158 pages
  • Ilmumisaeg: 26-Oct-2012
  • Kirjastus: O'Reilly Media
  • Keel: eng
  • ISBN-13: 9781449330873
Teised raamatud teemal:

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Get up to speed on Dart, the web development language that not only matches the dynamic nature of JavaScript, but addresses its problems as well. This practical book gets you up to speed on the language, libraries, and tools for developing structured, fast, and maintainable web apps that run in most browsers.

Google designed the Dart platform to scale from simple scripts to complex apps, running on both the client and the server. With this book, you’ll learn how Dart can help you architect and develop HTML5 apps for the modern Web.

  • Build web apps with the class-based, object-oriented Dart language, and compile your code to JavaScript
  • Learn how to use Dart features, from variables to operators to classes and libraries
  • Create, launch, and debug web and command-line apps with the Dart Editor
  • Get a tour of Dart libraries, including dart:core, dart:html, dart:isolate, dart:io, and dart:json
  • Become familiar with tools such as Dartium, the Chromium-based browser that includes the Dart virtual machine
  • Get a walkthrough of Dart Chat, a client-server app in which both the client and the server are implemented in Dart
Foreword ix
Preface xi
1 Quick Start
1(10)
Why Google Created Dart
1(2)
A Quick Look at the Dart Language
3(1)
What's Cool About Dart
3(2)
Up and Running
5(6)
Step 1 Download and Install the Software
5(1)
Step 2 Launch the Editor
5(1)
Step 3 Create and Run an App
6(2)
Step 4 Open and Run a Sample
8(1)
What Next?
9(2)
2 A Tour of the Dart Language
11(44)
A Basic Dart Program
11(1)
Important Concepts
12(1)
Runtime Modes
13(1)
Variables
13(2)
Default Value
14(1)
Optional Types
14(1)
Final and Const
14(1)
Built-in Types
15(5)
Numbers
15(2)
Strings
17(1)
Booleans
18(1)
Lists
19(1)
Maps
19(1)
Functions
20(3)
Optional Parameters
21(1)
Functions as First-Class Objects
22(1)
Lexical Closures
23(1)
Return Values
23(1)
Operators
23(6)
Arithmetic Operators
24(2)
Equality and Relational Operators
26(1)
Type Test Operators
26(1)
Assignment Operators
27(1)
Logical Operators
27(1)
Bitwise and Shift Operators
28(1)
Other Operators
28(1)
Control Flow Statements
29(4)
If and Else
29(1)
For Loops
29(1)
While and Do-While
30(1)
Break and Continue
30(1)
Switch and Case
31(1)
Assert
32(1)
Exceptions
33(1)
Throw
33(1)
Catch
33(1)
Finally
34(1)
Classes
34(11)
Instance Variables
35(1)
Constructors
36(4)
Methods
40(2)
Abstract Classes
42(1)
Implicit Interfaces
43(1)
Extending a Class
43(1)
Class Variables and Methods
44(1)
Generics
45(2)
Why Use Generics?
45(1)
Using Collection Literals
46(1)
Using Constructors
46(1)
Generic Collections and the Types they Contain
47(1)
Libraries and Visibility
47(3)
Using Libraries
47(1)
Implementing Libraries
48(2)
Isolates
50(1)
Typedefs
50(1)
Comments
51(2)
Single-Line Comments
52(1)
Multi-Line Comments
52(1)
Documentation Comments
52(1)
Summary
53(2)
3 A Tour of the Dart Libraries
55(40)
dart:core - Numbers, Collections, Strings, and More
55(14)
Numbers
55(1)
Strings and Regular Expressions
56(3)
Collections
59(5)
Dates and Times
64(1)
Utility Classes
65(2)
Asynchronous Programming
67(2)
Exceptions
69(1)
dart:math - Math and Random
69(2)
Trigonometry
69(1)
Maximum and Mininum
70(1)
Math Constants
70(1)
Random Numbers
70(1)
More Information
71(1)
dart:html - Browser-Based Apps
71(8)
Manipulating the DOM
71(4)
Using HTTP Resources with HttpRequest
75(3)
Sending and Receiving Real-Time Data with WebSockets
78(1)
dart:isolate - Concurrency with Isolates
79(4)
Isolate Concepts
80(1)
Using Isolates
80(3)
More Information
83(1)
dart:io - I/O for Command-Line Apps
83(6)
Files and Directories
84(3)
HTTP Clients and Servers
87(2)
dart:json - Encoding and Decoding Objects
89(1)
Decoding JSON
89(1)
Encoding JSON
89(1)
dart:uri - Manipulating URIs
90(2)
Encoding and Decoding Fully Qualified URIs
90(1)
Encoding and Decoding URI Components
91(1)
Parsing URIs
91(1)
Building URIs
91(1)
dart:utf - Strings and Unicode
92(1)
Decoding UTF-8 Characters
92(1)
Encoding Strings to UTF-8 Bytes
92(1)
Other Functionality
93(1)
dart:crypto - Hash Codes and More
93(1)
Generating Cryptographic Hashes
93(1)
Generating Message Authentication Codes
94(1)
Generating Base64 Strings
94(1)
Summary
94(1)
4 Tools
95(18)
pub: The Dart Package Manager
95(2)
Creating a Pubspec
95(1)
Installing Packages
95(2)
Importing Libraries from Packages
97(1)
More Information
97(1)
Dart Editor
97(10)
Viewing Samples
97
Managing the Files View
93(1)
Creating Apps
93(6)
Editing Apps
99(4)
Running Apps
103(2)
Debugging Apps
105(1)
Compiling to JavaScript
106(1)
Other Features
106(1)
Dartium: Chromium with the Dart VM
107(3)
Downloading and Installing the Browser
107(1)
Launching the Browser
108(1)
Filing Bugs
109
Linking to Dart Source
108(1)
Detecting Dart Support
109(1)
Launching from the Command Line
109(1)
dart2js: The Dart-to-JavaScript Compiler
110(1)
Basic Usage
110(1)
Options
110(1)
dart: The Standalone VM
110(1)
Basic Usage
110(1)
Enabling Checked Mode
111(1)
Additional Options
111(1)
Summary
111(2)
5 Walkthrough: Dart Chat
113
How to Run Dart Chat
113(1)
How Dart Chat Works
114(1)
The Client's HTML Code
115(1)
The Client's Dart Code
115(5)
Finding DOM Elements
116(1)
Wrapping DOM Elements
117(1)
Updating DOM Elements
118(1)
Encoding and Decoding Messages
119(1)
Communicating with WebSockets
119(1)
The Server's Code
120(3)
Serving Static Files
120(1)
Managing WebSocket Connections
121(1)
Logging Messages to a File
122(1)
What Next?
123
Kathy is a technical writer who's worked on docs for Chrome and other developer APIs at Google since 2006. Before that, she worked at Sun, NeXT, and HP. Back when the web was young, she wrote the first doc to help developers write Java applets. She also co-created The Java Tutorial and maintained it for a very long time. Seth is a Developer Advocate with the Chrome team. He is a conference organizer (Aloha on Rails, New Game), author (Expert Spring MVC), helped publish Angry Birds for the web, and is a big fan of HTML5 and the modern web.