I use a similar setup to Chris Scott. One thing that I found is key is that you need to have service cfcs which contain your logic for saving loading objects. Those service objects can be setup using AOP and the RemoteProxyFactory as an API you can call from your Flex app. My service APIs usually look like this basic sample below:
getUser(userID) saveUser(user) getUsers(lastname, email, state) I hope that helps. The remoteProxy factory section of the CS documentation is a good guide to getting it setup. --Kurt On 11/21/06, Nick Collins <[EMAIL PROTECTED]> wrote:
Hey guys, I'm Nick; new to this list and only recently became aware of ColdSpring. I am working on learning it by developing an app where I'm using ColdSpring as the back-end framework, and a Flex 2 Cairngorm architecture on the front-end. What I am wondering, for those of you who have walked this path before, is what the best way is "wire" together the Cairngorm DTO/VO's to their ColdSpring equivalents? Are you making use of the configuration XML files for each of your classes, or are you doing a CFC facade to act as your factory? Or are you ignoring that altogether and just using RemoteObject to remote directly into the service CFCs? If anyone has any example code I could see of your solution, that would be awesome as well. Nick
