WebClient Revisions

The current webclient was created when I knew little or nothing about Nevow/Twisted.Web. I implemented it using the PB client as a model, since there's not a whole lot of conceptual differences between how Athena works and how PB does.

Now that the webclient is going to be the only supported client (other than manhole), it's time to put some real work into it, and the first thing is to rewrite the session implementation. For now, we're still assuming everything is in-memory, but I want to be able to add the ability to store web sessions in a database down the road.

  • Using txOpenID's session code as a reference, create an in-memory web session implementation.
  • Classes should be abstract or easily subclassed so a DB-resident store can be introduced later.
  • Figure out the deal with LivePages, so that you can reload the client page without problems
  • Modify the editors so that a authenticated user can simply load a page such as:

/edit/object-id/(verb|property|acl)/verb-or-property-name

Updates

As of 07/17/2008, the session code has been replaced with one that works a little more sanely, and the client page can be safely reloaded. All that's left is to modify the editors to be less insane, and that may not even be a requirement. We'll see...