BaseTen is nearing release, so I guess it’s time to spill the beans. The first Developer Preview is slated for next Friday, December 1st. Here’s the description from the BaseTen page:
BaseTen is a new, open source Cocoa database framework that allows you to work with PostgreSQL databases using familiar, Core Data -like semantics and APIs. Some of the feature highlights:
- Automatic runtime schema discovery, including detection of one-to-one, one-to-many and many-to-many relationships. The system supports arbitrary, multicolumn primary keys.
- In-memory database objects are uniqued, and objects fetched via relationships are faults by default
- In-memory objects and fetched collections are automatically updated when database changes
- Features a Setup Assistant for importing Xcode Data Models and enabling BaseTen notifications for tables
- Fetches are specified with NSPredicates (relevant portions of which are translated to WHERE clauses)
- Column data is automatically converted to and from the appropriate, native Foundation types
- Property lock status is automatically propagated via the database server
- Input validation is done by the database (including type checks and check constraints), client-side validation can be added for performance optimization
- Entities can be mapped to views as well as to physical tables (including insert, update, delete support)
- Optional autocommit mode
- Full automatic undo support, integrated with NSUndoManager
- Requires Foundation (10.4-era and later) and PostgreSQL 8.1.x and later; no other dependencies
- Optional AppKit support: BaseTen-aware subclasses of NSObjectController and NSArrayController (with an IB palette)
- Licensed under the GNU General Public License; commercial licenses are also available
Watch this space on December 1st!
Leave a comment