RE: Flash Remoting and CF

2008-03-20 Thread Robert Harrison
OK. Thanks for all the responses. Summary is do NOT try to connect flash
directly to a DB. We'll use CF as an intermediate. Although, at this point
I'm not exactly sure how to do that. I'll probably be back seeking more
advice later, but I'll do some research first. 

Thanks Everyone...

Robert B. Harrison
Director of Interactive services
Austin  Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be .




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301632
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Flash Remoting and CF

2008-03-20 Thread Brian Kotek
First, at this point I'd say if you don't use Flex to do this you're a
bit crazy. ;-)  Your Flash guy can use Flex to handle all the core UI
still and still write custom ActionScript or create .swfs that can be
used within Flex.

There is a vast array of information on how easy it is to talk to
ColdFusion from Flex. I'd start here:
http://www.adobe.com/products/flex/developers/coldfusion/



On Thu, Mar 20, 2008 at 8:58 AM, Robert Harrison
[EMAIL PROTECTED] wrote:
 OK. Thanks for all the responses. Summary is do NOT try to connect flash
  directly to a DB. We'll use CF as an intermediate. Although, at this point
  I'm not exactly sure how to do that. I'll probably be back seeking more
  advice later, but I'll do some research first.

  Thanks Everyone...


  Robert B. Harrison
  Director of Interactive services
  Austin  Williams
  125 Kennedy Drive, Suite 100 Hauppauge NY 11788
  T : 631.231.6600 Ext. 119
  F : 631.434.7022
  www.austin-williams.com

  Great advertising can't be either/or... It must be .




  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301633
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Flash Remoting and CF

2008-03-20 Thread Paul Hastings
Brian Kotek wrote:
 First, at this point I'd say if you don't use Flex to do this you're a
 bit crazy. ;-)  Your Flash guy can use Flex to handle all the core UI

or you can kick your flash guy to the curb ;-) flex is easy enough even cf 
troglodytes can make good looking UI.

seriously though i guess if it's an app, flex is a good tool, if it's a website 
with scattered flashey bits  pieces, maybe flash is a better choice?


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301638
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Flash Remoting and CF

2008-03-20 Thread Kevin Aebig
Definitely. Use the right tool for the job at hand. It also depends what
you're comfortable using and the timeframe of the project.

!k

-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 20, 2008 7:44 AM
To: CF-Talk
Subject: Re: Flash Remoting and CF

Brian Kotek wrote:
 First, at this point I'd say if you don't use Flex to do this you're a
 bit crazy. ;-)  Your Flash guy can use Flex to handle all the core UI

or you can kick your flash guy to the curb ;-) flex is easy enough even cf 
troglodytes can make good looking UI.

seriously though i guess if it's an app, flex is a good tool, if it's a
website 
with scattered flashey bits  pieces, maybe flash is a better choice?




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301647
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Flash Remoting and CF

2008-03-19 Thread Matt Williams
I don't think Flash does queries. It does as your Flash guy says, send
a request and receives responses - that is Flash remoting. So yes, you
should write CFCs that Flash will send requests to.

On Wed, Mar 19, 2008 at 1:40 PM, Robert Harrison
[EMAIL PROTECTED] wrote:
 We're developing a data driven site where the front end will run in Flash.
  I've written all the admin programs in CF. These handle all the DB updates
  and ancillary file management.

  Now we've looking at how to run the queries on the display side (flash). I
  was expecting the Flash programmer to connect directly to the DB, run
  queries from inside flash, and use the data to fill the flash page. I
  thought that was Flash Remoting.

  The flash programmer, however, wants me to write all the queries in CF
  pages. He'll pass data to my CF pages, CF will do the queries, and I'll pass
  back these big chunks of XML data (or strings). To me this seems a bit
  questionable. If the DB can be queried directly from Flash wouldn't that be
  more efficient?

  Anyone have an ideas?

 Run queries in CF and pass large data chunks into flash OR
 connect flash to the SQL server (through a web service or something)
  and run the queries from there?

  Which is right/best?

  Thanks,
  Robert


  Robert B. Harrison
  Director of Interactive services
  Austin  Williams
  125 Kennedy Drive, Suite 100 Hauppauge NY 11788
  T : 631.231.6600 Ext. 119
  F : 631.434.7022
  www.austin-williams.com

  Great advertising can't be either/or... It must be .




  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301600
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Flash Remoting and CF

