Tuesday 13 October 2009 2:36:41 am
Hello,
I'm working on an eZ Pulish extension, that handles some complex data within its own database tables. As the table structure is kinda complex, I want to use some kind of an object relational mapping api. As eZ Components is already part of eZ Publish and contains a component for that (PersistentObject) I decided to make use of that.
Now I'm kinda stuck, unsure where I should start. Where should I put the mapping files and relation definitions? Is there a place for that already in eZ Publish (I think so, because eZ Publish uses PersistenObject component itself). The eZ Component documentation does not say anything about where to put the files.
- How can I start?
- Where put mapping and relation files?
- How can I make sure the files are loaded if (and only if) needed?
- (How) can I make use of already existing PersistenSession from eZ Publish?
- Is what I'm planning to do recommented anyhow? Anyone done that before? - Best practises? Thank you very much for help any Hint!
|