Framework

hello all,

I need any framework that generate models using the database
structure…
Anyone knows if have this framework???

Thank’s

Bruno - ActiveRecord in Rails does just this: it allows you to build
a model which has all of the attributes of the database table.

Michael G. wrote:

Bruno - ActiveRecord in Rails does just this: it allows you to build
a model which has all of the attributes of the database table.

I want a framework that create assosiations of ActiveRecord with only
the struct of database…

On 3/14/06, Bruno A. [email protected] wrote:

I want a framework that create assosiations of ActiveRecord with only
the struct of database…

What do you mean by “only the struct of database”. Can you provide an
example or common use case for this framework?

It seems like what you want is good old ActiveRecord.

Cheers,

Thiago A.

Michael G. wrote:

I think what Bruno wants is a method to automatically build to
associations based on relationships in the database.

As far as I know, this isn’t possible.

Yes Michael i need this…I have any ideas to create this but before
i needed knows if this frameworks exist…

I think what Bruno wants is a method to automatically build to
associations based on relationships in the database.

As far as I know, this isn’t possible.

Bruno,

On 3/14/06, Bruno A. [email protected] wrote:

Michael G. wrote:

I think what Bruno wants is a method to automatically build to
associations based on relationships in the database.

Yes Michael i need this…I have any ideas to create this but before
i needed knows if this frameworks exist…

Hmm… I think I now get what you want to do. I actually have worked
on a project to do almost that, generating code to map relational
database/table relationships to object oriented/class relationships. I
am sorry to say that at least this part of the project didn’t turn out
very well.

Anyway, I am interested in watching your efforts (and even
contributing, shall my free time increase). Do you ultimately plan to
build this framework on an open-source fashion (in case you don’t find
what you want)? Please let me know of any progress.

Thanks,

Thiago A.