-
☆ A M B ☆
- 2,475 Posts
Ok, I’m just grooming through the docs and working on my own understanding here.... I’ve got it pretty well down how you can use a MySQL database to generate an xPDO XML schema file, then use that schema file to generate the necessary PHP classes/maps, but how about working this from the other direction?
1. What if I have an XML schema? How do I generate the database tables?
2. Is it possible to generate the XML schema given only the PHP map/class files? (That’d be highly unusual, I know, but I’m just wondering if it’s possible).
Thanks! This will all end up somewhere in the official docs -- I’m working on a spiffy graphic to show this behavior clearly, so please feel free to be as verbose as needed.
-
☆ A M B ☆
- 2,475 Posts
Thanks Shaun. So is there a way to iterate through all objects that are defined in an XML body and create *all* the tables? Or do you have to verbosely specify the objects one by one?