PHP/PEAR database-to-oop mapping engine? -


last week have spend on creating dynamic db-to-oop mapping engine in php.
works pretty well. define db, make php classes same names, call 1 method, generates sql, fetches result, , creates appropriate objects it.

you can apply different query filters, automatically joins parent tables, translation tables (for multi-language db), value tables (which don't have classes on php side), has build-in filter validator (so valid sql passed db) etc. etc. etc.

it nothing revolutionary, careful table/class naming gets job done pretty well.

later on, opened cpanel , had @ pear modules, , can see there many modules deal databases. i'm new pear, haven't used before.

can tell me if there module similar, described above?
make things clear, i'm not looking proxy generator, generate code classes, dynamic mapper, pretty on-fly.

http://www.doctrine-project.org/ you're looking for? orm?


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -