[Arp] How to Set up Netconnection for Coldfusion?
Tien Nguyen
sufibaba at gmail.com
Sun Jan 8 22:36:48 PST 2006
I like the Idea of Encapsulation for hiding things, perfectly legit and
Design Pattern Approved --- hee hee. It's definitely good Business Sense.
Geezz I am full of puns... I think I'm picking up on your sense of humour.
The flash project that I am working on is actually is a temporary fix for
the Bugs in Flex 2 alpha. Actually, we started working on Flex 2 alpha, but
soon ran into many bugs, so I had to stop, and now gone back to flash. Why
not Flex 1.5, well, too much "Dinero" to spend for only a short usage time.
Anyhow, now, the Flash App will be built and migrate to Flex 2.
You might be interested in:
Creating a Remote Object DataManager in ActionScript 3.0 for Flex 2.0
http://jeff.mxdj.com/creating_a_remote_object_datamanager_in_actionscript_30_for_.htm
I took Jeff Tapper's excellent AS3 Flex2 web services code and modified it
to work with CFAdapter.
On 1/8/06, JesterXL <jesterxl at jessewarden.com> wrote:
>
> BTW, hate to use this as an example, but it's too good to pass up. This
> is a perfect scenario as to why you would use Business Delegates in ARP.
> All the "bleh" I can hide in them, hehe!
>
> ----- Original Message ----- *From:* JesterXL <jesterxl at jessewarden.com>
> *To:* General List for Ariaware RIA Platform users and developers<Arp at ariaware.com>
> *Sent:* Monday, January 09, 2006 1:09 AM
> *Subject:* Re: [Arp] How to Set up Netconnection for Coldfusion?
>
> Not using Flash, using Flex 1.5, but I'd still be dealing with the same
> crap since I'm using the same Remoting code. ColdFusion? Whatever the
> latest is, 7 or something. I'd rather be using AMFPHP... *ahem*...
>
> ----- Original Message ----- *From:* Tien Nguyen <sufibaba at gmail.com>
> *To:* General List for Ariaware RIA Platform users and developers<Arp at ariaware.com>
> *Sent:* Sunday, January 08, 2006 11:47 PM
> *Subject:* Re: [Arp] How to Set up Netconnection for Coldfusion?
>
> Hi Jester,
>
> Whew, sounds more like a Co-Dependent disfunctional Affair rather than the
> beautiful Courtship that I had seen in Cassanova. Can I ask which version
> of Coldfusion and Flash you are using ?
>
> On 1/8/06, JesterXL <jesterxl at jessewarden.com> wrote:
> >
> > Until Aral wakes up, the insanity I'm dealing with:
> > - you can only send vanilla objects to ColdFusion. If I send a custom
> > class, ColdFusion throws an exception.
> > - for a method that has a single struct, I have to do like {SINODE:
> > myObject} instead of just myObject as the first parameter
> > - for a method with more than 1 parameter, each a struct, you don't have
> > to do the above
> > - Booleans go over as like "Yes" or "No", and come back the same
> >
> > The above defeats the whole purpose of Remoting. Being able to send
> > ValueObjects is kind of the point; the ability for the client developer(s)
> > and server-side developer(s) to be on the same page, and "know" exactly what
> > they are sending back and forth.
> >
> > In my case, we just try to make every method take primitives, and with a
> > ton of parameters instead of objects. Arrays are ok thank God.
> >
> > I'd rather just treat it as a WebService, but too far into the project
> > now...
> >
> > ----- Original Message ----- *From:* Tien Nguyen <sufibaba at gmail.com>
> > *To:* General List for Ariaware RIA Platform users and developers<Arp at ariaware.com>
> > *Sent:* Sunday, January 08, 2006 10:44 PM
> > *Subject:* Re: [Arp] How to Set up Netconnection for Coldfusion?
> >
> > Thanks for your thoughts Aral,
> >
> > Can you explain a bit more about the difficulties with Coldfusion -- the
> > reason is I would like to use a solid framework like ARP, however, the
> > company I am working for is on Coldfusion and most of the team is doing
> > coldfusion. I would prefer to go the Java approach, however, if I have to
> > use Coldfusion, do you think that by using Coldfusion and Flash native
> > datatypes (Objects, Recordsets, Structs) to create VO's would make the job
> > less difficult. The downside to using the Coldfusion method means that the
> > app would be usable only for Coldfusion.
> >
> > Is there another way to make Coldfusion expose her Javaness when she is
> > being courted by Flash Remoting? would anyone know? hmmmm. ( I just saw
> > Cassanova this weekend, the movie was quite humorous)
> >
> > Cheers,
> >
> >
> > On 1/8/06, Aral Balkan <aral at ariaware.com> wrote:
> > >
> > > Hi Tien,
> > >
> > > We tried to use CF for a project involving complex VOs and it was a
> > > nightmare. You can, but you need to hack it and use Java instead.
> > > Instead, we found it easier to switch to J2EE and the excellent
> > > OpenAMF.
> > >
> > > All the best,
> > > Aral
> > >
> > > Tien Nguyen wrote:
> > >
> > > > Hi Chris,
> > > >
> > > > Thanks for having a look at this.
> > > >
> > > > I had a deeper look into how the Birthday code works. It turns out
> > > > that in the Birthday example's QueryScreen.as, the returned
> > > resultset
> > > > is treated as an array of Java Objects of class PersonVO which talks
> > > > to a PersonVO.java class .
> > > >
> > > > Coldfusion's ResultSet, on the other hand, given the way I had my
> > > CFC
> > > > configured, returned to Flash a RecordSet object.
> > > > <snip>
> > >
> > >
> > >
> > > _______________________________________________
> > > Arp mailing list
> > > Arp at ariaware.com
> > > http://ariaware.com/mailman/listinfo/arp_ariaware.com
> > >
> >
> > ------------------------------
> >
> > _______________________________________________
> > Arp mailing list
> > Arp at ariaware.com
> > http://ariaware.com/mailman/listinfo/arp_ariaware.com
> >
> >
> > _______________________________________________
> > Arp mailing list
> > Arp at ariaware.com
> > http://ariaware.com/mailman/listinfo/arp_ariaware.com
> >
> >
> >
> ------------------------------
>
> _______________________________________________
> Arp mailing list
> Arp at ariaware.com
> http://ariaware.com/mailman/listinfo/arp_ariaware.com
>
> ------------------------------
>
> _______________________________________________
> Arp mailing list
> Arp at ariaware.com
> http://ariaware.com/mailman/listinfo/arp_ariaware.com
>
>
> _______________________________________________
> Arp mailing list
> Arp at ariaware.com
> http://ariaware.com/mailman/listinfo/arp_ariaware.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ariaware.com/pipermail/arp_ariaware.com/attachments/20060108/a1ca7e59/attachment-0001.htm
More information about the Arp
mailing list