Re: Propel Database backend
Georg Gell <[email protected]> Wed, 24 Aug 2005 13:47:19 +0200
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
Lukas Kahwe Smith schrieb: >> ... >> hmm, I haven't seen the Globals.php until now :( What do they do? >> >> $GLOBALS['_LiveUser'][*]['tables'] <- this is just a description of the >> tables? If yes I don't need it because Propel creates it's classes out >> of the XML description of the database, so afaik i need no runtime info >> about the database structure. Is this needed somewhere else or only in >> the database containers? > > > Its used only in the storage containers. However keep in mind that this > information can be overwritten with user configurations. It might > however be more feasible to simply not allow such configuration and find > a more propel#ish solution for people to customize certain aspects. > I plan to include an xml file that needs only be included in the main propel database xml file (and a DBDesigner4 library, just point and click), and then one foreign key needs to be added, and they should be ready to go. So I don't think there will be much need for customization for the live user tables, but only the aliases and optional fields for the user table. Do you know if many people use the liveuser tables with different field names from the default? > ... >> what is pecl::sdo? or do you mean pdo? > > > http://pecl.php.net/package/sdo > http://php.net/sdo > Cool thing, too bad it's still experimental :( Georg