MG3 did not come with an ORM adapter for CF9 ORM, so what you are describing
is not yet possible.

I have worked with the Transfer ORM adapter code for MG and had been
thinking about writing a CF9 ORM adapter. Unfortunately there is not much
information on how to write an ORM adapter for MG.

The adapter interface itself is quite simple for the most part; however
there is a getObjectMetadata() method that takes a "table" name as input and
returns a complex struct containing table metadata. The scaffolding code
requires this metadata to generate views and events, but I could not find a
list of the metadata properties and their definitions. I've been going
through the two existing ORM adapters (TransferAdapter and ReactorAdapter)
to try to piece together the metadata struct but it's a painstaking process.

I haven't really messed with CF9 ORM yet so that's another hurdle for me in
writing an adapter for it. I was thinking though of starting off by writing
a ORM adapter for DataMgr (http://datamgr.riaforge.org/). DataMgr is not
technically an ORM since it works with structs instead of objects but
otherwise fills the same role and should be able to function in MG as an ORM
service.
Anyway, if anyone is already working on this or is interested in helping or
can provide info to the MG ORM metadata structure or other aspects of MG ORM
adapters, please reply to this list.

Cheers,

-- Dennis

On Mon, Sep 28, 2009 at 2:32 AM, Brettski <[email protected]> wrote:

>
> Me again,
>
> Another question..
>
> I'm using CF9 ORM with MG and wondering if the scaffolding
> functionality is compatible with the CF9 ORM. Indeed the general
> compatibility of CF9 ORM and MG
>
> If so how do I configure this link?
>
> Many thanks,
>
> b
> >
>

--~--~---------~--~----~------------~-------~--~----~
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to