03.03.2015 Views

2000115-Strengthening-Communities-with-Neighborhood-Data

2000115-Strengthening-Communities-with-Neighborhood-Data

2000115-Strengthening-Communities-with-Neighborhood-Data

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Progress in <strong>Data</strong> and Technology 123<br />

nearby restaurants, and the user’s preferences are pulled from another. It<br />

matters not at all whether the provider of restaurant data uses completely<br />

different tech platforms than the provider of food preference data. All that<br />

matters is that they both quickly deliver data in a machine-readable format<br />

after submitting a valid service request. The most famous mashup factory<br />

in existence today is the ubiquitous Google Map, which combines the customer’s<br />

personal data—a file in Keyhole Markup Language (KML) format<br />

on a local device—<strong>with</strong> Google’s Map engine.<br />

Mashups work because data providers publish APIs. An API is essentially<br />

a contract to deliver a specified data product in a specified format<br />

in response to a valid request. Some APIs are freely accessible to all,<br />

while others come <strong>with</strong> a cost. APIs work because the Internet works.<br />

That is, HTTP (hypertext transfer protocol) facilitates the transport of a<br />

relatively large amount of information over a wired or wireless network.<br />

Request in, data out. The network is the highway; HTTP is the transport<br />

company. APIs accept the customer’s order and ship the goods. It’s up<br />

to the receiver to do something <strong>with</strong> those goods. Twitter’s API is a good<br />

example. If you want to find all tweets marked <strong>with</strong> the hashtag #nnip,<br />

you can call the Twitter API and receive a list of those tweets.<br />

But you probably wouldn’t do that unless you were an experienced<br />

web developer. More likely, you’d open your mobile phone and use an<br />

app created by a web developer. You would type #nnip and click Go and<br />

the list would appear. Raw data transformed by a high-skill technician<br />

appears as a finished product for the consumer.<br />

The mashup’s chain of events typically follows a pattern of this kind:<br />

• The user navigates to a web page by using a browser.<br />

• The web browser contacts a web server for the page content.<br />

• The web server pulls data from a local database, but also requests<br />

additional data from a remotely hosted API.<br />

• The user’s browser displays the now-hybridized content (pulled<br />

from two or more servers), including clickable options for further<br />

exploring.<br />

• With each click from the user, the browser itself initiates API<br />

requests for more data from remote servers.<br />

• The new data are displayed in a section of the web page, but the<br />

web page itself does not need to reload when this occurs.<br />

• The process can go on indefinitely <strong>with</strong>out the user ever needing<br />

to reload the web page.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!