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
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
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...
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...
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-...
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...
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...
new EnterpriseAuthService.usingService("localhost",8080); var authSvc2 = new EnterpriseAuthService.usingService("example.com",80); var authSvc3 = new Enterpr...
s’s dynamic property. Remember ■ Everything “is-an” object. ■ Object defines the toString() and noSuchMethod(name, args) methods, which you can override in y...
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...
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Add Tag
Enter tag name (max 50 characters)
Share E-Book
Dart in Action (Chris Buckett)(Z-Library)
Scan QR code with your phone to access
Copy the link or scan the QR code to access this e-book on your phone
Share E-Book via Email
Please enter email address
Donation Statistics
¥.00
Total Donations
0
Donation Count
Dart in Action (Chris Buckett)(Z-Library)
Find Your Favorite Books
Only registered users can comment after logging in. Comments need to be reviewed by administrators before being displayed
Loading comments...
Reply to Comment
Edit Comment