-
- 160 Posts
I am seriously considering using xpdo on a non-MODx project, but I want make sure I can modify its functionality a bit. What I need is the ability to define and modify objects on the fly (inherited from xPDOSimpleObject) through the web interface. So I would like to store the meta maps in the database, and load the data from there rather than keeping these in a file. I also don’t want to create a php file for each new object, so I would load a default class whenever the actual class file is missing.
It looks like I can just extend xPDO and override _loadClass to accomplish this. Does that sound like it will work? Or will that lead to other problems down the road? If so, and recommendations on how I could accomplish the modification I desire?