Dart By Example

Design and develop modern web applications with Google's bold and productive language through engaging example projects

Dart By Example

This ebook is included in a Mapt subscription
Davy Mitchell

1 customer reviews
Design and develop modern web applications with Google's bold and productive language through engaging example projects
$0.00
$18.00
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785282478
Paperback250 pages

Book Description

Designed to create next generation apps, Google’s Dart offers a much more robust framework and also supersedes JavaScript in several aspects. Familiar yet innovative, compact yet scalable, it blows away the accumulated JavaScript legacy limitations. Dart was designed for great tool-ability and developer productivity, allowing you to create better application faster than before. Google chose it for their billion dollar advertising business and you have its power for your projects too.

This book will introduce you the Dart language starting from its conception to its current form, and where it headed is through engaging substantial practical projects. You will be taken through building typical applications and exploring the exciting new technologies of HTML5.

With example code projects such as a live data monitoring and viewing system, a blogging system, a slides presentation application, and more, then this book will walk you through step by step through building data-driven web applications with ease and speed.

Table of Contents

Chapter 1: Starting the Text Editor
Defining Dart
History of Web scripting
The origins of Dart
Downloading the tools
Building your first application
Debugging a Dart application
Summary
Chapter 2: Advancing the Editor
The next steps for the text editor
Building the dialog package
The command-line app for source code statistics
Building web interfaces with Dart
Compiling to JavaScript
Summary
Chapter 3: Slideshow Presentations
Building a presentation application
Accessing private fields
Mixin' it up
Changing the colors
Adding a date
Timing the presentation
An overview of slides
Handout notes
Summary
Chapter 4: Language, Motion, and Sound
Going fullscreen
Adding metadata
Exploring the intl package
Working with dates
Animating slides
Playing sound in the browser
Summary
Chapter 5: A Blog Server
The Hello World server example
A blog server
Introducing Dart's server frameworks
Deployment
Load testing
Summary
Chapter 6: Blog Server Advanced
Logging
A blog editor
Caching
Watching the filesystem
XML feed generation
The JSON feed generation
Static generation
Introducing the await and async keywords
Load testing revisited
Summary
Chapter 7: Live Data Collection
Kicking off the earthquake monitoring system
Introducing the data source
Exploring the GeoJSON format
Logging
Saving to the database
Introducing the pgAdmin GUI
Observing the Dart VM internals
Unit testing
Summary
Chapter 8: Live Data and a Web Service
Freeing the data
Creating the web service
Recapping the system so far
Consuming application
Summary
Chapter 9: A Real-Time Visualization
Iteration overview
Application overview
Notifying the user of an update
Plotting the user's location
Sorting the feature list
Documenting Dart code with dartdoc
Summary
Chapter 10: Reports and an API
Recapping the earthquake system
Advancing the REST API
Passing parameters to the API
Posting on the API
Summary

What You Will Learn

  • Master the core Dart language, type system, and key development tools
  • Connect to existing web services, process JSON, and create your own framework for the data display
  • Run and debug the Dart server and web applications and compile them in JavaScript
  • Handle form data and encryption
  • Build and deploy server applications on the major OSes and implement the REST API
  • Work with PostgreSQL—an industry standard relational database system
  • Create robust applications with unit tests, documentation, and diagnostic logging
  • Develop command-line applications, and explore the key data structures and libraries

Authors

Table of Contents

Chapter 1: Starting the Text Editor
Defining Dart
History of Web scripting
The origins of Dart
Downloading the tools
Building your first application
Debugging a Dart application
Summary
Chapter 2: Advancing the Editor
The next steps for the text editor
Building the dialog package
The command-line app for source code statistics
Building web interfaces with Dart
Compiling to JavaScript
Summary
Chapter 3: Slideshow Presentations
Building a presentation application
Accessing private fields
Mixin' it up
Changing the colors
Adding a date
Timing the presentation
An overview of slides
Handout notes
Summary
Chapter 4: Language, Motion, and Sound
Going fullscreen
Adding metadata
Exploring the intl package
Working with dates
Animating slides
Playing sound in the browser
Summary
Chapter 5: A Blog Server
The Hello World server example
A blog server
Introducing Dart's server frameworks
Deployment
Load testing
Summary
Chapter 6: Blog Server Advanced
Logging
A blog editor
Caching
Watching the filesystem
XML feed generation
The JSON feed generation
Static generation
Introducing the await and async keywords
Load testing revisited
Summary
Chapter 7: Live Data Collection
Kicking off the earthquake monitoring system
Introducing the data source
Exploring the GeoJSON format
Logging
Saving to the database
Introducing the pgAdmin GUI
Observing the Dart VM internals
Unit testing
Summary
Chapter 8: Live Data and a Web Service
Freeing the data
Creating the web service
Recapping the system so far
Consuming application
Summary
Chapter 9: A Real-Time Visualization
Iteration overview
Application overview
Notifying the user of an update
Plotting the user's location
Sorting the feature list
Documenting Dart code with dartdoc
Summary
Chapter 10: Reports and an API
Recapping the earthquake system
Advancing the REST API
Passing parameters to the API
Posting on the API
Summary

Book Details

ISBN 139781785282478
Paperback250 pages
Read More
From 1 reviews

Read More Reviews