Letractively / cfwheels

Automatically exported from code.google.com/p/cfwheels
0 stars 0 forks source link

Ability to bind CFCs for CF's built-in binding and AMF capabilities #119

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We need a way to utilize Flash's AMF protocol and CF's built-in CFC binding
into Wheels. At its simplest, this may involve requiring developers to
create "proxy" CFCs in a folder with URL rewriting turned off.

Original issue reported on code.google.com by chrisdpe...@gmail.com on 27 Oct 2008 at 1:32

GoogleCodeExporter commented 9 years ago
Actually I dont think this will work for AMF, since with Flex you are already 
using a framework, and to have 
Cairngorm or anything else on top of Wheels will be a bit of overkill, maybe 
there is another way to bind the AS 
classes to the CFC and not make this so overkill after all, but I dont know 
another way to do it than with the 
normal ValueObject, Service Object, etc.

For the CFC binding, I dont see another way around it, CF wants you to specify 
the path to that specific folder 
and CFC

Original comment by rierar...@gmail.com on 27 Oct 2008 at 1:48

GoogleCodeExporter commented 9 years ago
I'm a bit confused. I was under the impression that Cairngorm was a client-side
runtime framework. I don't see that being overkill when Wheels is a server-side
runtime framework.

In order for AMF to work, it needs to connect to a CFC method directly, which 
must
use the access="remote" attribute. We cannot connect Flash via AMF to a Wheels
controller directly. We would need a set of proxy CFCs to do that.

I believe that we need to support this built-in AMF functionality because it 
performs
so well and is a vital use case for using ColdFusion as the backend for Flash.

Original comment by chrisdpe...@gmail.com on 27 Oct 2008 at 3:22

GoogleCodeExporter commented 9 years ago
Yes but imagine having this

Cairngorm Controller
Cairngorm Model
Cairngorm Service Locator
Cairngorm Value Object

Then

Wheels Controler
Wheels Model
Wheels views

And 

ColdFusion Proxy to link Cairngorm Service Locator to Wheels Controller
ColdFusion Value Object to link Cairngorm Value Object

it seems like a lot (if you are going with the full package, you can ofcouse 
skip all this and just use the query 
returned from CF and dont data type anything)

Original comment by rierar...@gmail.com on 27 Oct 2008 at 3:30

GoogleCodeExporter commented 9 years ago

Original comment by per.djurner@gmail.com on 26 Dec 2008 at 7:33

GoogleCodeExporter commented 9 years ago

Original comment by per.djurner@gmail.com on 7 Mar 2009 at 9:26

GoogleCodeExporter commented 9 years ago

Original comment by per.djurner@gmail.com on 6 Dec 2009 at 6:03

GoogleCodeExporter commented 9 years ago
I'd suggest a quick peek at how ColdBox does it. It might clarify the issues a 
little.

Original comment by indy.nag...@yahoo.com on 16 Dec 2009 at 8:16