Are you going to cf.Objective (if not, you should!) I will be showing some new features of ColdSpring that deal with building remote interfaces for existing services through a proxy factory. It's kind of like automatic remote services. You can also check the article I wrote on my blog about using ColdSpring to build remote services here:

http://cdscott.blogspot.com/2006/02/introducing-auto-magic-remoting- with.html

ps. sorry about the spaming, but I am trying to help!

-Chris

On Mar 3, 2006, at 5:29 AM, Stuart Miller wrote:

Hello,

I need to expose as web services some of the functionality of an existing service layer.

Are there any open source frameworks for web services out there other than Tartan? Or is anyone currently working on such a product? Or at the very least, does anyone have patterns or examples that could be useful?

If I had to do it myself, I would be thinking about the following architecture:

* A collection CFCs that act as method stubs. These live under the web root and have remote methods. They simply define the arguments and return value, but call the controller to do the real work.

* A collection of CFCs living under the web root that act as transfer objects with properties defined by the cfpropterty tag. These should then be self describing so that clients can know how to consume our complex objects.

* A controller. I was thinking that this could have one main method - runService(string:serviceName, struct:arguments):any, or something - that could be called by the remote methods. This will allow me to have plugin points for exception handling, request logging, security, etc.

* Service facade - components that know about the web service transfer objects and how to get data from the model (calls the existing model service layer). These would be called by the controller's runService method.

* ColdSpring to act as a factory for my transfer objects and service facade components.

-Stuart
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

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



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

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


Reply via email to