PDA

View Full Version : flexbuilder php mysql external server


davej
03-19-2009, 10:54 PM
Hi All
I have just started working with flex builder and trying out the php wizard to build db driven apps. I am wondering if its possible to connect directly to a external server with flex builder. Kind of like dreamweaver does or do I have to run a web server like iis on my computer to develop and then move files up. Any tips would be great

mastermind81
03-20-2009, 12:13 PM
First of all. Flex run its apps (both web and AIR) without any external server.
It will works as much similar as it is working in your FLEX IDE. (subject to security constraints).
So just install flex and enjoy what ever you want.

davej
03-20-2009, 03:29 PM
I think your missing what I am asking. in flex builder there is a php wizard. Its a tool that automatically writes php code for you that passes data to the flex app from a db. To use this you need to configure it to point to where the web server is. The issue I am having is that it only seems to allow you to point to a local webserver not one on the web. What I am wondering is if there is a way to set it up to connect to a web server via ftp to put the php files there then connect through http to get the data back
or am I stuck having to set up a server on my machine to be able to use it.

here is a link to some info on the wizard
http://blog.kevinhoyt.org/2008/08/04/flex-builder-data-wizard-and-php/

Peter Cowling
03-20-2009, 04:25 PM
You are stuck with using a local server, as far as I know.

davej
03-20-2009, 04:56 PM
that really sux as I cant seem to get php iis or apache to work with mysql. Total pain in arse have tried tons of combos with no luck

Peter Cowling
03-20-2009, 05:58 PM
that really sux as I cant seem to get php iis or apache to work with mysql. Total pain in arse have tried tons of combos with no luck

I would download the stack in one (http://www.wampserver.com/en/download.php) if I were you.