Learning Dart - Second Edition

More Information
Learn
  • Structure your code using functions, classes, generics, packages and libraries
  • Use the power of modern browsers to process and store data
  • Make games by drawing, and using audio and video in the browser
  • Develop an application with a model-driven and spiral-paced approach
  • Discover the Observatory tools for profiling memory and CPU usage of Dart programs
  • Store your app's data in MySQL and MongoDB through Dart
  • Build powerful HTML5 forms, validate and store data in local storage, and use web components to build your own user interface
  • Run your Dart server on an App Engine Managed VM
About

Dart is an open source programming language for the web, developed at Google, with a steadily growing community. It is a single language for both client and server, appropriate for the full range of devices on the web – including phones, tablets, laptops, and servers. It encompasses the lessons of the last two decades of web programming.

This book will give you a thorough overview of Dart, taking you through its ecosystem, syntax, and development principles.

With this book, you will build web games using HTML5, audio, and video, and also dive into processing and displaying data in HTML5 forms with Dart. You will also learn how web components fit together with HTML5, and how to apply them in business web applications of the future. You will discover how to store data on the client, communicate data between client and server with JSON, and store JSON data with MongoDB and MySQL.

Stop solving new challenges with the same old tools – let Dart show you a whole new way.

Features
  • Develop apps for the modern web using Dart and HTML5
  • Clarify and shorten your Dart code using enums
  • Build a complex UI for business applications with Dart's Polymer framework, based on web components
Page Count 382
Course Length 11 hours 27 minutes
ISBN 9781785287626
Date Of Publication 24 Sep 2015
A touch of class – how to use classes and objects
Summary
Spiral 1 – the power of HTML5 forms
Spiral 2 – how to validate data with Dart
Spiral 3 – how to store data in a local storage
Spiral 4 – reading and showing data
Spiral 5 – changing and updating data
Spiral 6 – working with a list of bank accounts
Summary
The model for the memory game
Spiral 1 – drawing the board
Spiral 2 – drawing cells
Spiral 3 – coloring the cells
Spiral 4 – implementing the rules
Spiral 5 – game logic (bringing in the time element)
Spiral 6 – some finishing touches
Spiral 7 – using images
Adding audio to a web page
The Collision Clones game
Adding video to a web page
Summary

Authors

Dzenan Ridjanovic

Dzenan Ridjanovic is a university professor who is planning his early retirement to focus on the development of web applications with Dart, HTML5, web components, and NoSQL databases. For more than 10 years, he was a director of research and development in the Silverrun team (http://www.silverrun.com/), which created several commercial tools to analyze, design, and develop data-driven applications. He was the principal developer of Modelibra tools and frameworks for model-driven development in Java. Currently, he is developing the dartling framework for the design and code generation of Dart models. His projects are on GitHub (https://github.com/dzenanr), where he is considered a Dart expert. He writes about his projects on the On Dart blog (http://dzenanr.github.io/). His courses are available on On Dart Education (http://ondart.me/). He markets his Dart efforts on the On Dart G+ page (https://plus.google.com/+OndartMe). Dzenan Ridjanovic wrote a book in 2009, under the Creative Commons License, entitled Spiral Development of Dynamic Web Applications: Using Modelibra and Wicket.

Ivo Balbaert

Ivo Balbaert has been a lecturer in web programming and databases at CVO Antwerpen, a community college in Belgium. He received a Ph.D. in applied physics from the University of Antwerp in 1986. He worked for 20 years in the software industry as a developer and consultant in several companies, and for 10 years as project manager at the University Hospital of Antwerp. From 2000 onwards, he switched to partly teaching and partly developing software (at KHM Mechelen, CVO Antwerpen). He also wrote an introductory book in Dutch about developing in Ruby and Rails, Programmeren met Ruby en Rails, by Van Duuren Media. In 2012, he authored a book on the Go programming language, The Way To Go, by IUniverse. He wrote a number of introductory books for new programming languages, notably Dart, Julia, Rust, and Red, all published by Packt.