2008-03-19 Thread Robert Harrison
 I don't think Flash does queries. It does as your Flash guy says, send
 a request and receives responses - that is Flash remoting. So yes, you
 should write CFCs that Flash will send requests to.

What about this: http://www.devx.com/webdev/Article/30638 

Robert B. Harrison
Director of Interactive services
Austin  Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be .




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301601
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Flash Remoting and CF

2008-03-19 Thread Andy Matthews
Your Flash guys are correct. Flash cannot run queries directly against the
database. It needs middleware such as ColdFusion, PHP, or .NET.

Your best bet is to write some CFCs to which Flash can connect. That's true
remoting using the AMF protocol. Your application will be faster and more
efficient.

-Original Message-
From: Robert Harrison [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 19, 2008 1:40 PM
To: CF-Talk
Subject: Flash Remoting and CF

We're developing a data driven site where the front end will run in Flash.
I've written all the admin programs in CF. These handle all the DB updates
and ancillary file management. 

Now we've looking at how to run the queries on the display side (flash). I
was expecting the Flash programmer to connect directly to the DB, run
queries from inside flash, and use the data to fill the flash page. I
thought that was Flash Remoting. 

The flash programmer, however, wants me to write all the queries in CF
pages. He'll pass data to my CF pages, CF will do the queries, and I'll pass
back these big chunks of XML data (or strings). To me this seems a bit
questionable. If the DB can be queried directly from Flash wouldn't that be
more efficient?

Anyone have an ideas? 

Run queries in CF and pass large data chunks into flash OR
connect flash to the SQL server (through a web service or something)
and run the queries from there?

Which is right/best?

Thanks,
Robert


Robert B. Harrison
Director of Interactive services
Austin  Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F
: 631.434.7022 www.austin-williams.com

Great advertising can't be either/or... It must be .






~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301602
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Flash Remoting and CF

2008-03-19 Thread Jo�o_Fernandes
That's the very first solution to get your db on someone's hands. Don't 
forget, Flash is client side so things will travel trough the wire so 
you should really avoid to connect directly and use a middle tier to do 
that job for you.

Available ways to get your data:

HTTP service to a cfm page that produces XML
Webservices
Remoting in AMF0 ( Before 7.0.2 ) or Remoting AMF3 ( 7.0.2 or higher ).


-- 

João Fernandes

http://www.onflexwithcf.org
http://www.riapt.org


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301603
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Flash Remoting and CF

2008-03-19 Thread Josh Nathanson
 What about this: http://www.devx.com/webdev/Article/30638

You could do it that way, but IMO doing the database interaction in 
ColdFusion will make the code more decoupled (less coupled?).  If you have 
your database requests in CFC's, you can also call them from other parts of 
your application on the server, or via ajax for example.

-- Josh


- Original Message - 
From: Robert Harrison [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Wednesday, March 19, 2008 12:30 PM
Subject: RE: Flash Remoting and CF


 I don't think Flash does queries. It does as your Flash guy says, send
 a request and receives responses - that is Flash remoting. So yes, you
 should write CFCs that Flash will send requests to.

 What about this: http://www.devx.com/webdev/Article/30638

 Robert B. Harrison
 Director of Interactive services
 Austin  Williams
 125 Kennedy Drive, Suite 100 Hauppauge NY 11788
 T : 631.231.6600 Ext. 119
 F : 631.434.7022
 www.austin-williams.com

 Great advertising can't be either/or... It must be .




 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301604
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Flash Remoting and CF

2008-03-19 Thread Rick Root
On 3/19/08, Robert Harrison [EMAIL PROTECTED] wrote:

  I don't think Flash does queries. It does as your Flash guy says, send
  a request and receives responses - that is Flash remoting. So yes, you
  should write CFCs that Flash will send requests to.

 What about this: http://www.devx.com/webdev/Article/30638


Difficult to maintain, not even remotely a COMMON method, and opens a huge
host of security issues.

The normal route:  Flash connects to a coldfusion web service or to a CFC
via flash remoting.  Coldfusion handles the database queries, and returns it
to flash in a form that it can easily manipulate.

Changes to the queries don't require recompilation of the flash application,
and trust me on this, coldfusion via flash remoting will be *FAR FAR* more
reliable than using the above code.

*shudder*


-- 
 Rick Root
 New Brian Vander Ark Album, songs in the music player and cool behind the
 scenes video at www.myspace.com/brianvanderark


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301605
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Flash Remoting and CF

2008-03-19 Thread Dave Watts
  I don't think Flash does queries. It does as your Flash guy 
  says, send a request and receives responses - that is Flash remoting. 
  So yes, you should write CFCs that Flash will send requests to.
 
 What about this: http://www.devx.com/webdev/Article/30638 

What about it? In that article, the author creates a custom Java application
that uses JDBC, then uses XMLSocket in Flash to talk to it. Flash is not
connecting to a database directly.

It's actually possible for Flash to connect directly to a MS SQL Server 2000
database, because you can set up an IIS component (provided by Microsoft)
that exposes your database to XML dataset requests.

Both of these are horrendously bad ideas, from security and maintenance
perspectives.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301618
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Flash Remoting with CF MX server ?SOT?

2004-01-23 Thread cf
if ur using flash mx 2004 pro its pretty easy just use the xml connector

as far as remoting goes i dont believe u need it, i think it comes with
the coldfusion server, i think just asp.net and such have to pay.

no u can write a cfc with your query and call the cfc in flash can set the
resluts as variables and pull them in flash

lots of tuts out there mm has a lot
www.ultrashock.com
www.kirupa.com
www.flashcfm.com







 I'm attempting to learn how to do dynamic textual content loaded into a
 Flash MX site I'm creating.

 I know how to send Flash form data to CF for processing, but I'm lost
 withpulling data into Flash
 (Like a list of corporate contacts, their email and phone info, grouped
 bydepartment)...

 I was going to go use LoadVars then someone said use XML files, so I
 started learning how to
 create compliant XML files with CF MX... then I saw the (to me)
 completelyINANE code I'd need to
 teach myself in order to properly parse the XML file inside Flash...

 THEN I was being led by the Flash community that the best way is Flash
 Remoting, but I ain't got the
 $1,000 for the remoting software... AND I'm doing this site on the same
 boxas the CF server and the database
 (Small site on a shared server)...

 Do I need to use remoting software?(Rather than using cluge-y
 loadvars,loadvariables or XML parsing)?
 DOES CF MX Server come with remoting?

 Can anyone please provide me an example of how to implement this if it
 does?

 Fields I need to loop through:
 Department
 ContactName
 ContactTitle
 ContactPhone
 ContactEmail

 These need to be grouped by Department and then get posted onto a
 dynamictext movie clip so I can format them and make the email
 clickable...

 Thanks for any help



 At 08:04 PM 1/23/04, you wrote:
I just finished a very basic coldfusion eclipse plug-in. The syntax
 highlighting and code completion are so-so, but better then nothing.

It works on Mac, Linux, and Windows (with jre1.4)

to activate code completion type cf and it will show all the cfmx tags
 (the attribute part works from time to time - bad rule somewhere), and
 after you type a function it'll tell you the syntax for the function -
 cooler still it'll actually tell you the return type :)

To install the plug-in do the following (after you download eclipse of
 course http://eclipse.org):http://eclipse.org):

1. Go to Help/Software Updates/Update Manager
2. In the lower left box (marked Feature Update) right click (control
 click on Mac) select new then site bookmark
3. add Name: cfeclipse URL:http://cfeclipse.rohanclan.com click finish
 4. that should have added a new item to the tree. In the tree, open the
 cfeclipse, then Other, then click on com.rohanclan.coldfusion-feature
 5. in the preview window (upper right) it should now list the plug-in
 details - click the button that says install now.

When it's all done the framework will want to restart. After it has,
 the new plug-in will be associated with cfm, cfml, and cfc files. Just
 open any of those files and the plug-in will kick in.

There is nothing fancy about the plug-in just yet - its just the
 editor. It only does syntax highlighting and code completion (mostly
 anyway), but hopefully as time allows it will do more.

I am waiting for sourceforge.net to give me a project space and I'll up
 load the code, if anyone wants to help they are more than welcome. I am
 doing it under LGPL.

Cheers

--
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.comhttp://www.rohanclan.com
http://treebeard.sourceforge.net
http://ashpool.sourceforge.nethttp://ashpool.sourceforge.net

--
[

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Flash Remoting with CF MX server ?SOT?

2004-01-23 Thread Dave Watts
 I was going to go use LoadVars then someone said use XML 
 files, so I started learning how to create compliant XML 
 files with CF MX... then I saw the (to me) completely 
 INANE code I'd need to teach myself in order to properly 
 parse the XML file inside Flash...

While it might strike you as inane, this is typically how XML parsing is
done using DOM parsers, so if you learn it within Flash you'll be better
prepared for working with XML in many other environments. The DOM API is
pretty common. Compared to using CF, I agree it's pretty complex though.

 DOES CF MX Server come with remoting?

Yes, CFMX and JRun both come with Flash Remoting.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Flash Remoting to CF

2003-12-19 Thread Ben Densmore
I think that's for ASP.NET and PHP only. CF comes with Flash Remoting
built in. I have Flash MX 2004 PRO and I can use Flash Remoting with no
problems.

Ben

-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 19, 2003 2:08 PM
To: CF-Talk
Subject: Flash Remoting to CF

Hi all,

Was doing research on remoting vs xml etc.Discovered that in Flash
2004 MX
pro, I'd have to buy a connector kit for $1,000 per CPU in order to make
it
work.Any other ideas on Flash Remoting, or do I need to do query to
XML
conversions?Am I missing something?

Thanks, Mark

_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Flash Remoting to CF

2003-12-19 Thread Darron J. Schall
If you're running ColdFusion MX or greater, you already have the capability to do remoting - it's built in to the server.Macromedia sells a .NET version, and that is where the cost per CPU comes in.

If you need a php or java version, check out http://amfphp.org/ and http://www.openamf.org

Remoting rocks over XML.Just look at the performance test results in MXDJ.

-d
- Original Message - 
From: Mark Leder 
To: CF-Talk 
Sent: Friday, December 19, 2003 2:08 PM
Subject: Flash Remoting to CF

Hi all,

Was doing research on remoting vs xml etc.Discovered that in Flash 2004 MX
pro, I'd have to buy a connector kit for $1,000 per CPU in order to make it
work.Any other ideas on Flash Remoting, or do I need to do query to XML
conversions?Am I missing something?

Thanks, Mark
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Flash Remoting to CF

2003-12-19 Thread Mark Leder
Yes, I have CFMX 6.1 installed on the production server.I thought
something looked screwy.Thanks for your advice.
BTW: where's this performance test results in MXDJ?URL?

Thanks, Mark 

-Original Message-
From: Darron J. Schall [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 19, 2003 2:19 PM
To: CF-Talk
Subject: Re: Flash Remoting to CF

If you're running ColdFusion MX or greater, you already have the capability
to do remoting - it's built in to the server.Macromedia sells a .NET
version, and that is where the cost per CPU comes in.

If you need a php or java version, check out http://amfphp.org/ and
http://www.openamf.org

Remoting rocks over XML.Just look at the performance test results in MXDJ.

-d
- Original Message - 
From: Mark Leder 
To: CF-Talk 
Sent: Friday, December 19, 2003 2:08 PM
Subject: Flash Remoting to CF

Hi all,

Was doing research on remoting vs xml etc.Discovered that in Flash 2004
MX
pro, I'd have to buy a connector kit for $1,000 per CPU in order to make
it
work.Any other ideas on Flash Remoting, or do I need to do query to XML
conversions?Am I missing something?

Thanks, Mark 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Flash Remoting to CF

2003-12-19 Thread Darron J. Schall
The article can be found by clicking around on sys-con's mxdj page

magazine:http://www.sys-con.com/mx/
article: http://www.sys-con.com/story/?storyid=37919DE=1#RES

I highly suggest getting a print copy - the results are shown as charts which don't seem to be viewable in the online version of the article.

-d
- Original Message - 
From: Mark Leder 
To: CF-Talk 
Sent: Friday, December 19, 2003 2:27 PM
Subject: RE: Flash Remoting to CF

Yes, I have CFMX 6.1 installed on the production server.I thought
something looked screwy.Thanks for your advice.
BTW: where's this performance test results in MXDJ?URL?

Thanks, Mark 

-Original Message-
From: Darron J. Schall [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 19, 2003 2:19 PM
To: CF-Talk
Subject: Re: Flash Remoting to CF

If you're running ColdFusion MX or greater, you already have the capability
to do remoting - it's built in to the server.Macromedia sells a .NET
version, and that is where the cost per CPU comes in.

If you need a php or java version, check out http://amfphp.org/ and
http://www.openamf.org

Remoting rocks over XML.Just look at the performance test results in MXDJ.

-d
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Flash Remoting to CF

2003-12-19 Thread ksuh
I'm not even sure why they bothered to run this.I'm sure the situation will change once the memory leak is fixed.

- Original Message -
From: Darron J. Schall [EMAIL PROTECTED]
Date: Friday, December 19, 2003 12:35 pm
Subject: Re: Flash Remoting to CF

 The article can be found by clicking around on sys-con's mxdj page
 
 magazine:http://www.sys-con.com/mx/
 article: http://www.sys-con.com/story/?storyid=37919DE=1#RES
 
 I highly suggest getting a print copy - the results are shown as 
 charts which don't seem to be viewable in the online version of 
 the article.
 
 -d
- Original Message - 
From: Mark Leder 
To: CF-Talk 
Sent: Friday, December 19, 2003 2:27 PM
Subject: RE: Flash Remoting to CF
 
 
Yes, I have CFMX 6.1 installed on the production server.I thought
something looked screwy.Thanks for your advice.
BTW: where's this performance test results in MXDJ?URL?
 
Thanks, Mark 
 
-Original Message-
From: Darron J. Schall [EMAIL PROTECTED] 
Sent: Friday, December 19, 2003 2:19 PM
To: CF-Talk
Subject: Re: Flash Remoting to CF
 
If you're running ColdFusion MX or greater, you already have the 
 capabilityto do remoting - it's built in to the server.
 Macromedia sells a .NET
version, and that is where the cost per CPU comes in.
 
If you need a php or java version, check out http://amfphp.org/ and
http://www.openamf.org
 
Remoting rocks over XML.Just look at the performance test 
 results in MXDJ.
 
-d

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Flash Remoting to CF

2003-12-19 Thread Darron J. Schall
While the memory leak is part of the slower performance of SOAP vs. Flash-Remoting, it's not the only reason.Did you read the last few lines?

The SOAP approach results in larger payloads and greater CPU processing, resulting from the XML Schema validation and XML parsing. The Flash Remoting approach benefits from a binary representation of request/response as well as the invocation- batching feature. For any application that requires moderate to high remote invocation volume and/or that involves complex data types and large arrays, Flash Remoting is a better fit. 

Because remoting uses AMF (ActionScript Message Format), which is a binary protocol, Flash Remoting will always be faster and less memory intensive than text-heavy xml data.Memory leak or not.

-d
- Original Message - 
From: [EMAIL PROTECTED] 
To: CF-Talk 
Sent: Friday, December 19, 2003 2:43 PM
Subject: Re: Flash Remoting to CF

I'm not even sure why they bothered to run this.I'm sure the situation will change once the memory leak is fixed.

- Original Message -
From: Darron J. Schall [EMAIL PROTECTED]
Date: Friday, December 19, 2003 12:35 pm
Subject: Re: Flash Remoting to CF

 The article can be found by clicking around on sys-con's mxdj page
 
 magazine:http://www.sys-con.com/mx/
 article: http://www.sys-con.com/story/?storyid=37919DE=1#RES
 
 I highly suggest getting a print copy - the results are shown as 
 charts which don't seem to be viewable in the online version of 
 the article.
 
 -d
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Flash Remoting to CF

2003-12-19 Thread ksuh
But the test results are totally spurious.What the hell's the point of running a benchmark if we know that one the contestants is totally broken?

Besides, I'm sure the memory usage chart (useless as it is) won't have web services consuming every byte of memory like it does now once the leak is fixed.

- Original Message -
From: Darron J. Schall [EMAIL PROTECTED]
Date: Friday, December 19, 2003 1:08 pm
Subject: Re: Flash Remoting to CF

 While the memory leak is part of the slower performance of SOAP 
 vs. Flash-Remoting, it's not the only reason.Did you read the 
 last few lines?
 
 The SOAP approach results in larger payloads and greater CPU 
 processing, resulting from the XML Schema validation and XML 
 parsing. The Flash Remoting approach benefits from a binary 
 representation of request/response as well as the invocation- 
 batching feature. For any application that requires moderate to 
 high remote invocation volume and/or that involves complex data 
 types and large arrays, Flash Remoting is a better fit. 
 
 Because remoting uses AMF (ActionScript Message Format), which is 
 a binary protocol, Flash Remoting will always be faster and less 
 memory intensive than text-heavy xml data.Memory leak or not.
 
 -d
- Original Message - 
From: [EMAIL PROTECTED] 
To: CF-Talk 
Sent: Friday, December 19, 2003 2:43 PM
Subject: Re: Flash Remoting to CF
 
 
I'm not even sure why they bothered to run this.I'm sure the 
 situation will change once the memory leak is fixed.
 
- Original Message -
From: Darron J. Schall [EMAIL PROTECTED]
Date: Friday, December 19, 2003 12:35 pm
Subject: Re: Flash Remoting to CF
 
 The article can be found by clicking around on sys-con's mxdj page
 
 magazine:http://www.sys-con.com/mx/
 article: http://www.sys-con.com/story/?storyid=37919DE=1#RES
 
 I highly suggest getting a print copy - the results are shown 
 as 
 charts which don't seem to be viewable in the online version 
 of 
 the article.
 
 -d

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Flash remoting and CF question

2003-08-15 Thread Stacy Young
If you want to use CF to generate this data for flash, then no, you'd
have to go CFMX. The remoting for Java is a server-side utility that
helps expose java classes as available remoting services.

HTH

Stace

-Original Message-
From: Ian Lurie [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2003 3:55 PM
To: CF-Talk
Subject: Flash remoting and CF question

Hi all,

I'm a bit confused here, so bear with me. We're running a CF 5.0 
server. We want to do some data-generated Flash.

My initial thought was that we had to set up a new CF MX 6.1 box (I 
don't want to migrate all of the sites on the current server) and that 
would let us use Flash Remoting.

However, it looks like there's a separate Flash Remoting Windows Java 
kit - can I just install that on the existing 5.0 box? What am I 
missing?

Thanks,

Ian

Portent Interactive
An Internet Marketing Agency
http://www.portentinteractive.com
http://www.searchengineoptimization.cc


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


RE: Flash remoting and CF question

2003-08-15 Thread Dave Watts
 I'm a bit confused here, so bear with me. We're running a 
 CF 5.0 server. We want to do some data-generated Flash.
 
 My initial thought was that we had to set up a new CF MX 
 6.1 box (I don't want to migrate all of the sites on the 
 current server) and that would let us use Flash Remoting.
 
 However, it looks like there's a separate Flash Remoting 
 Windows Java kit - can I just install that on the existing 
 5.0 box? What am I missing?

You'll only be able to use Flash Remoting for Java if you have a J2EE
application server installed on the machine, and in that case, you won't be
able to integrate Flash Remoting with your CF code very easily. So, yes, you
probably want to go with CFMX 6.1 for what you're trying to do.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


RE: Flash Remoting w/CF

2003-03-12 Thread Douglas.Knudsen
I am glad to hear some data on this.  I've been wondering how much data one of these 
RIA thingys can tolerate.

I haven't messed with this yet, but I did read some code that 'paginates' the 
recodrset somehow so that the Flash thingy only holds n rows from an m row query at a 
time.  I saw this at devcon...but alas I can't find the paper at the moment.

Doug

-Original Message-
From: Frank Mamone [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 2:05 PM
To: CF-Talk
Subject: Flash Remoting w/CF


We've been experimenting with Flash Remoting and MX and found that the
performance is a little slow.  We are using a CFC to get a recordset of
about 700 and populating a combobox with it.

Is there any known performance issues with Flash Remoting and 
where can I
read about them.

Thanks,

Frank


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Flash Remoting w/CF

2003-03-12 Thread Mark A. Kruger - CFG
The variable is pagesize and it's passed from the flash movie to the
called cfc or CF page. Here's a doc snippet:



Returning records in increments to Flash
ColdFusion lets you return record set results to Flash in increments. For
example, if a query
returns 20 records, you can set the Flash.Pagesize variable to return five
records at a time to
Flash. Incremental record sets lets you minimize the time that Flash
application waits for the
application server data to load.
To create a ColdFusion page that returns a incremental record set to Flash:
1 Create a ColdFusion page, and save it as getData.cfm in the helloExamples
directory.
2 Modify getData.cfm so that the code appears as follows:
cfparam name=pagesize default=10
cfif IsDefined(Flash.Params)
cfset pagesize = Flash.Params[1]
/cfif
cfquery name=myQuery datasource=ExampleApps
SELECT *
FROM tblParks
/cfquery
cfset Flash.Pagesize = pagesize
cfset Flash.Result = myQuery





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 1:14 PM
To: CF-Talk
Subject: RE: Flash Remoting w/CF


I am glad to hear some data on this.  I've been wondering how much data one
of these RIA thingys can tolerate.

I haven't messed with this yet, but I did read some code that 'paginates'
the recodrset somehow so that the Flash thingy only holds n rows from an m
row query at a time.  I saw this at devcon...but alas I can't find the paper
at the moment.

Doug

-Original Message-
From: Frank Mamone [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 2:05 PM
To: CF-Talk
Subject: Flash Remoting w/CF


We've been experimenting with Flash Remoting and MX and found that the
performance is a little slow.  We are using a CFC to get a recordset of
about 700 and populating a combobox with it.

Is there any known performance issues with Flash Remoting and
where can I
read about them.

Thanks,

Frank



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Flash Remoting with CF

2002-12-30 Thread Mike Chambers
do you want the data from a partcular column?

i.e.

var rowNumber = 0;
var record = rs.getItemAt(rowNumber);
mystring = # + record.FNAME + # + record.LNAME + # + record.EMPID
+ #;

i haven't tested that, so there may be some errors. does that do what
you are trying to do?

mike chambers

[EMAIL PROTECTED]

 -Original Message-
 From: Frank Mamone [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, December 30, 2002 2:16 PM
 To: CF-Talk
 Subject: SOT:Flash Remoting with CF
 
 
 Hi,
 
 I got through the basics of Flash Remoting.  The server comes 
 back with a recordset, however I don't want to bind it to a 
 control with DataGlue. I simply need to build a string using 
 three of the column values.
 
 I want to do this:
 
 mystring = #FNAME##LNAME##EMPID#
 
 Thanks
 
 Frank Mamone.
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: Flash Remoting with CF

2002-12-30 Thread Josh
I am passing a struct back instead of a recordset from CF...it works great
and is easy to do.

building a string should be straight forward in AS with whatever you are
passing back from CF...

something like this:

myString = fname + ' ' + lname + ' ' + empid;  // with spaces in between
fields


HTH,

Josh Trefethen
http://exciteworks.com

-Original Message-
From: Frank Mamone [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 12:16 PM
To: CF-Talk
Subject: SOT:Flash Remoting with CF


Hi,

I got through the basics of Flash Remoting.  The server comes back with a
recordset, however I don't want to bind it to a control with DataGlue. I
simply need to build a string using three of the column values.

I want to do this:

mystring = #FNAME##LNAME##EMPID#

Thanks

Frank Mamone.


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm