Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Chris Buckett

Rating No ratings yet

Summary Dart in Action introduces Google's Dart language and provides techniques and examples showing how to use it as a viable replacement for Java and JavaScript in browser-based desktop and mobile applications. It begins with a rapid overview of Dart language and tools, including features like interacting with the browser, optional typing, classes, libraries, and concurrency with isolates. After you master the core concepts, you'll move on to running Dart on the server and creating single page HTML5 web applications. About the Technology Dart is a web programming language developed by Google. It has modern OO features, just like Java or C#, while keeping JavaScript's dynamic and functional characteristics. Dart applications are "transpiled" to JavaScript, and they run natively in Dart-enabled browsers. With production-quality libraries and tools, Dart operates on both the client and the server for a consistent development process. About this Book Dart in Action introduces the Dart language and teaches you to use it in browser-based, desktop, and mobile applications. Not just a language tutorial, this book gets quickly into the nitty-gritty of using Dart. Most questions that pop up while you're reading are answered on the spot! OO newbies will appreciate the gentle pace in the early chapters. Later chapters take a test-first approach and encourage you to try Dart hands-on. To benefit from this book you'll need experience with HTML and JavaScript?a Java or C# background is helpful but not required. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Dart from the ground up Numerous code samples and diagrams Creating single-page web apps Transitioning from Java, C#, or JavaScript Running Dart in the browser and on the server About the Author Chris Buckett builds enterprise-scale web applications. He runs Dartwatch.com and is an active contributor to the da

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Brief outline
【One-Line Pitch】 Summary Dart in Action introduces Google's Dart language and provides techniques and examples showing how to use i… 【Book Arc】 - **Opening (~0%–12%)**: After you master the core concepts, you'll move on to running Dart on the server and creating single page HTML5 web applications.; In chapter 3, you’ll build an example web app, getting a taste of how Dart inter- acts with the browser. - **Early (~12%–35%)**: } String sayHello(name) "Hello name";; ay to communicate between isolates is via message passing. - **Middle (~35%–65%)**: Element private property as shown in the following listing.; dynamic mix(item1, item2) {...snip...} No return type specified specifying dynamic return type. - **Late (~65%–88%)**: ger application by adding Packing a library statement.; rs, setters, and properties in interfaces library logonlib; - **Ending (~88%–100%)**: s is valid, but no add() method is defined on the base Col- lection interface.; placeholder in class permissions.add(ReaderPermission.ALLOW_READ); 【Key Takeaways】 - **After you master the c…** (Opening): After you master the core concepts, you'll move on to running Dart on the server and creating single page HTML5 web applications. - **In chapter 3** (Opening): In chapter 3, you’ll build an example web app, getting a taste of how Dart inter- acts with the browser. - **ly and accurately than…** (Opening): ly and accurately than ever before. - **} String sayHello(name…** (Early): } String sayHello(name) "Hello name"; - **ay to communicate betw…** (Early): ay to communicate between isolates is via message passing. - **print statement Summar…** (Early): print statement Summary 39Remember Dart uses the dart:html library to provide access to browser DOM APIs and elements. 【Reading Tips】 - Use Passage locations below to jump into the text and set reading anchors - If this is a brief outline, click Regenerate (top right) for a synthesized guide 【Coverage Limits】 Compressed outline without the model (~33 index chunks). Full structured guide needs AI available.
Excerpt 1
ning Dart in the browser and on the server About the Author Chris Buckett builds enterprise-scale web applications. He runs Dartwatch.com and is an active co...
View in text
Excerpt 2
ay to communicate between isolates is via message passing. Isolates are also used for loading external code dynamically. You can provide code outside of your...
View in text
Excerpt 3
f contains a body element property. Reference this document.body property in code, using the form document.body.children.add(...some element...) TIP The top-...
View in text
Excerpt 4
n in the following snippet: Calls mix function and stores i var mortar = mix(sand, cement); return value in mortar variab var mixFunction = mix; Stores funct...
View in text
Excerpt 5
declare classes and functions in your library, they will be accessible to end users; but fortunately Dart lets you declare items as private by prefix- ing th...
View in text
Excerpt 6
new EnterpriseAuthService.usingService("localhost",8080); var authSvc2 = new EnterpriseAuthService.usingService("example.com",80); var authSvc3 = new Enterpr...
View in text
Excerpt 7
s’s dynamic property. Remember ■ Everything “is-an” object. ■ Object defines the toString() and noSuchMethod(name, args) methods, which you can override in y...
View in text
Excerpt 8
ion on generics, which is an advanced topic in any language. Generics are a powerful feature of many modern class-based languages, and the principles here ar...
View in text
Tags
AI categories
JavaScript
ISBN: 1617290866
Publish Year: 2013
Language: English
Pages: 424
File Format: PDF
File Size: 15.6 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…