[eluser]Michael Wales[/eluser]
I've been looking over this library since it was released - this is looking really, really, nice.
Any chance of getting some better relationships involved? The relationships table you are employing (similar to RoR's HABTM relationships) is a bit excessive for just a belongs_to or has_many relationship.
For instance:
Table: pages
id
user_id
title
body
Table: users
id
username
email
Crating a pages_users table is a bit excessive and increases the number of calls made to the database, when a relationship could simply be formed between pages.user_id and users.id columns.
I've yet to actually play with this library, so if it's covered somewhere I haven't read about yet, feel free to correct me.
Great work though - I will definitely be using this in my next project.