The Baked Data architectural pattern
I’ve been exploring an architectural pattern for publishing websites over the past few years that I call the “Baked Data” pattern. It provides many of the advantages of static site generators while avoiding most of their limitations. I think it deserves to be used more widely. I define the Baked Data architectural pattern as the following: Baked Data: bundling a read-only copy of your data alongside the code for your application, as part of the same deployment Most dynamic websites keep their code and data separate: the code runs on an application server, the data lives independently in some kind of external data store—something like PostgreSQL, MySQL or MongoDB. With Baked Data, the data is deployed as part of the application bundle. Any time the content changes, a fresh copy of the site is deployed that includes those updates. I mostly use SQLite database files for this, but plenty of other formats can work here too. This works particularly well with so-called “serverless” deployment
The Baked Data architectural pattern Simon Willison’s Weblog Subscribe Sponsored by: Microsoft - Agent projects stall between demo and production. Microsoft's MVP checklist closes that gap. Try it The Baked Data architectural pattern 28th July 2021 I’ve been exploring an architectural pattern for publishing websites over the past few years that I call the “Baked Data” pattern. It provides many of the advantages of static site generators while avoiding most of their limitations. I think it deserves to be used more widely. I define the Baked Data architectural pattern as the following: Baked Dat
saved by
related reading
- A Website Is A Rooma-website-is-a-room.net
- Building data-centric apps with a reactive relational databaseriffle.systems
- Wesley Aptekar-Cassels | There is no such thing as a static websiteblog.wesleyac.com
- Simon Willison’s Weblogsimonwillison.net
- GitHub - jackyzha0/quartz: 🌱 a fast, batteries-included static-site generator that transforms Markdown content into fully functional websitesgithub.com
- The Magic of Small Databasestomcritchlow.com
- Bolt AI builder: Websites, apps & prototypesbolt.new
- The Design of This Websiteturntrout.com
- v0 by Vercel - Build Full-Stack Web Apps with AIv0.dev
- Why I'm using Surge and not GitHub Pages - DEV Communitydev.to
- The Beginner's Guide to Databasestechnically.substack.com
- How my website worksbrianlovin.com