Weitere ähnliche Inhalte Ähnlich wie The Power of Open Data (20) Mehr von Phil Windley (20) Kürzlich hochgeladen (20) The Power of Open Data1. The Power of Open Data
Phillip J. Windley, Ph.D.
CTO, Kynetx
www.windley.com
3. Where is the inspection data?
Johanna Kirk, Deseret News
Unfortunately, not online...
5. The Deseret News built an app...
FA
IL!
!
2003 Deseret News Publishing Company
6. We don’t need the
Department of Agriculture to
build the Web application...
16. With a simple Javascript
bookmarklet, Jon was
able to mashup two
independent Web sites
47. Network effects
happen when
participating makes
the entire network
more valuable
52. Web pages, XML documents,
images, JSON, SVG, and so on
represent these resources
64. HTTP methods are the verbs
POST Create
GET Retrieve
PUT Update
DELETE Delete
65. HTTP methods are the verbs
POST Create
GET Retrieve
PUT Update
DELETE Delete
CRUD
87. Preserve the structure of data
until the last possible minute
Use XML
Use JSON
Use RDFa
Use microformats
Use them all...
109. Play nice with HTTP’s verbs
Queries should use a GET
Use POST to create new resources
110. Play nice with HTTP’s verbs
Queries should use a GET
Use POST to create new resources
Don’t forget PUT and DELETE
125. Document your API and
data structure online
Use HTML documents
Use XML Schemas
Follow conventions
137. Building a Retweeter: The Algorithm
Authenticate
Find relevant tweets in friends timeline
Post them to utahpolitics tweetstream
150. We can use a browser to
discover API functionality
173. That’s the power of
open data
Contact info:
phil@windley.org
www.windley.com
@windley
Hinweis der Redaktion
Because the data was garnered by GRAMMA instead of being online, the application quickly became hopelessly out of date.
Both systems used meaningful URLs and a common format to refer to records about books
Jon’s application was unexpected by either Amazon or the creators of the library software. But he was able to take advantage of their openness to create a useful tool.
The second trend I want to talk about is deperimeterization...
Does this sounds scary? It’s not the first time that it’s happened and it is a good thing...
Cities used to be surrounded by walls to keep the bad guys out.
Commerce happened at fairs that were held weekly, monthly, or seasonally
The trebuchet and other technological advances changed that by knocking down the walls. The cities were deperimeterized.
The consequence was that commerce now happened in markets that were open everyday. Now 24/7.
The World Wide Web is the most successful information system ever invented.
Why did the Web win?
2 devices, 1 connection
5 devices, 10 connections
10 devices, 45 connections
2 devices, 1 connection
5 devices, 10 connections
10 devices, 45 connections
2 devices, 1 connection
5 devices, 10 connections
10 devices, 45 connections
2 devices, 1 connection
5 devices, 10 connections
10 devices, 45 connections
A large, unlimited really, set of nouns and a small, fixed set of universal verbs
Affectionately known as “CRUD” Who says computer scientists can make up cute acronyms?
Affectionately known as “CRUD” Who says computer scientists can make up cute acronyms?
Affectionately known as “CRUD” Who says computer scientists can make up cute acronyms?
Affectionately known as “CRUD” Who says computer scientists can make up cute acronyms?
Affectionately known as “CRUD” Who says computer scientists can make up cute acronyms?
Affectionately known as “CRUD” Who says computer scientists can make up cute acronyms?
Affectionately known as “CRUD” Who says computer scientists can make up cute acronyms?
Affectionately known as “CRUD” Who says computer scientists can make up cute acronyms?
Affectionately known as “CRUD” Who says computer scientists can make up cute acronyms?
Affectionately known as “CRUD” Who says computer scientists can make up cute acronyms?
Some verbs are more universal than others...
That is, the body of the POST or PUT. And thus, the state of the system is affected...
URLs are the nouns of this system. A lingua franca
Is more than one answer appropriate? Then support more than one.
Is more than one answer appropriate? Then support more than one.
Is more than one answer appropriate? Then support more than one.
Is more than one answer appropriate? Then support more than one.
Is more than one answer appropriate? Then support more than one.
Is more than one answer appropriate? Then support more than one.
Lots of tools,
automatic formating (with XSL stylesheet)
heavyweight, hard to parse
Supported by lots of languages
Easy to parse
No schema checking
using HTTP verbs correctly is good for performance and ensures that caches will work properly. Universal verbs should be created whenever possible.
using HTTP verbs correctly is good for performance and ensures that caches will work properly. Universal verbs should be created whenever possible.
using HTTP verbs correctly is good for performance and ensures that caches will work properly. Universal verbs should be created whenever possible.
using HTTP verbs correctly is good for performance and ensures that caches will work properly. Universal verbs should be created whenever possible.
Existing standards means that tools exist to use them.
Existing standards means that tools exist to use them.
Existing standards means that tools exist to use them.
Existing standards means that tools exist to use them.
Existing standards means that tools exist to use them.
Not just arguments, but input, output, and error codes. See Flickr and Twitter APIs for a good examples.
Not just arguments, but input, output, and error codes. See Flickr and Twitter APIs for a good examples.
Not just arguments, but input, output, and error codes. See Flickr and Twitter APIs for a good examples.
Not just arguments, but input, output, and error codes. See Flickr and Twitter APIs for a good examples.
but they didn’t have to because they created an open API to access the data.
but they didn’t have to because they created an open API to access the data.
but they didn’t have to because they created an open API to access the data.
but they didn’t have to because they created an open API to access the data.
but they didn’t have to because they created an open API to access the data.
This isn’t unusual. The creators of data often fail to recognize the true value it contains.
if they lock it up, their data will never be used for anything more than what their limited imaginations can envision.
The answer is to design systems so that they can participate in serendipitous mashups.
But to do that, the data has to be out in the open...