Ionrock Dot Org

by Eric Larson

My Weblog

accountpackage - Basic Functionality Working!

Basic Functionality Working!

This is something of a proof of concept with lots of different ways todo things. It is essentially just a very simple AtomPub store forcredits and debits. That's it. It has a restful-ish interface via aPOST to {base_url}/credit/ or {base_url}/debit/ which adds a value tothe credits or debits respectively. The total is found by adding upall the credits and subtracting the debits. I am sure this will hit awall at some point, but I realize that the essence of the total can becached and stored in a collection (!) and client side tools can add afew hundred values easily enough.

The todo will be to add things like tags and descriptions so you cansay things like "Made money selling fake drugs to stupid kids... afterall drugs don't pay...". I think this points to a larger issue thatamplee is actually covering very well, which is rendering feeds viaattributes/elements. All the feeds should be GETable and then easilyjoined via indexes of elements and/or attributes. Bright Content doesthis to an extent, but a more generic means of indexing via XPath andfiltering via similar methods seems positive.

That is probably the next step, but I'm walking slowing in order tonot create something like Yahoo! Pipes. It is a lot of cool, but realusage is always going to be more customized. That means a couplelibraries and a bunch of implementations specific to a domain... atleast IMHO.

Posted Thu Sep 13 23:34:24 2007 by Eric Larson
using python, jquery and emacs ;)