Re: first php 5 class
| From: | Zoltán Németh | Date: | Thu, 31 Jan 2008 14:47:03 +0000 |
| Subject: | Re: first php 5 class | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268437@lists.php.net to get a copy of this message | ||
2008. 01. 31, csütörtök keltezéssel 09.41-kor Nathan Nobbe ezt írta:
> On Jan 31, 2008 3:24 AM, Zoltán Németh <znemeth@alterationx.hu> wrote:
> I never write the xml for propel. we use DBDesigner (although
> it is not
> a well-written software, and there are problems with running
> it on
> linux) and convert its xml files automatically to propel
> format. what's
> more we have our schema generation stuff which joins together
> several
> dbdesigner xmls (and generates code for some features propel
> does not
> have like inheritance and multiple table referencing foreign
> keys)
>
> thats great, i took a look at dbdesigner, though im not yet using it.
> however, there is still the problem i indicated regarding existing
> schemas. how would you generate a schema.xml file for an already
> existing schema with a large number of tables?
you mean you have a schema in a db with a bunch of tables? there is a
symfony task for that. symfony propel-build-schema
or if you use propel alone:
http://propel.phpdb.org/trac/wiki/Users/Documentation/1.3/HowTos/ExistingDatabases
greets
Zoltán Németh
>
> -nathan
>
>