[openspending-dev] OffenerHaushalt 2.0 - Tech Notes

Friedrich Lindenberg friedrich at pudo.org
Fri Jan 3 23:34:54 UTC 2014


Hi all, 

Anders just prompted me to write up some notes about the beta of OffenerHaushalt.de that Stefan and I have launched today at http://beta.offenerhaushalt.de. The new site is the first version of OffenerHaushalt to be based on OpenSpending, using its API for all datasets. The site is an obvious evolution of the Slovakia site, presenting data from a federal, state and local level. The code is available at https://github.com/okfde/offenerhaushalt.de and licensed under MIT terms. 

Here’s whats new about this technically: 

* The site is a flask project which is configured via a YAML file that lists the OpenSpending datasets that should be included and adds specialised metadata. 
* All components of the site are frozen to HTML flat files using Frozen-Flask. The site is eventually served via S3 and CloudFront. 
* The tree map visualisation is now generated via D3, not theJit like those on OS. While it kills IE8, we get a much smaller footprint and better performance.
* Thanks to bower and Python webassets we have a complete asset pipeline which automatically downloads dependencies, builds and minifies them. This means that the site has only one stylesheet file (with Bootstrap and custom rules), and three custom-built JS includes.
* The site has a very simple CMS based on Flask-Pages and Markdown rendering. 

We’d be delighted to see people re-use the code for this in their own projects and to hear everyones ideas for how to extend it! 

Cheers, 

 - Friedrich 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/pipermail/openspending-dev/attachments/20140104/8706cab4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.okfn.org/pipermail/openspending-dev/attachments/20140104/8706cab4/attachment.sig>


More information about the openspending-dev mailing list