[wdmmg-discuss] New version of store uploaded

Alistair Turnbull apt1002 at goose.minworks.co.uk
Wed Apr 21 15:53:09 UTC 2010


I've just uploaded a version of the store software with the following 
changes:

  - /api/aggregator now computes per-capita spending data if you add 
"&per-population2006=region" to the end of the URL. See docs at /api for 
details. (You can deduce that the store now holds data about the 
populations of regions. Eventually data of this sort will be available 
from the web interface, but I haven't written that part yet, so the 
population data currently only used by the aggregator).

  - /api/aggregator is now behind a cache. This makes a huge performance 
improvement. The aggregator should now respond almost instantly, apart 
from the first time a given request is made on a given day. Let me know if 
you notice any cache-related problems - I hope there will be none, 
obviously!

  - Spending is now expressed in pounds, as opposed to in millions of 
pounds. (And similarly population is in people, not thousands of people). 
We decided that this is more appropriate for the store. Obviously the 
presentation layer can choose its own display convention...

Dave, is there anything else you need before you can make progress 
integrating the presentation layer with the store?

 	Alistair




More information about the openspending mailing list