Mike Potter

August 17, 2006

Updated (unofficial) Adobe PHP SDK

I've updated the (unofficial) Adobe PHP SDK to fix some problems after the initial release.  Turns out a few files were missing from the .zip file, and some files were misnamed.  I've fixed these problems and also added in a new, more simple sample to show how Flex can retrieve XML data from a PHP backend, without requiring the use of a MySQL database.  Finally, I've also removed the .svn files from the .zip file, reducing its size to only 1.5 MB.

You can download the updated .zip file here.

If you would like to contribute to this project, please:

technorati tags:, , ,

Posted by at 11:13 AM on August 17, 2006

Comments

Todd Clare — 12:02 PM on August 17, 2006

Mike - I've never used SVN before, so all I see is a bunch of weird folders, etc. Tips on how to use SVN for a newbie? Thx. -- TC

Scriptor — 1:28 PM on August 17, 2006

Uhm, have you tried using Flex to get just plain-text out of php files? It's easier and I think therefore a better place to start.

Olle Jonsson — 5:26 AM on August 29, 2006

Todd, you might like TortoiseSVN, which has a Windows Explorer extension that gives you a context menu item for SVN operations.

The .svn folders keep all the meta-data about the changes you make to the checked-out project.

Jun HU — 11:31 AM on September 1, 2006

Mike, i've tried your sdk. In amfphp section, the submit functionality does not really work in my box. I've created Database, but just doesn't work. Actually, I try to understand how to pass an Flex Value Object to amfphp.

I saw in your example,

you use :

var user:Object = new Object();
user.name = "SthWhatUWant";

and pass the user object to amfphp. But I tried in my code, failed.

Could you give me some advices ? Thank you in advance.

Jun HU — 9:05 AM on September 4, 2006

There is one question, how do you send back the error information to Flex Client. I only got sth like [Object,Object]

Thank you in advance.

Jun

Jun HU — 10:22 AM on September 4, 2006

From amfphp, just was told that amfphp converts the php error to flash error message. I've tried both flash.errors package and flex Error Class, neither of them works. So how could we just pass the flash error message to flex error message?

Thank you for signing in, You may now comment. (Sign Out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Add your comments

Remember Me?

(You may use HTML tags for style.)