Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the importance of input validation in software systems through this RubyConf 2022 talk by Espartaco Palma. Learn how to define clear and enforceable contracts for external inputs using dry-schema and dry-validation libraries in Ruby. Discover how to implement structure and payload validation with awareness of schema, structure, and types in just a few lines of code. Gain insights into error handling out-of-the-box and optional pattern matching for results. Follow along as the speaker covers topics such as type checking, contracts, schemas, use cases, endpoints, rules, constraints, and serializers. Understand the significance of boundaries in software development and how proper input validation can prevent exploitation and improve system reliability.
Syllabus
Introduction
Who am I
Thank you
Im old
Agenda
Exploitation
No job anymore
Never again without a contract
Type checking
Return carburetor
Is it better
Contracts
Power for dryvalidation
Why have you heard about dryvalidation
Its not all about forms
Schemas contacts
Active mode is enough
Sponsor
Book recommendation
Why is all about boundaries
Schemas
Use case
Use something open
Endpoints
Name
API
Parameter
Status
Curve
Success
Parent
Exercise
Date
Rules
Contract
Constraint
Serializer
Conclusions
Test assertions
Business API
Little Buddy Lyrics
Taught by
Confreaks