Breaking API Changes for Good
Description:hat happens when you have a bug in your API, and you need to fix it for some clients (the updated ones), but not for others? This screencast illustrates a strategy for adjusting an API's behavior for specif...
Handling Async Results
Description:Throwing errors and completion handlers have pros and cons, and can’t be used in all situations. Here we examine some strategies for writing elegant async error-handling code with closures and associated-val...
Rails APIs #2 - Deploying
Description:Whether you are building a prototype or a business critical product, Heroku makes it easy to deploy and scale web applications. If you’ve never run a production web application before this might sound intimi...
Rails APIs #4 - Custom Actions
Description:In this screencast, we’ll follow up on our previous videos in this series and show you how to rewrite custom controller actions in Rails.
Rails APIs #3 - Authentication
Description:In a previous screencast we set up a simple Rails web service for todos and deployed it to production. But right now there's no authorization on it, which means anyone can come along and modify our data. In ...
Rails APIs #6 - Authorization Rules
Description:In a previous video we set up authentication for our Rails API, so that only logged in users can make changes. But sometimes more sophisticated rules are needed. In this screencast, we'll learn how to succes...
Rails APIs #7 - Testing Web Services
Description:In a previous screencasts, we built out a simple but full-featured web service. We have several tables of related data, validation, default values, and authorization. This is great, but it’s also starting to...
Rails APIs #5 - Associations and Nested Routes
Description:In this screencast, we’ll use the Doorkeeper gem makes it easy to add authentication to Rails APIs using the OAuth 2 standard.
Testing in Node #4 - Integration Testing (Part 1)
Description:Integration tests describe a server’s overall behavior and capabilities. These tests can quickly expose failing systems, help developers isolate bugs and make server-sized refactors safer. In this screencast...
Storing Secure Data in the Keychain
Description:Storing secure data (like login data) in UserDefaults or the file system is not safe. The keychain is an encrypted database where secure data such as credentials, tokens, and notes should be stored. In this ...
CameraX API #1 - Getting Started
Description:In the first screencast, you will set up a project to use CameraX and create a TextureView that will act as our camera preview display.
CameraX API # 2 - Requesting Camera Permissions
Description:Any app that utilizes the user’s smartphone camera must request permission from the user first. In the second screencast, you will create a feature that requests permission to use the camera from the user.
CameraX API #3 - Capturing your First Photo
Description: In this screencast, we will finish setting up the camera preview from the first video and implement image capture capabilities for your app.