Michiel
Michiel

Reputation: 8083

use PHP in Adobe Flash Builder 4 on localhost

I would like to use my localhost database and some PHP in my Flex projects (using Flash Builder 4). I've searched on the web for some good tutorials, but couldn't find one. The only decent I found was this one, but I ran into a problem when trying to install ZendFrameWork.

Does anyone knows a good place to start learning using PHP into Adobe Flas Builder 4?

Thanks!

Upvotes: 0

Views: 621

Answers (4)

JTtheGeek
JTtheGeek

Reputation: 1713

WebORB all the way! It's free for PHP http://www.themidnightcoders.com/products/weborb-for-php/overview.html

There are several tutorials both articles and video's on that page for setting it up, using it, and having it auto-generate a lot of the nuts and bolts as3 code for you.

Upvotes: 0

Adrian Pirvulescu
Adrian Pirvulescu

Reputation: 4340

I use AMFPHP as server side framework and PHPEd as ide for php :)

Upvotes: 1

Michiel
Michiel

Reputation: 8083

After a little detour, I came to this. And this was my solution! Thanks a lot!

Upvotes: 0

Doug Johnson-Cookloose
Doug Johnson-Cookloose

Reputation: 540

You are going to want to define what you want each player to do. Flash Builder is probably going to be on the client side. PHP, although it can do client side work, is going to be on the server side, assuming "normal" implementation.

So what do you want PHP to do. Again, I am going to assume the "normal" and you want PHP to serve up data. One of the easiest ways to integrate that data into Flash Builder is via JSON so this article handles the PHP side
http://www.sencha.com/learn/Tutorial:Creating_JSON_Data_in_PHP
and this article handles the Flash Builder side
http://sujitreddyg.wordpress.com/2009/06/05/consuming-json-using-data-centric-development-feature-dcd-in-flash-builder-4/

There are other ways to pass data (XML, say), but until you decide what it is that you are trying to do, exactly, the above should get you started.

Upvotes: 1

Related Questions