Hey Dan, That sounds good. I'll continue with digging in to the metadata stuff for now and type up some documentation for it. I'm thinking of following that up by writing some ORM adapter MXUnit tests to validate my understanding of the existing adapters and help with the writing of new ones. This means it'll be a while before I could start working on the adapter code itself, but it should help with any parallel/team development.
Bob, I just read Steve Bryant's post "DataMgr is Better than ColdFusion ORM" and followed a link to your Base Persistent Object project; that's some pretty cool stuff you got there! I'll have to put at least one of your sessions on my "must see" list for CFinNC :-) Cheers, -- Dennis On Mon, Sep 28, 2009 at 4:36 PM, Dan Wilson <[email protected]> wrote: > Hi Dennis/Bob > We are very much interested in an adapter for the CF9 ORM. We would be > happy to work with either/both of you guys on this feature. If there is > enough interest, we could divide up the tasks and work on it as a team. Much > like Bob, I'm overcommitted until late Nov, but that doesn't mean work > should be held up. If you've the time and the inclination, please be our > guest, because Model-Glue is a meritocracy. > > > DW > > On Mon, Sep 28, 2009 at 4:05 PM, Bob Silverberg > <[email protected]>wrote: > >> >> I'd be interested in helping to develop a CF9 ORM adapter for MG. I'm >> pretty swamped right now, but I am deep into the CF9 ORM stuff, and >> also poked around the ORM adapter stuff with MG, so I'd be happy to >> contribute. I'll have more availability in November. >> >> I imagine that this is something the MG folks would like to have >> available when CF9 ships, so maybe someone's already working on it. >> If not, let me know when you want to get started and we'll take it >> from there. >> >> Cheers, >> Bob >> >> On Mon, Sep 28, 2009 at 3:56 PM, Dennis Clark <[email protected]> wrote: >> > 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 >> >> >> > >> > >> > > >> > >> >> >> >> -- >> Bob Silverberg >> www.silverwareconsulting.com >> >> >> > > > -- > “Come to the edge, he said. They said: We are afraid. Come to the edge, he > said. They came. He pushed them and they flew.” > > Guillaume Apollinaire quotes > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
