O'Reilly logo

Dart: Scalable Application Development by Ivo Balbaert, Sergey Akopkokhyants, Davy Mitchell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Handling Web Applications

In this chapter, we will cover the following recipes:

  • Responsive design
  • Sanitizing HTML
  • Using a browser's local storage
  • Using an application cache to work offline
  • Preventing an onSubmit event from reloading the page
  • Dynamically inserting rows in an HTML table
  • Using CORS headers
  • Using keyboard events
  • Enabling drag-and-drop
  • Enabling touch events
  • Creating a Chrome app
  • Structuring a game project
  • Using WebGL in your app
  • Authorizing OAuth2 to Google services
  • Talking with JavaScript
  • Using JavaScript libraries

Introduction

Web applications are what Dart was made for, so it comes as no surprise that we have a lot of questions to deal with in this area. Dart here as a client language presents itself as an alternative to JavaScript (to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required