REST+JSON API Design - Best Practices for Developers
Sign in to YouTube
Sign in to YouTube
Sign in to YouTube
Published on Oct 2, 2012
Presentation to Silicon Valley Java Users Group in August 2012 by Les Hazlewood, CTO of Stormpath and PMC of Apache Shiro.
Slides : http://www.slideshare.net/stormpath/r...
Designing a really clean and intuitive REST + JSON API is no small feat. You have to worry about resources, collections of resources, pagination, query parameters, references to other resources, which HTTP Methods to use, HTTP Caching, security, and more! And you have to make sure it lasts and doesn't break clients as you add features over time. Further, while there are many references on creating REST APIs with XML, there are much fewer references for REST + JSON.
In this presentation, Les Hazlewood - Stormpath CTO and Apache Shiro PMC Chair - will share all of the golden nuggets learned while designing, implementing and supporting JSON-based REST APIs, using examples from a clean real-world REST+JSON API built with Java technologies. He will cover:
-- JSON-based data formats in a RESTful API
-- References to other JSON-based resources (aka 'linking').
-- Resource collections and pagination
-- How to map (and how not to map) HTTP methods to Resource CRUD
-- Resource partial updates
-- Supporting HTTP Method Overloading for clients that don't support HTTP PUT and DELETE
-- API versioning strategies
-- Meaningful Error responses
-- Many-to-many resource relationships
-- HTTP Caching and Optimistic concurrency control.
-- Authentication and Security
Les Hazlewood is co-founder and CTO of Stormpath and the Apache Shiro PMC Chair. Prior to forming Stormpath, he held senior architectural positions at Bloomberg and Delta Airlines and he was former CTO of a software engineering firm supporting educational and government agencies. Les has been actively involved in Open Source development for more than 10 years, committing or contributing to projects like the Spring Framework, JBoss, and of course Apache Shiro. Les has a BS in Computer Science from Georgia Tech, currently lives in San Mateo, CA and practices Kendo and studies Japanese when he's not banging out code.
For more information, visit us at http://www.stormpath.com
-
Category
-
License
Standard YouTube License
Loading...
Loading...
Loading...
Loading...
Loading...
-
8:45
Bus Rapid Transit System Ahmedabadby gajanangaikwadFeatured
52,913
-
2:00:00
Beautiful REST + JSON APIs with JAX-RS and Jerseyby gostormpath
2,507 views
-
29:33
How to Secure Passwords - Developer Best Practicesby gostormpath
2,243 views
-
16:13
Secure Your API - Tips for REST + JSON Developersby gostormpath
2,005 views
-
1:19:34
Security in the Cloud Part 2: How to Keep Data Secure (Cloud Mafia 10/4)by gostormpath
214 views
-
48:18
RESTful API Design - Pragmatic REST - Webinarby apigee
8,753 views
-
43:28
Jakub Podlesak "RESTful Java with JAX-RS 2.0 and Jersey"by JDDConference
407 views
-
37:50
JAX-RS 2.0: RESTful Java on Steroids, by Arun Guptaby Codemotion Roma
1,590 views
-
1:56:15
RESTful Services with ASP.NET MVCby DeveloperExpress
20,810 views
-
1:00:15
How To Design A Good API and Why it Mattersby GoogleTalksArchive
12,677 views
-
57:23
Advanced Topics in Programming Languages: The Java Memory Modelby GoogleTalksArchive
9,763 views
-
1:13:28
The Lazy Programmer's Guide to Secure Computingby GoogleTechTalks
39,864 views
-
14:46
Introductionn to RESTful WebServies (Part 1) : NetBeans 6.9by JavaMagArticles
15,876 views
-
55:43
Google I/O 2010 - How Google builds APIsby GoogleDevelopers
25,556 views
-
1:00:21
O'Reilly Webcast: Git in One Hourby OreillyMedia
94,373 views
-
46:37
Best Practices in Java Enterprise Monitoringby OracleLearning
133 views
-
1:20:11
Advance Java Series (Session 1)_ Effective use of Collection Frameworkby Techgig Moderator
6,693 views
-
58:56
Google I/O 2012 - OAuth 2.0 for Identity and Data Accessby GoogleDevelopers
12,753 views
-
1:16:52
Best Practices for Software Developers - Workshop Day 1by seeqnceTV
1,491 views
-
13:16
What is JSON-LD?by Manu Sporny
8,035 views
- Loading more suggestions...
Uploader Comments (gostormpath)
Florin Jurcovici 5 days ago
Did you publish the slides somewhere?
Sign in to YouTube
Sign in to YouTube
gostormpath 5 days ago
Florin - I just added a link to the slides in the description. Enjoy!
Sign in to YouTube
Sign in to YouTube
All Comments (6)
MajiD Fatemian 9 hours ago
This is awesome.
This should be documented and made publicly available as best practices for implementing REST APIs.
This has been well researched and thought.
Thanks for sharing.
Sign in to YouTube
Sign in to YouTube
waynemokane 1 week ago
Is there a link to the Q&A at the end?
Sign in to YouTube
Sign in to YouTube
kristjanmik 1 month ago
Great talk!
Sign in to YouTube
Sign in to YouTube