O'Reilly logo

Dart in Action by Chris Buckett

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 12. Communicating with other systems and languages

This chapter covers

  • Interacting with JavaScript
  • Getting data from external servers with JSONP
  • Running an app without a server
  • Packaging an installable Chrome app

Although you can write an app entirely in Dart, that isn’t the end of the story. Dart apps live in a wider ecosystem encompassing browser apps, existing JavaScript frameworks and libraries, and APIs on third-party servers. Each of these environments has its own challenges in the areas of server availability, browser security, and communication between different virtual machines.

In this chapter, you’ll modify the DartExpense app to interact with external JavaScript by passing messages between the Dart and JavaScript VMs. ...

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