File: remoteobject.rst

package info (click to toggle)
pyamf 0.6.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,692 kB
  • sloc: python: 17,944; xml: 455; makefile: 116; sql: 38; java: 11; sh: 7
file content (23 lines) | stat: -rw-r--r-- 730 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
******************************
  RemoteObject Configuration
******************************

.. topic:: Introduction

   For Flex developers it is much more natural to use the `RemoteObject`
   ActionScript API for accessing server-side objects instead of the
   pure Actionscript approach using NetConnection.

   Despite PyAMF currently not supporting the use of server-side Flex
   configuration files (like services-config.xml and remoting-config.xml),
   you can still use a `RemoteObject` within your Flex/PyAMF applications
   via programmatic configuration.


Example
=======

Here is how to wire up a `RemoteObject` programmatically:

.. literalinclude:: ../examples/general/remoteobject/remoteobject_test.as
    :linenos: