YouTube home Comedy Week on YouTube
Upload

REST+JSON API Design - Best Practices for Developers

gostormpath gostormpath·7 videos
176
10,263
Like     Dislike 1

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to like gostormpath's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to dislike gostormpath's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to add gostormpath's video to your playlist.

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

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

The interactive transcript could not be loaded.

Loading icon Loading...

Loading icon Loading...

Ratings have been disabled for this video.
Rating is available when the video has been rented.
This feature is not available right now. Please try again later.

Uploader Comments (gostormpath)

  • Florin Jurcovici

    Did you publish the slides somewhere?

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Florin Jurcovici's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Florin Jurcovici's comment.
  • gostormpath

    Florin - I just added a link to the slides in the description. Enjoy!

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate gostormpath's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate gostormpath's comment.
    in reply to Florin Jurcovici (Show the comment)

All Comments (6)

Sign in now to post a comment!
  • MajiD Fatemian

    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 with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate MajiD Fatemian's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate MajiD Fatemian's comment.
  • waynemokane

    Is there a link to the Q&A at the end?

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate waynemokane's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate waynemokane's comment.
  • kristjanmik

    Great talk!

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate kristjanmik's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate kristjanmik's comment.
  • Loading comment...
Loading...
Loading...
Working...
Sign in to add this to Watch Later