Release notes for SWX PHP Beta 1.3 and earlier

Beta 1.3 (released July 18, 2007)

  • SWX gateway: Errors are now returned as Objects with error (boolean), errorNumber, and errorNumber properties.
  • SWX Full API: Added fault handler support. You add a fault handler just like result, progress, and timeout handlers. e.g., fault: [this, faultHandler] in the call parameters object you pass the swx call() method.
  • BaseService no longer shows up in the methods drop-down in Explorer for any of the APIs.
  • Added checks for safe mode and open basedir (CURL followlocation will fail in both these situations), and mod_security (cross-domain data access fails with default ruleset) that alert user potential problems instead of failing silently .
  • PHP 5: Fixed strict mode errors causing calls to fail (e.g. Flickr.getUserPhotos).
  • MAMP Bundle: Now defaults to the correct default directory on start up.
  • Flash examples: Saved all files in Flash 8 format.
  • Flash examples: Added .. to the classpath of all example FLAs so they compile out of the box.
  • Flash examples: Set mobile examples to FL 2.0 not 2.1 to be F8 compatible.
  • Flash examples: Removed old example files.

Beta 1.2.2 (released July 9, 2007)

Very minor point release: The SWX image on the start page was missing from previous Beta 1.2.x releases. If your aesthetic sensibilities can live with that, you don't need to upgrade from 1.2.1! :)

Beta 1.2.1 (released July 9, 2007)

(Many thanks once again to Folkert for reporting the issues that were fixed in this release).

  • Explorer: Fixed name of Explorer SWF so it doesn't break on case-sensitive systems.
  • Explorer: Explorer: The results panel now hides when changing methods.

Beta 1.2 (released July 6, 2007)

See this blog post for release notes.

Beta 1.1 (released June 17, 2007)

Please read the list of changes in SWX Beta 1.1 from on blog.

Beta 1.0 (released 2007-5-25)

For a summary of changes in SWX Beta 1, please see this overview of SWX Beta 1 on my blog.

