Wednesday, June 3, 2009

Hannibal is in the Cloud!

We just pushed code generator support for Amazon's S3 key value store into Google Code. Now developers can generate data access objects that can persist data to S3. Active records are serialized to JSON then published to an S3 bucket named after your application's name. Retrieving data simply involves changing the JSON string back to an active record using the fromJson() method.

Here is what a URI path for a marathonracing's race domain object in S3 would look like

marathonracing/race/cherryblossom

where marathonracing is your S3 bucket name and race/cherryblossom is your S3 object.

Very simple.

We are testing this functionality now. Expect to see this in the next major release of Hannibal.

No comments:

Post a Comment