Code Monkey home page Code Monkey logo

amfext's Introduction

amfext (native) 0.9.*
=====================

This extension implements the ActionScript Message Format 
for encoding and decoding,both in AMF and AMF3 versions.

This extension provides two low level functions useful for
encoding and decoding objects into AMF format, but it does
not provide functions for managing the full message. An
example of implementation can be found in [1].

Details on the encoding process can be read in doc/encoding.txt

Documentation on the PHP function and the callbacks is in doc/amfextdoc.php

Constants for the flags that can be used in the encoding/decoding are in amfext.php
that can be included.

The directory tests contains some tests that can be invoked directly. Eventually drop AMFPHP
sources somewhere for testing the PHP version against the C version. See test_common.php for
details.

Building
-------------

Under Windows: download the source of your PHP version and unpack the zip under the
ext directory of the source. Open the associated Visual Studio project (amf4.dsp or amf5.dsp)
and just build. Everything should be fine. For distributing the extension is suggested to use 
Visual Studio 6, otherwise 2003 is fine.

Under Uni*/Linux: obtain your php-devel package and unpack the zip in a directory. Then
as any PHP extension perform:

    phpize
    ./configure --enable-amf
    make install
    
Note: there could be some little problems if php includes are not under /usr

In any case remember to add the amf.so/php_amf.dll extension to the php.ini file

Known Builds
--------------

This code has been tested under Linux (Debian) with PHP5.5.1 on a 64-bit machine.
And has no known bugs as of this moment.

Thanks
---------------

Thanks to Patrick Mineault from AMF for the support, and from the authors
of the JSON PHP extension for the skeleton of the project.


Authors
-------

Emanuele Ruffaldi <[email protected]>

---

[1] http://amfphp.sourceforge.net/

amfext's People

Contributors

brainexe avatar mikn avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.