This is a major release, taking SWX from Alpha to Beta stage.

  • Added Full API. This API gives you an abstract interface (you don't have to do movie clip loading by hand), callbacks and timeouts and queued calls.
  • Added LoadManager and ExternalAsset classes (part of the Full API). You can use these to load any external asset in queue.
  • Refactored gateway and compiler code.
  • SWX gateway now performs error checking and returns errors.
  • Removed error reporting code from SWX Twitter API as this is now handled by the gateway.
  • API Change: The arguments property is now args to be consistent with the Full API.
  • Added Full API and No API versions of most Flash samples.
  • Updated the SWX start page with the latest code example from my blog.
  • Added cancelAllCalls() method to the SWX class and cancelAllLoads() method to the LoadManager class. These clear out the queue of waiting SWX calls and movie loads, respectively.
  • Added an additional method of allowing cross-domain data exchanges that doesn't require the main SWF to grant access to the SWX data SWF.

Alpha release notes

What's new in Alpha 0.2.2 (released 2007-04-28)

This is a minor release before 0.3.

  • The SWX Twitter API now supports all methods in the official Twitter API (except the featured users call as there's potentially a bug with the Twitter API on that call) as well as several additional custom methods. You can test out the Twitter API calls online using the Flex-based PHP Service Browser interface on the SWX web site. (If prompted, enter http://swxformat.org/php/amf.php as the gateway URL.)
  • Deployed the SWX PHP gateway on swxformat.org (you'll get a SWF if you hit that URL in the browser) and modified all samples to hit this gateway instead of the older one on aralbalkan.com. This will be the main public SWX gateway, going forward. Please feel free to use the Twitter API from this gateway for your own mashups, etc., if you want to.
  • Added a second small Flash Lite Twitter sample that uses the new LoadManager and ExternalAsset classes to standardize and control loading of SWX and other media in Flash Lite applications.
  • The SWX class has the new API code in there but this has not been tested and none of the examples use it. It won't be supported until Alpha 0.3 but you can peek at it if you're curious. Don't blame me if it breaks though!

What's new in Alpha 0.2.1 (released 2007-04-28)

The big feature in this release is compression!

  • Compression. You can now set a compression level from 0 (no compression; fastest) to 9 (maximum compression; slowest) in the SWX configuration file (php/swx_config.php).
  • Added a very simple Flash Lite 2.1 example. Note that POST appears to be broken in loadMovie() in Flash Lite 2.1, so use GET instead. I am going to work with the Adobe folks to make sure that this gets fixed in future versions of Flash Lite.

Older releases

What's new in Alpha 0.2.0 (released 2007-04-16)

SWX 0.2.0 is another huge release and brings with it an API change. Please read the release notes carefully!

  • API change: Prepare.forPhp() has been replaced with SWX.prepare(). See the updated introductory blog post on SWX for usage examples.
  • You can now do cross-domain data exchanges with SWX. If you want to disallow cross-domain access to your data, set the allowDomain paramater to false in the swx_config.php file (php/swx_config.php).
  • Added PowerPC support. Should now work on older (bi-endian) Macs.
  • The SWX analyzer now also works across domains. This means that once open, it will display data loading from any domain, local or remote.
  • GET support was broken on SWX gateway. This has now been fixed.
  • SWX now uses JSON instead of PHON when serializing arguments sent from the client to the server.
  • Fixed setVariable (bytecode) bug and removed respective workaround in SWFCompiler class.

What's new in Alpha 0.1.9 (released 2007-04-10, updated 2007-04-12 at 10:05 GMT).

  • Added Amfphp to the build.
  • SWX now works with Amfphp services (except those that return RecordSets). Fixed include path mismatch with Amfphp in service class includes, which was the only remaining issue.
  • Added interim workaround for object support (they are converted to associate arrays).
  • Added History Panel to SWX Analyzer.
  • Added SWX Twitter Badge sample app
  • Added SWX Twitter Stream sample app
  • Updated SWX gateway path for Flash examples. They now use http://localhost:8888/php/swx.php. This is in preparation for the MAMP bundles in 0.2.1).
  • Added config file SWX to allow custom services folder.
  • Integrated SWX config file with globals.php in Amfphp.
  • Renamed Amf gateway to amf.php (from gateway.php) to be consistent with other gateway naming conventions.
  • Changed include_once statements to include statements to decrease load.
  • Changed Analyzer and service browser to use UFO
  • License information added to build and start page
  • Started the move to friendlier end-user documentation (very early stages)
  • Added basic error checking to SWX Analyzer.
  • Tested with MAMP 1.4.1
  • Updated to work on (and tested with) PHP 4.4.4

What's new in Alpha 0.1h (released on 2007-04-02 at 18:22 GMT):

  • Alpha 0.1g had old versions of the SwfCompiler and SWX gateway. This release fixes that. It should now function as per the docs.

What's new in Alpha 0.1g:

  • API Change. The className property is now "serviceClass".
  • API Change. The data property is now "arguments".
  • How service methods are called has changed. Previously, the data property was sent as the first (and only) argument to the server-side method. Now, the data property has been replaced with the arguments property. You still pass an array as the arguments property but each top-level element in the arguments array is passed as a separate argument to your server-side method. This is going to allow you to use SWX with any existing service class(for example, Amfphp service classes.)
  • Deployment: Removed some .svn folders that were somehow checked in.
  • SVN: Added tags to repository.
  • Deployment: Renamed text folder to "docs" to make it clearer.
  • Docs: Updated docs to reflect API changes in 0.1g

What's new in Alpha 0.1f:

  • Previous releases had the php/lib folder missing.

What's new in Alpha 0.1e:

Broken build, please download 0.1f

  • Added manual PHON serializer.
  • Modified echo sample application to use the manual PHON serializer.
  • Renamed the automatic serializer AutoPhpSerializer. It's still there but you can choose whether you want to use it. I may remove this in future iterations.
  • Modified the SWX gateway to handle null values. The auto serializer was sending them over as undefined.

What's new in Alpha 0.1d:

  • Fixed bug with the SWX gateway that threw script errors for incorrectly formed requests. This bug was introduced with the addition of GET functionality in 0.1b.

What's new in Alpha 0.1c:

  • The example FLA is now saved in a format that can be read by Flash 8 (oops, sorry + thanks Paddy for alerting me to this!)

What's new in Alpha 0.1b:

  • PHP 4 and PHP 5 support. Tested with PHP 4.4.2 and PHP 5.1.4
  • Added GET support to the gateway. You can now call the gateway with both POST and GET


effexor weight

lipitor and grapefruit

generic viagra

phentermine 37.5 mg

oral prednisone

imitrex

paxil online

paxil medication

proscar finasteride

kamagra oral jelly

cheap levitra online

crestor tablets

furosemide dose

order phentermine

cost levitra

proscar for hair loss

doctor lipitor vs zocor

buy neurontin

buy celebrex online

digoxin action

phentermine diet

side effects of furosemide

furosemide renal

ultram tramadol

celebrex medicine

dose of prednisone

melphalan prednisone

buy neurontin online

fluoxetine prozac

prozac alcohol

cheap rimonabant

venlafaxine

phentermine prescription

effexor tablets

viagra side effects

side effects of prednisone

diflucan side effects

lipitor side effect

buy cialis

proscar hair

effexor 37.5 mg

10 levitra

rimonabant smoking

prednisone in dogs

buy effexor

buy cheap cialis online

viagra for women

fluconazole diflucan

discount paxil

crestor meteor

1 Response to “Release notes for SWX PHP Beta 1.3 and earlier”


  1. 1 Max Ziebell

    Hallo Aral,

    I get the following errors on PHP 5.1.2:
    You got any clou what this could be?

    Fail: SwxAssemblerTest.php -> SwxAssemblerTest -> testDataToBytecode -> Equal expectation fails at character 11 with [0068656C6C6F00] and [0068656C6C600] at [/srv/www/vhosts/h****.stratoserver.net/httpdocs/swx/php/tests/SwxAssemblerTest.php line 64]
    Fail: SwxAssemblerTest.php -> SwxAssemblerTest -> testStringToBytecode -> Equal expectation fails at character 11 with [0068656C6C6F00] and [0068656C6C600] at [/srv/www/vhosts/h****.stratoserver.net/httpdocs/swx/php/tests/SwxAssemblerTest.php line 87]
    Fail: SwxAssemblerTest.php -> SwxAssemblerTest -> testStrhex -> Equal expectation fails at character 9 with [68656c6c6f] and [68656c6c6] at [/srv/www/vhosts/h****.stratoserver.net/httpdocs/swx/php/tests/SwxAssemblerTest.php line 199]

    PHP Settings are:
    PHP Version 5.1.2

    System Linux h1366777 2.6.9-023stab044.16-enterprise #1 SMP Fri Nov 23 20:56:09 MSK 2007 i686
    Build Date Mar 3 2007 16:33:19
    Configure Command ‘../configure’ ‘–prefix=/usr’ ‘–datadir=/usr/share/php5′ ‘–mandir=/usr/share/man’ ‘–bindir=/usr/bin’ ‘–with-libdir=lib’ ‘–includedir=/usr/include’ ‘–sysconfdir=/etc/php5/apache2′ ‘–with-config-file-path=/etc/php5/apache2′ ‘–with-config-file-scan-dir=/etc/php5/conf.d’ ‘–with-exec-dir=/usr/lib/php5/bin’ ‘–enable-magic-quotes’ ‘–enable-libxml’ ‘–enable-session’ ‘–with-mm’ ‘–with-pcre-regex’ ‘–enable-xml’ ‘–enable-simplexml’ ‘–enable-spl’ ‘–enable-safe-mode’ ‘–disable-debug’ ‘–enable-memory-limit’ ‘–enable-inline-optimization’ ‘–enable-zend-multibyte’ ‘–disable-rpath’ ‘–with-apxs2=/usr/sbin/apxs2′ ‘–disable-all’ ‘–disable-cli’
    Server API Apache 2.0 Handler
    Virtual Directory Support disabled
    Configuration File (php.ini) Path /etc/php5/apache2/php.ini
    Scan this dir for additional .ini files /etc/php5/conf.d
    additional .ini files parsed /etc/php5/conf.d/bcmath.ini, /etc/php5/conf.d/bz2.ini, /etc/php5/conf.d/calendar.ini, /etc/php5/conf.d/ctype.ini, /etc/php5/conf.d/curl.ini, /etc/php5/conf.d/dbase.ini, /etc/php5/conf.d/dom.ini, /etc/php5/conf.d/exif.ini, /etc/php5/conf.d/filepro.ini, /etc/php5/conf.d/ftp.ini, /etc/php5/conf.d/gd.ini, /etc/php5/conf.d/gettext.ini, /etc/php5/conf.d/gmp.ini, /etc/php5/conf.d/iconv.ini, /etc/php5/conf.d/imap.ini, /etc/php5/conf.d/ldap.ini, /etc/php5/conf.d/mbstring.ini, /etc/php5/conf.d/mcrypt.ini, /etc/php5/conf.d/mhash.ini, /etc/php5/conf.d/mysql.ini, /etc/php5/conf.d/mysqli.ini, /etc/php5/conf.d/ncurses.ini, /etc/php5/conf.d/odbc.ini, /etc/php5/conf.d/openssl.ini, /etc/php5/conf.d/pcntl.ini, /etc/php5/conf.d/pdo.ini, /etc/php5/conf.d/pgsql.ini, /etc/php5/conf.d/posix.ini, /etc/php5/conf.d/pspell.ini, /etc/php5/conf.d/shmop.ini, /etc/php5/conf.d/snmp.ini, /etc/php5/conf.d/soap.ini, /etc/php5/conf.d/sockets.ini, /etc/php5/conf.d/sqlite.ini, /etc/php5/conf.d/sysvmsg.ini, /etc/php5/conf.d/sysvsem.ini, /etc/php5/conf.d/sysvshm.ini, /etc/php5/conf.d/tokenizer.ini, /etc/php5/conf.d/wddx.ini, /etc/php5/conf.d/xmlrpc.ini, /etc/php5/conf.d/xsl.ini, /etc/php5/conf.d/zlib.ini
    PHP API 20041225
    PHP Extension 20050922
    Zend Extension 220051025
    Debug Build no
    Thread Safety disabled
    Zend Memory Manager enabled
    IPv6 Support enabled
    Registered PHP Streams php, file, http, ftp, compress.bzip2, https, ftps, compress.zlib
    Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
    Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, bzip2.*, convert.iconv.*, zlib.*

Leave a Reply




Bad Behavior has blocked 10388 access attempts in the last 7 days.