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. ...
Get Dart in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.