[FLOW3-general] Create models from databse schema

Peter Russ peter.russ at 4many.net
Mon Feb 27 15:08:29 CET 2012


--- Original Nachricht ---
Absender:   Marco Behnke
Datum:       26.02.2012 21:15:
> I am coming from Yii, where the first step - in most cases - is creating
> your models from a database schema.
>
> I can see a quick solution fro the FLOW3 project.
> We do have all what we need to create model in the flow3 cli. So I guess
> all we need is a database analyzer that create flow3 cli statements. Am
> I right?
>
> Step 2 would be: Compare database schema with already existing php
> models and find the differences.
>
> But for most cases step 1 should be enough.
>
> What do you think?
>
> I am still at the beginning with FLOW3. I can write a database analyzer
> in PHP, but the code will not be FLOW3 "special".
>
> Cheers,
> Marco
>
> Am 26.02.12 10:54, schrieb "Christian Müller (FLOW3 Team)":
>> I am not aware of such a tool, but if you have ideas lets kickstart a
>> package (or add to kickstarter) would be a great tool to have...
>>
>> Cheers,
>> Christian
>>
>> On 25/02/12 20:32, Marco Behnke wrote:
>>> Hello,
>>>
>>> I have created models in FLOW3 and generated the database schema with
>>> the flow3 cli.
>>> But what I wonder: What about the other way around?
>>>
>>> I have a complex database schema with relations, can I create all my
>>> models/repositories out of it?
>>>

This ships with doctrine ;-)
Would be nice to be included into kickstarter.
Feel free to write the wrapper for the cli.


-- 
Fiat lux! Docendo discimus.
_____________________________
uon GbR

http://www.uon.li
http://www.xing.com/profile/Peter_Russ



More information about the FLOW3-general mailing list