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 (https://www.stormpath.com/) and PMC of Apache Shiro.
Slides : http://www.slideshare.net/stormpath/r...
Create, Update and HTTP Idempotence: http://www.stormpath.com/blog/put-or-...
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
Standard YouTube License
- 2:00:00 Beautiful REST + JSON APIs with JAX-RS and Jerseyby gostormpath9,013 views
- 29:33 How to Secure Passwords - Developer Best Practicesby gostormpath4,454 views
- 16:13 Secure Your API - Tips for REST + JSON Developersby gostormpath6,620 views
- 1:19:34 Security in the Cloud Part 2: How to Keep Data Secure (Cloud Mafia 10/4)by gostormpath634 views
- 1:00:15 How To Design A Good API and Why it Mattersby GoogleTalksArchive21,688 views
- 1:24:00 The Interaction Design of APIsby StanfordUniversity9,199 views
- 13:57 Intro to RESTby GoogleDevelopers200,191 views
- 37 videos Play all JSON....by sudeepdk786
- 1:00:18 How To Design A Good API and Why it Mattersby GoogleTechTalks200,649 views
- 55:43 Google I/O 2010 - How Google builds APIsby GoogleDevelopers30,087 views
- 1:34:25 Designing a REST-ful API using Spring 3by SpringSourceDev22,566 views
- 1:13:32 Building HTTP Services with ASP.NET Web APIby TECHED16,832 views
- 14:46 Introductionn to RESTful WebServies (Part 1) : NetBeans 6.9by JavaMagArticles19,745 views
- 50:05 Introduction to REST and the Restlet Frameworkby Philip Johnson15,314 views
- 14:35 WCF :- What is REST ( Representational state transfer ) ?by .NET Interview Preparation videos46,396 views
- 54:56 OAuth for your API: The Big Picture! - Webinarby apigee11,082 views
- 1:25:53 Designing a Beautiful REST+JSON APIby NewCircle Training48,951 views
- 20:23 An Introduction to JSONby webzealous41,115 views