Ticket #1378 (closed enhancement: fixed)

Opened 7 years ago

Last modified 7 years ago

amfPhp & seagull integration

Reported by: getconfused Assigned to: demian
Priority: normal Milestone: 0.6.2
Component: not categorised Severity: open
Keywords: Cc:

Description

Attached is a patch to include AMF-handling functionality in seagull.

Amfphp is an RPC toolkit for PHP. It allows seamless communication between Php and :

• Flash and Flex with Remoting • JavaScript? and Ajax with JSON • XML clients with XML-RPC

This patch was tested only with "Flash and Flex with Remoting". download amfPhp here http://www.amfphp.org/ and put the amf-core folder in your SGL_LIB_CORE

you can then put your flash services in :

module/yourModule/amfservices/

include in the patch is an example of a service

To call a service from flash just call the module url :

http://seagul/index.php/yourModule/

Attachments

Example.as (437 bytes) - added by getconfused on 01/10/07 09:47:46.
Actionscript file example
amfPhp.2.diff (11.0 kB) - added by getconfused on 01/10/07 10:10:25.
Example.php (0.6 kB) - added by getconfused on 01/10/07 12:49:14.

Change History

01/10/07 09:47:46 changed by getconfused

  • attachment Example.as added.

Actionscript file example

01/10/07 09:56:04 changed by demian

  • owner changed from getconfused to demian.
  • status changed from new to assigned.

01/10/07 10:10:25 changed by getconfused

  • attachment amfPhp.2.diff added.

01/10/07 12:49:14 changed by getconfused

  • attachment Example.php added.

01/10/07 16:21:55 changed by demian

  • status changed from assigned to closed.
  • resolution set to fixed.

Nice work dude, and docs look good too. I change SGL_Request_Amf to extend SGL_Request_Ajax since only 1 line was different - can u test?

cheers :-)