So there’ve been some pretty quick lightning rounds of additions to ThyncRecord over the last few days. Partially I attribute this to my hitting a groove, but a lot of it comes from adding a couple new developers to the fold: David and Jesse.
David is working on rounding out our Migration capabilities, filling in the holes sqlite leaves us with in terms of modifying columns and adding some additional functionality after that. He also improved the find() method on Model so it can accept arrays as in ActiveRecord.
Jesse has so far contributed to adding support for a few new storage datatypes and is in the process of wiring up validations for said types. He has also worked on some of the automigration code.
Tonight and last night I added a lot of code myself:
- Fixtures are now fully supported, including mapping tables. Automigrations will now create tables (also including mapping tables for N:N relationships) and load all data presented in fixtures.
- Added AssociationLoader class. This is useful for loading data post-preloading. More on this below.
- Added event-handling to Record objects. This can be configured in Model declarations or added after instantiation of a Record object.
- Wired up Jesse’s main validation methods to Record.save and added user-configurable validate function to Model constructor.
- Wired up Jesse’s new datatypes to Record save/initialize methods.
Code samples will be presented over the next few days so you can see how fixtures and models are defined. Manual migrations aren’t well-defined yet and so we’ll leave that to a later date when they are. I’d rather talk at length about each of these topics as a separate post.
I’m really excited by how much progress we’re making, and looking forward to releasing it all shortly. I can see it as being a boon to AIR developers and Gears-heads alike.
Quick question: Is the name ThyncRecord ridiculous? If so, what are some kick-ass names the good folks of the Interwebs would like to bestow on this project?
[EDIT: ThyncRecord is now JazzRecord and will be available for download from www.jazzrecord.org starting 10/21/08]