Dev sum hypemedia talk
-
Upload
glenn-block -
Category
Technology
-
view
294 -
download
0
Transcript of Dev sum hypemedia talk
![Page 1: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/1.jpg)
Would you like some Hypermedia with thatAPI?
Glenn Block@gblock
![Page 2: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/2.jpg)
https://github.com/glennblockhttps://twitter.com/gblock
“I should be tweeting"
![Page 3: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/3.jpg)
3
![Page 4: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/4.jpg)
4
Make machine data accessible, usable and valuable to everyone.
![Page 5: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/5.jpg)
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
![Page 6: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/6.jpg)
Hypermedia Primer
![Page 7: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/7.jpg)
Hypermedia Primer
![Page 8: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/8.jpg)
What is Hypermedia?
Control information that an API provides to clients to help them navigate the
system
issue
Next
approve
![Page 9: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/9.jpg)
LinksEmbedded links which a
client can follow
Catalog
Next
Previous
![Page 10: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/10.jpg)
FormsControls which “ask” clients for information to help them
move from state to state
Name
Title
Descrip-tion
![Page 11: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/11.jpg)
How does hypermedia
work?Server embeds hypermedia
controls for the client (links and forms)
API
![Page 12: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/12.jpg)
Clients identifies available controls
Client
How does hypermedia
work?
![Page 13: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/13.jpg)
Client activates the controlClient
How does hypermedia
work?
![Page 14: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/14.jpg)
Our APIIssue tracker
![Page 15: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/15.jpg)
Clients can retrieve issues
Clients can retrieve a single issue
Clients can open or close an issue
Clients can search for issues
![Page 16: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/16.jpg)
Collection+JSON
![Page 17: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/17.jpg)
Let’s see how to implement it
Implemented with ASP.NET Web API
Xunit and Xbehave for Unit Tests
Autofac for IOC
CollectionJson.NET
![Page 18: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/18.jpg)
More information
http://github.com/webapibook/issuetracker
http://amundsen.com/media-types/collection
![Page 19: Dev sum hypemedia talk](https://reader037.fdocuments.in/reader037/viewer/2022103016/554a1703b4c905825d8b4f11/html5/thumbnails/19.jpg)
@gblock http://github.com/glennblock
http://www.flickr.com/photos/11812960@N04/4050576435