Please log in to watch this conference skillscast.
We all want to produce code that is easy to test and refactor, and we have a number of design principles (such as "be modular" and "no globals") that help us do that. In this talk I'll look at a very different approach to design -- a security-oriented approach using the Principle Of Least Authority and "capabilities", and I'll show how a design driven by these considerations also leads to a robust and modular design. I'll demonstrate how to design and use a capability based approach, how capabilities can be quickly combined and restricted easily, how capabilities are a natural fit with a REST API that uses HATEAOS, and finally, how types can be used as access tokens.
The Call for Papers is now open for F# eXchange 2017! Submit your talk for the chance to join a stellar line-up of experts on stage. Find out more.
Get your tickets for F# eXchange 2017!
YOU MAY ALSO LIKE:
- Understanding Parser Combinators: A Deep Dive - Audience Level: Beginner (SkillsCast recorded in April 2017)
- Functional Concurrency in .NET with C# and F# with Riccardo Terrell (Online Course on 8th - 11th March 2021)
- F# eXchange 2021 (Online Conference on 20th - 21st October 2021)
- F# for a Real World E-commerce Project (SkillsCast recorded in October 2020)
- Rethinking Bioinformatic Algorithms Using F# (SkillsCast recorded in October 2020)
Designing with Capabilities
Scott Wlaschin
Scott has over 20 years experience in software development, design and architecture, covering all aspects of business software.