Skip to Main Content
Dart in Action
book

Dart in Action

by Chris Buckett
January 2013
Beginner content levelBeginner
424 pages
13h 26m
English
Manning Publications
Content preview from Dart in Action

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. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Dart: Up and Running

Dart: Up and Running

Kathy Walrath, Seth Ladd
Dart: Scalable Application Development

Dart: Scalable Application Development

Davy Mitchell, Sergey Akopkokhyants, Ivo Balbaert
Web Programming with Dart

Web Programming with Dart

Moises Belchin, Patricia Juberias

Publisher Resources

ISBN: 9781617290862Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link