If you want to become a developer for the modern web, or wish to add Dart to your tool belt, then this book is for you. The book assumes you have basic HTML experience and know how web applications work. Some previous programming experience, preferably in a modern language like C#, Java, Python, Ruby or JavaScript, will give you a head start. You can work with Dart on your preferred platform, be it Linux, Mac OS X or Windows.
What You Will LearnStructure your code using functions, classes, generics, packages and librariesUse the power of modern browsers to process and store dataMake games by drawing, and using audio and video in the browserDevelop an application with a model-driven and spiral-paced approachDiscover the Observatory tools for profiling memory and CPU usage of Dart programsStore your app's data in MySQL and MongoDB through DartBuild powerful HTML5 forms, validate and store data in local storage, and use web components to build your own user interfaceRun your Dart server on an App Engine Managed VMIn DetailDart 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.
Style and approachThis book provides you a project-based approach, with everything you need to start or enhance your career in the future of web development with Dart. It follows the spiral approach: each project builds up in successive spirals, adding new features in each step.
Ivo Balbaert is currently a web programming and databases lecturer at CVO Antwerpen (www.cvoantwerpen.be), a community college in Belgium. He received a PhD in applied physics in 1986 from the University of Antwerp. He worked for 20 years in the software industry as a developer and consultant in several companies, and, for 10 years, as a project manager at the University Hospital of Antwerp. In 2000, he switched over to partly teach and partly develop software (KHM Mechelen, CVO Antwerp). He also wrote Programmeren met Ruby en Rails, an introductory book in Dutch about developing in Ruby and Rails, by Van Duuren Media. In 2012, he authored The Way To Go, a book on the Go programming language by IUniverse. In 2014, he wrote Learning Dart (in collaboration with Dzenan Ridzanovic) and Dart Cookbook, both by Packt Publishing. Finally, in 2015, he wrote Getting started with Julia and Rust Essentials, both by Packt Publishing.
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 (http://www.modelibra.org/) 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 (http://osrc.dfm.io/dzenanr). 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 (http://www.modelibra.org/).