April 2020
Intermediate to advanced
292 pages
6h 50m
English
Remember the videos table from the previous chapter?

It has a mere six columns: id, owner_id, name, description, transcoding_status, and view_count. Do these pieces of data really all belong together? Do they represent a single thing? Can you imagine a single operation that simultaneously requires all six pieces of data? How many different concerns are represented here?

owner_id is useful if we’re trying to make sure that someone trying to do something to this video is allowed to—authorization. But how does that help us ...