0
I Use This!
Activity Not Available
Analyzed about 7 years ago.

Project Summary

ORMer is differs from other PHP ORM tools because it needs no XML config files and makes no assumptions about table/field names. Whenever possible it discovers row relations through foreign keys.

Before we begin: What's your ideal usage like for a supremely elegant PHP ORM tool? Be inspired, and perhaps give me feedback here.

FeaturesAutomatic relationship discovery through foreign keys (complete on SQLite2 and MySQL 5.1.10+) Give the coder the ability to specify relationships manually if he/she doesn't want to use foreign keys No assumptions about table or field names No requirements pertaining to table or field names; use your own conventions Simplest possible way of adding extra where clauses to use when pulling related data: method chaining (see examples) Step out of the way when you need to flex SQL skills that ORMer can't hack Act as if you're dealing with classes and objects rather than database records See it in actionWhat about:

$all_ordered_products = user::find()->orders->order_product->product;
foreach($all_ordered_products as $product) {
echo $product->name;
}See some more examples

See the codeThere is a Mercurial repository available, so you can browse the code or checkout a copy. See the link to the right.

This project is seeking contributors. If you have some ideas about how ORM interaction should work, or want to dive into the nitty-gritty on a project whose code is intended to be readable and understandable by other developers, contact me.

Contact meGo here for now. Mention ORMer if it's about this project.

Tags

activerecord database object-relationalmapping orm php php5

In a Nutshell, ormer...

MIT License
Permitted

Sub-License

Private Use

Commercial Use

Modify

Distribute

Forbidden

Hold Liable

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    compare projects before you chose one to use
  • ...
    nearly 1 in 3 companies have no process for identifying, tracking, or remediating known open source vulnerabilities
  • ...
    you can subscribe to e-mail newsletters to receive update from the Open Hub blog

Languages

Languages?height=75&width=75
PHP
100%
HTML
<1%

30 Day Summary

not available

12 Month Summary

not available

Ratings

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!