I am trying to create an IteratingTransferObject, or
AbastractIteratingObject, or IteratingBusinessObject (IBO) as
described by Mr. Peter Bell...

I need something to kill the OIP evil do-er with transfer objects from
large tables that _need_ the concrete,  mixin, and abstract code to
perform accordingly... (validation/documentation/business objects, ui,
ajax calls, mvc plugins, services, gateways..)  I was never never able
to find, or didn't look in the right places for a solid example of the
pattern in use with transfer.

I think it's a great idea, so I did a quick and dirty test in my
model .. this dirty test gave my ui  an unscientifically estimation of
80%!! reduction in load times on large record sets, as compared to
when i just use very large transfer object collections.

In my proof of concept I immediately ran into a few things right of
the bat that would require some rethinking and refactoring..  But....
I don't want to run off into the desert with no water if there is
another route...

My ITO is a factory generated, beanInjected, wrapper on a new transfer
object that is being populated() by my Abstract Decorator and looped
over a cached query,. so when i get one of these 'transferObjects'
it's not exactly being created by Transfer, and I found that i was
getting a PK = 0 and isPersisted = false and isDirty=true.....

I quickly hacked my wrapper to get the PK from the instance.recordset,
insted of the TO just to make it work.... but I cant move any further
with this until i get my head around the Performance / Development/
Cost involved... or at least make me feel comfortable that it's going
to work until adobe _hopefully_ fixes the OIP in CF9???..

I'm just looking for any feedback from anyone with any interest in my
topic..

Thanks Guys!
--~--~---------~--~----~------------~-------~--~----~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

You received this message because you are subscribed to the Google Groups 
"transfer-dev" 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/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to