Note: You are currently viewing documentation for Moodle 2.8. Up-to-date documentation for the latest stable version of Moodle may be available here: AMF Moodle.

AMF Moodle

From MoodleDocs
Revision as of 09:40, 9 October 2008 by Matt Bury (talk | contribs) (New page: ==What is AMFPHP?== AMFPHP is a widely used open source remoting server that allows Flash and Flex client-side applications to call PHP methods directly, as if they were native Flash/Flex...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

What is AMFPHP?

AMFPHP is a widely used open source remoting server that allows Flash and Flex client-side applications to call PHP methods directly, as if they were native Flash/Flex ActionScript methods. It is fast and lightweight and presents a very efficient method of communicating with PHP and databases. AMFPHP preserves the following data types between ActionScript and PHP:

  • int
  • Number
  • String
  • Array
  • mysql_result/Recordset

Note: Please add to this list if you have successfully tested data types using AMFPHP 1.9.beta+ and ActionScript 3.0.

AMFPHP automatically converts data types between ActionScript and PHP to their native equivalents. For example, it can convert a PHP array into and ActionScript array or a PHP resource, such as a mysql_result into an Actionscript Recordset.

What is AMF Moodle?

AMF Moodle is a new project (9th October 2008) which aims to integrate Flash and Flex with Moodle's API. The aim is to build a library of services that Flash and Flex developers can use to create secure client-side applications that can interact with Moodle. The first step will be to create a Moodle module that facilitates deploying custom made, generic Flash and Flex e-learning interactions and recording user interaction results in the Moodle gradebook.

The project's participants at the moment are: Matt Bury, Jamie Pratt and Marcus Potter. You can find the project at code.google.com.