Ticket #300 (new enhancement)

Opened 6 months ago

Last modified 4 months ago

Server-side Flex configuration

Reported by: thijs Owned by: nick
Priority: major Milestone: 0.5
Component: Remoting Version: 0.3.1
Keywords: Cc:

Description (last modified by thijs) (diff)

Flex applications can access exposed classes as "destinations". Destinations can be configured server-side, traditionally through one of 3 XML config files:

  • services-config.xml -- configures Flex endpoint (RPC/Messaging)
  • remoting-config.xml -- configures Flex RPC destinations
  • messaging-config.xml -- configures Flex messaging destinations

You can use access these destinations with a Flex RemoteObject like:

remoteObject = new RemoteObject();
remoteObject.destination = "InfoServiceDestination";
remoteObject.getComputerInfo.addEventListener("result", onResult);
remoteObject.addEventListener("fault", onFault);

The InfoServiceDestination in this example would be configured in both the client-side and server-side remoting-config.xml files:

 <destination id="InfoServiceDestination">
   <properties>
     <source>InfoService</source>
   </properties>
</destination>

Would be nice to have a similar mechanism for PyAMF so newbies coming from a Java/PHP background can quickly get started.

Change History

Changed 6 months ago by thijs

  • priority changed from major to minor
  • description modified (diff)
  • summary changed from Support for server-side remoting-config.xml to Server-side Flex configuration

Changed 6 months ago by thijs

  • milestone changed from 0.4 to Blue Sky

Changed 4 months ago by thijs

  • priority changed from minor to major
  • milestone changed from Blue Sky to 0.5
Note: See TracTickets for help on using tickets.