Dev sum hypemedia talk
-
Upload
glenn-block -
Category
Technology
-
view
294 -
download
0
Transcript of Dev sum hypemedia talk
Would you like some Hypermedia with thatAPI?
Glenn Block@gblock
https://github.com/glennblockhttps://twitter.com/gblock
“I should be tweeting"
3
4
Make machine data accessible, usable and valuable to everyone.
Platform for Machine DataAny Machine Data
HA Indexes and Storage
Search and Investigation
Proactive Monitoring
Operational Visibility
Real-time Business Insights
CommodityServers
Online Services
Web Services
ServersSecurity
GPS Location
StorageDesktops
Networks
Packaged Applications
CustomApplicationsMessaging
TelecomsOnline
Shopping Cart
Web Clickstreams
Databases
Energy Meters
Call Detail Records
Smartphones and Devices
RFID
Hypermedia Primer
Hypermedia Primer
What is Hypermedia?
Control information that an API provides to clients to help them navigate the
system
issue
Next
approve
LinksEmbedded links which a
client can follow
Catalog
Next
Previous
FormsControls which “ask” clients for information to help them
move from state to state
Name
Title
Descrip-tion
How does hypermedia
work?Server embeds hypermedia
controls for the client (links and forms)
API
Clients identifies available controls
Client
How does hypermedia
work?
Client activates the controlClient
How does hypermedia
work?
Our APIIssue tracker
Clients can retrieve issues
Clients can retrieve a single issue
Clients can open or close an issue
Clients can search for issues
Collection+JSON
Let’s see how to implement it
Implemented with ASP.NET Web API
Xunit and Xbehave for Unit Tests
Autofac for IOC
CollectionJson.NET
More information
http://github.com/webapibook/issuetracker
http://amundsen.com/media-types/collection
@gblock http://github.com/glennblock
http://www.flickr.com/photos/11812960@N04/4050576435