CHAPTER

10

Programming by a sample

Leveraging Web sites to program theirunderlying services

Björn Hartmann,1 Leslie Wu,2 Kevin Collins,2 Scott R. Klemmer21University of California, Berkeley2Stanford University

ABSTRACT

Many popular Web sites offer a public API that allows Web developers to access site data and functionality programmatically. The site and its API offer two complementary views of the same underlying functionality. This chapter introduces d.mix, a Web development tool that leverages this site-to-service correspondence to rapidly create Web-service based applications. With d.mix, users browse annotated Web sites and select elements on the page they would like to access programmatically. It then generates code for the underlying Web ...

Get No Code Required 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.