> The one short coming I see, and this isn't related to MachII 
> but the http model in general is that you cannot pass an 
> instance of a cfc back to flash. 

I don't think you'd want to either. The idea of a service oriented
architecture is to abstract your service from your client. A web service
should be a well encapsulated and stateless entity. This has nothing to
do w/ http btw. I can binary serialize an object instance in C# and pass
it around via http.

The other problem is, your 
> controller is not managing anything for the client.  

Again, you *really* don't want to be mixing these two layers. A very bad
idea. 

I am not 
> the flash developer on my team, so I can't really speak to 
> that.  You have to have a bit of a controller in the client 
> as well I guess.

Flash is deceptively powerful. You can have an abstraction of your
business objects in addition to controler logic inside the client.
ActionScript 2, even AS1 for that matter, is a much more functionally
realized language for object programming than cfml.

I'd like to echo Matt's statements as well as my post earlier that
illustrated this in a practical manner: do not couple your server
implementation to your consuming client code!


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to