For the next few months I'm going to be using this blog to think aloud about Drupal 7 and the mutual credit work I'm doing within it. This will be part rumination, part peer review, and part PR. I will only discuss stuff I have moreorless done.
All the rave with Drupal 7 is about entity types. The main Drupal objects, nodes, users, vocabularies, terms, and files, have been extracted into one type of thing which means that the same fields can now be added to all of these. In addition whereas before there were node-types, now there are entity-bundles. where a bundle is a collection of fields.
mutual_credit 3 declares 2 entity types, transactions and currencies, both of which are fieldable, but that's not the cool part. The entity controllers contain the code for writing to the database, and the entity controllers can be overridden, allowing us to write the critical data to another database. This is critical if we are going to start standardising new measures of exchange and making them interoperable.
We shall be able to provide a remote transaction server, which will have extra security and availability, running specialised software, using a standard API, so any other permitted web applications can read or write to it.
The first accounting engine will be within Drupal though, because I'm an old dog in a hurry. I'd really appreciate it if someone could look over my code from time to time.
Comments