|
A very interesting point, Jared. One thing this causes me to wonder is how Shannon
and Kurt manage operations on blocks of objects. IE: what the Iterator
do. I wonder if there’s not another lesson in here somewhere. Doug From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jared Rypka-Hauer I think what I'm realizing is that (consider a User Reactor object) you
see getFirstname() (returns string), getLastname() (returns string), and
getAddress() (returns Address) or getUserRole() (returns UserRole) as being the
SAME KIND OF OPERATION. They're getters that return properties from the User
bean... whereas getAddressIterator() returns a utility object that isn't a
straight-up getter for a simple or complex property of the object... is this a
correct summary of your perspective? From THAT PERSPECTIVE, I suddenly see why it makes sense to you... you
don't see methods like getFirstnameString() or getZipCodeNumber() so why see
methods like getAddressRecord()... right? Am I on the right track here? Laterz, J ------------------------------------------------ Jared C. Rypka-Hauer Continuum Media Group LLC Member, Team Macromedia -
ColdFusion "That which does not kill me
makes me stranger." - Yonah Schmeidler On Mar 24, 2006, at 10:37 AM, Shannon Jackson wrote:
Forgot one comment, sorry Sean.
getXyzIterator() also exists. The Record/Iterator distinction seems
rather important to me... I think the Iterator is appropriately named and stands by itself as a utility. Not sure why having
the embedded bean name absent of 'record' would cause distinction problems. It
may be that my perspective of it is wrong too... :) - -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Sean Corfield Sent: Friday, March 24, 2006 10:28 AM Subject: Re: [Reactor For CF] Reactor R&D On 3/24/06, Shannon Jackson <[EMAIL PROTECTED]>
wrote:
far
have
Yes, but you're missing my point I think: you are asking Reactor to change but none of the other ORMs will fit your naming convention without change either (substantial change in some cases!) so changing Reactor does not make it easier to use other ORMs - a point that was claimed in this thread. You also don't seem to be objecting to createRecord() - another method that is not named the same way in other ORMs. You're asking Reactor to change to fit your world view instead of abstracting the ORM layer - which you'd have to do in order to use any other ORM, or even custom DAOs for code that doesn't use an ORM... Can you see the point I'm making here? I'm also very concerned about changing getXyzRecord() when getXyzIterator() also exists. The Record/Iterator distinction seems rather important to me... (And, yes, I am very deliberately playing Devil's Advocate in this
thread!) -- Sean A Corfield -- http://corfield.org/ Got frameworks? "If you're not annoying somebody, you're not really alive." -- Margaret Atwood -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ |
- RE: [Reactor For CF] Reactor R&D Shannon Jackson
- Re: [Reactor For CF] Reactor R&D Sean Corfield
- RE: [Reactor For CF] Reactor R&... Peter Bell
- RE: [Reactor For CF] Reactor R&D Shannon Jackson
- Re: [Reactor For CF] Reactor R&D Jared Rypka-Hauer
- RE: [Reactor For CF] Reactor R&D Shannon Jackson
- Re: [Reactor For CF] Reactor R&D Jared Rypka-Hauer
- RE: [Reactor For CF] Reactor R&D Doug Hughes
- RE: [Reactor For CF] Reactor R&D Doug Hughes
- Re: [Reactor For CF] Reactor R&D Jared Rypka-Hauer
- RE: [Reactor For CF] Reactor R&D Doug Hughes
- Re: [Reactor For CF] Reactor R&D Peter J. Farrell
- Re: [Reactor For CF] Reactor R&D Sean Corfield
- Re: [Reactor For CF] Reactor R&D Kurt Wiersma
- Re: [Reactor For CF] Reactor R&D Kurt Wiersma
- RE: [Reactor For CF] Reactor R&D João Fernandes
- RE: [Reactor For CF] Reactor R&D Chris Blackwell
- Re: [Reactor For CF] Reactor R&D Walt Sparrow-Hood
- RE: [Reactor For CF] Reactor R&D Dan Sorensen

