ORMer v0.2 - PHP5, MIT License
This is an approach to Object-Relational Mapping (Active Record) written in PHP5. There are no XML config files, or assumptions about table and field names. It's a tool to keep you from repeatedly writing mindless SQL join queries and other trivially common things.
Mar 17 - I'd love to make ORMer less reliant on dbFacile. I can see that as a hindrance to widespread adoption.
Jan 19 - My explorations into ORM usability.
Goals
- Automatic relationship discovery through foreign keys (almost complete)
- Give the coder the ability to specify relationships manually if you don't want to use foreign keys
- No assumptions about your table or field names
- No requirements about your table or field names; use your own conventions
- Simplest possible way of adding extra clauses to relation queries: method chaining (see examples)
- Step out of the way when you need to flex SQL skills that ORMer can't hack
- Give as much of an illusion as possible that you're not dealing with a database
Project Page
Examples
Browse the Latest Code
Bugs
Download and Examples
Version 0.2
Not released yet. Check the repository above.
Documentation
There are extensive examples in the "examples" and "testing" folders that should be sufficient. Browse the repository
What Do You Think?
