views:

101

answers:

2

Basic ORM strategy in PHP: How could it look like?

A: 

Without wishing to cause offense, I’d suggest that you scale this back quite a bit - you seem to be biting off a lot more than you can chew considering your familiarly with the language and general OO practices. (I'm basing this on some other questions you've asked - not just this one.)

As an general suggestion, I think you'd save yourself a lot of pain by having a thorough read up on object orientation in general (design patterns couldn't hurt as well) and then thinking about the problem afresh.

Alternatively, if you post the problem you’re trying to solve (rather than discussing issues with a solution you’ve decided upon) you might get more traction.

Hope this helps.

middaparka
A: 

I think you should look at existing PHP ORMs for an example:

Those are the main ORMs people use, listed in order of popularity.

ryeguy