Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DART Cookbook

You're reading from   DART Cookbook Over 110 incredibly effective, useful, and hands-on recipes to design Dart web client and server applications

Arrow left icon
Product type Paperback
Published in Oct 2014
Publisher Packt
ISBN-13 9781783989621
Length 346 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Ivo Balbaert Ivo Balbaert
Author Profile Icon Ivo Balbaert
Ivo Balbaert
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Working with Dart Tools FREE CHAPTER 2. Structuring, Testing, and Deploying an Application 3. Working with Data Types 4. Object Orientation 5. Handling Web Applications 6. Working with Files and Streams 7. Working with Web Servers 8. Working with Futures, Tasks, and Isolates 9. Working with Databases 10. Polymer Dart Recipes 11. Working with Angular Dart Index

What this book covers

Chapter 1, Working with Dart Tools, talks about increasing your mastery of the Dart tools and platform. We discuss some of the more advanced and hidden features of the Dart Editor, such as configuration, compilation to JavaScript, and the pub package manager. When relevant, we also take a look at how to perform tasks with command-line tools.

Chapter 2, Structuring, Testing, and Deploying an Application, focuses mainly on all the different tasks in the life cycle of your project that make it more professional, helping you save a lot of time during the maintenance phase. This includes structuring the project and installing a logging tool in it and then testing, documenting, profiling, and publishing it.

Chapter 3, Working with Data Types, is about working with the different data types Dart has to offer. We will talk about the basic data types as well as strings, random numbers, complex numbers, dates and times, enums, and lists. Along the way, we will cover many tricks that will help you out in specific circumstances.

Chapter 4, Object Orientation, delves deeper into the object-oriented nature of Dart to find some new techniques and insights that will help us to be more productive in building our apps.

Chapter 5, Handling Web Applications, covers a wide range of web-related topics dealing with safety, browser storage, caching, event handling, WebGL, and of course, Dart working together with JavaScript.

Chapter 6, Working with Files and Streams, shows you how to work with files in different circumstances, both in synchronous and asynchronous ways. We will delve into the code to download a file both on a web and server clients, with blobs as a special case. We also discuss how transforming a stream works.

Chapter 7, Working with Web Servers, looks at how you can write full-fledged and performant web servers in Dart, more specifically how to receive data on the server, how to serve files, and how to deploy a web service. Sockets and their secure variants, as well as web sockets, are also discussed.

Chapter 8, Working with Futures, Tasks, and Isolates, concentrates on the asynchronous tools in Dart to write elegant code in future and combine their possibilities with the execution of tasks and isolates to enhance the concurrency of our apps.

Chapter 9, Working with Databases, explains how to store data in databases, on the client or server or both. On the client side, we look at IndexedDB and the Lawndart data manager. Then, we investigate how to store data on the server in SQL as well as NoSQL database systems.

Chapter 10, Polymer Dart Recipes, shows how to use Polymer to modularize the way a web client interface is built by using web components that encapsulate structure, style, and behavior. The structure and style come from a combination of HTML5 and CSS with special extensions that enable two-way data binding. Behavior is described by code contained in a class that hooks up with the component.

Chapter 11, Working with Angular Dart, covers how Angular makes it possible to write web-based apps with Model-View-Controller (MVC) capabilities in order to make both development and testing easier. The templating system is discussed along with controllers, components, views, formatters, and services.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image