[Arp] How to Set up Netconnection for Coldfusion?

JesterXL jesterxl at jessewarden.com
Sun Jan 8 22:15:03 PST 2006


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 
To: General List for Ariaware RIA Platform users and developers 
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 
To: General List for Ariaware RIA Platform users and developers 
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 
  To: General List for Ariaware RIA Platform users and developers 
  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ariaware.com/pipermail/arp_ariaware.com/attachments/20060109/6c2721c0/attachment.htm


More information about the Arp mailing list