“Databases are Categories” – An awesome explanation by David Spivak of what category theory is and how it relates to databases.
Category theory is a powerful language for organizing layers of abstraction in all areas of mathematics. Databases are powerful tools for organizing information of all sorts. Whereas categories are often considered hopelessly abstract, databases are often considered horrifically mundane. Thus it is either strange or fitting that, mathematically speaking, categories and databases are the same concept. In this talk I’ll show how to turn any database into a category and any category into a database. I’ll also discuss functors and how they may be useful for issues of data migration and merging.
For more amazing tech talks by Galois Inc, check out their Vimeo channel at http://vimeo.com/channels/galois.