James,

Thank you for the brief overview. What I have gathered is that CFAJAX
is strictly for converting CFC variables into JavaScript calls for
AJAX implementation. This has been provided for free by a very
generous, friendly web developer '-) On the otherhand, WebOrb does
both that and Flash Remoting, but it includes a price tag.

What struck me odd about CFAJAX is that it requires special values in
the "hint" attribute of the cffunction tag such as
hint="type='keyvalue' jsreturn='array'". While placing such code in
the hint attribute is not destructive when using the CFC in a
traditional way, it is difficult for perfectionists (purists) to get
used to.

WebOrb does not require any special code within a CFC, which is much
more ideal. I personally am not sold on Flash Remoting, so I would
probably only make use of the AJAX implementation anyways. Therefore,
I would rather not pay for remoting if I am not going to use it.

This brings me to a delima: Do I "hack" my CFC's and use CFAJAX, or do
I shell out the extra bucks for WebOrb even though I may not need
Flash Remoting?

By the way, this is all based on the presumption that I would be
running BlueDragon JX on my box.

Thanks for the insights,
Aaron

On 2/5/06, James Holmes <[EMAIL PROTECTED]> wrote:
> The two are very different. I am going to refrain from guessing which
> you decided was a hack.
>
> CFAJAX comprises a set of JavaScript files and a ColdFusion include;
> it works by translating the results of CF function calls (made via
> DWR) into JavaScript, which is then sent back to the browser. It is
> straightforward to implement and covers both calling and returning CF
> variables (along with some utilities to use the returns in an
> efficient way). It requires nothing more that a standard CF server and
> will work with no CFADMIN changes or other server config.
>
> As it pertains to CF, WebOrb (according to what I've just read on
> their site) is a set of Java servlets that integrates with multiple
> backend technologies (CF, Java, SOAP etc) and provides services for
> multiple client technologies (browser AJAX, Flash Remoting etc). It
> will require a servlet container (i.e. forget CF standard unless you
> want to install the included Jetty or another container) and some
> configuration within the server.
>
> If you just need an straightforward way to AJAX with CF, try CFAJAX or
> any of the similar packages that have been turning up. If you want to
> have something that will also work with a Flash front end and port to
> ..Net/EJB/whatever, try giving WebOrb a go.
>
> On 2/5/06, Aaron Roberson <[EMAIL PROTECTED]> wrote:
> > I have recently been looking into RIA's using CFML and AJAX and I have
> > come across two technologies that both look like they do what I am
> > looking for but the one is sort of a hack and the other appears to be
> > much more sophisticated.
> >
> > Can anyone on this list tell me what the differences and similarities
> > are between CFAJAX and WebOrb?
> >
> > The WebOrb site is: http://www.themidnightcoders.com/weborb/
> > The CFAJAX site is: http://indiankey.com/cfajax
>
> --
> CFAJAX docs and other useful articles:
> http://jr-holmes.coldfusionjournal.com/
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231385
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to