Cairngorm Store Example Updated to Cairngorm 2.1

I went ahead and updated the Cairngorm Store example to Cairngorm 2.1. You can find the original example code download on http://www.cairngormdocs.org/.

Get the updated code here.

Here is my short list of changes:

  1. Changed com.adobe.cairngorm.business.Responder to mx.rpc.IResponder
  2. Changed com.adobe.cairngorm.commands.Command to com.adobe.cairngorm.commands.ICommand
  3. Changed com.adobe.cairngorm.vo.ValueObject to com.adobe.cairngorm.vo.IValueObject
  4. Deleted result and fault handlers on RemoteObjects components in the Services.mxml file.
  5. Used Call.addResponder( responder ) instead of resultHandler and faultHandler
  6. Changed onResult/onFault to result/fault
  7. Changed getService to getRemoteObject

Along with this update I have been updating the RemoteObjectAMF0 and got it working with the Cairngorm Store example. I’ll package the changes and PHP example up as a separate download, get more details in a future post.

Leave a Reply