Hi All, Again, thanks for all your replies. I used Reactor for quite a large project about 4 years ago and have been pretty happy with it except, perhaps, from a performance point of view. However, it does seem to be pretty inflexible in some rather annoying ways, as Sean pointed out. There doesn't seem to be a way of getting any customized code into update methods. I guess I could override the update method in the DAO itself although it means every time I add a new field to the table I'll have to update the DAO. There doesn't seem to be any way of telling the Reactor config to ignore fields or doing anything other than the basic aliasing and relationships. I love MG's scaffolding feature because I mainly work alone and this saves me so much time for building out basic application settings forms etc. If I were to go with another ORM other than Transfer (or perhaps Adobe CF's once it's integrated with MG) then I wouldn't get this functionality, although I can see that there are probably newer and better ways to implement and control ORMs.
I have, I must say been very impressed with Railo and am interested in exploring the ORM with this as well. On Sun, Jun 12, 2011 at 11:21 AM, Chris Blackwell <[email protected]> wrote: > Hi Tom, > > If this is a new app you're developing with Railo, why not use the built in > ORM? > > Cheers, Chris > > > On 12 June 2011 00:38, Sean Corfield <[email protected]> wrote: > >> On Sat, Jun 11, 2011 at 3:23 PM, Tom Bishop <[email protected]> wrote: >> > Hmmm, yes, you are correct. However, it doesn't seem to be updating >> > properly. It updates if I change the record via my MySQL admin client >> but >> > not if I make a change via my view (ie the MG app). Maybe something to >> do >> > with the way MG handles updates? >> >> Reactor saves every column in the object so it's possible it's pulling >> the old value out and then storing it back in. I don't know if you can >> tell Reactor to ignore columns? I know you can tell Transfer to ignore >> columns. >> >> We are in the process of moving off Reactor at work - the performance >> is terrible (far too many CFCs being created / manipulated) and this >> issue with writing _all_ columns, instead of just changed columns, >> hurt us for concurrency reasons. We wrote our own very simple ORM in >> Clojure, wrapped with a generic IBO/bean CFC and we're seeing much >> better performance. Mind you, we're not using MG so we're not tied to >> the ORM adapter architecture... >> -- >> Sean A Corfield -- (904) 302-SEAN >> An Architect's View -- http://corfield.org/ >> World Singles, LLC. -- http://worldsingles.com/ >> Railo Technologies, Inc. -- http://www.getrailo.com/ >> >> "Perfection is the enemy of the good." >> -- Gustave Flaubert, French realist novelist (1821-1880) >> >> -- >> 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 >> > > -- > 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 > -- 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
