Paul Hammant's Blog: Anvil app platform: using GitHub as a datastore
Literally one day after the last blog post on Anvil (and their news announcement), Ian and Meredydd did a proof of concept that made Anvil retrieve/store data from/to Github. Specifically a JSON document. You are not going to rest a transactional database on this design, financial or otherwise, but you might be super happy for a “Very Small Data” application. Or one that is for editing configuration - refer my Config as Code category.
On the Anvil Works site is a blog post about it. That blog entry details what/how thery’ve done this ulimately very simple thing. They don’t show the diff though. In a technology that is using SCM as a data store, after bumping the HEAD revision of the a document programatically, you’re going to want to check out the change you just did:
As well as dealing with Github’s APIs for working with documents (as data), It’d be great to see these guys enhance their own Git capability for storage, and add index/view APIs for a mini-CouchDB experience :)
This type of solutioning is going to be part of a wave of cheaper internal enterprise apps again, and maybe also apps online for strangers where the cheap data capture is more important that an 100% ‘just so’ UI experience.
blog comments powered by Disqus