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
Explore this link on the map →saved by
related reading
- A Website Is A Rooma-website-is-a-room.net
- Building data-centric apps with a reactive relational databaseriffle.systems
- Simon Willison’s Weblogsimonwillison.net
- The Magic of Small Databasestomcritchlow.com
- Wesley Aptekar-Cassels | There is no such thing as a static websiteblog.wesleyac.com
- Why I'm using Surge and not GitHub Pages - DEV Communitydev.to
- App Router: Static and Dynamic Rendering | Next.jsnextjs.org
- krish's blog • So I rebuilt Vercel...krish.gg
- Publii - free open-source static CMS for fast, secure websitesgetpublii.com
- How to Build a Low-tech Website? | LOW←TECH MAGAZINEsolar.lowtechmagazine.com
- Rendering: Static Site Generation (SSG) | Next.jsnextjs.org
- Web Architecture 101. The basic architecture concepts I wish… | by Jonathan Fulton | The Storyblocks Tech Blog | Mediummedium.com