On September 14th, 2017, we published revised versions of our Privacy Policy, Terms of Service and Website Use Policy and published a Cookie Policy. Your continued use of Lynda.com means you agree to these revised documents, so please take a few minutes to read and understand them.

Using the exercise files

- [Instructor] All of the labs, or exercisesfor this course have code samples.Simply open the exercise files folder,navigate to the chapter you need,and open the section you need.For each section, we have structured the codeso you have a before, or starting state in one folder.This is useful to make sure you'restarting from the same place I am.Then, we have a second after,or finished state in a separate folder.If you followed along with my hands on coding,this should be your result.

Resume Transcript Auto-Scroll

Author

Released

10/10/2016

A well-designed API includes not just URLs and response codes but also authentication, consistent structures, and useful JSON payloads. Luckily, the Slim micro framework makes it easy to move an API from concept to implementation to production. What used to take weeks or even months can usually be done in hours or days with Slim.

This course begins with a simple application specification and builds it one step at a time. Each chapter includes a key concept, with examples from other public APIs, and then shows how to build it yourself with Slim. Learn about URL routing, validating input, and generating response codes and hypermedia payloads. Like any project, the first implementation may be a little messy but don't worry. The last chapter covers refactoring and what it takes to scale and support the API going forward.