|
| Flex, PHP and MySQL |
 |
Thu, 11 May 2006 05:39:00 +000 |
Hi,
I am pretty new to flex. This is the example that was given on the site to
make php and flex work together and using data services get the data from
mysql.
I have been trying to make this work for last few days. But no luck.
I installed Flex Builder 2.0 Beta3, Flex Data Services 2.0.
I really need help. What is the simple way to make flex datagrid get the data
from mysql or SQL server database.
at
mx.rpc.http::HTTPService/http://www.adobe.com/2006/flex/mx/internal::processResu
lt()
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandle
r()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at ::DirectHTTPMessageResponder/completeHandler()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()
Thanks in advance.
Regards,
Ratna
|
| Post Reply
|
| Re: Flex, PHP and MySQL |
 |
Thu, 11 May 2006 06:28:18 +000 |
Hi,
You can try PHP with remoting. Adobe labs have a sample on that.
Check out :
http://labs.adobe.com/wiki/index.php/Flex_Framework:tutorials:flex2_AMFPHP
Thanks
Regards
|
| Post Reply
|
| Re: Flex, PHP and MySQL |
 |
Thu, 11 May 2006 13:45:19 +000 |
Hi Elango,
Appreciate your response. I tried the link you gave before. Problem I faced
there is I did not know where to place AMFPHP folder. There is not setup files
in AMFPHP folder I downloaded from AMFPHP.org.
Can you please throw some light, by giving me steps in making this work with
AMFPHP.
As I said I am dumb in Flex. Getting to know it and seems to be very
interesting. Just need to make this first app work.
Thanks again,
Ratna
|
| Post Reply
|
| Re: Flex, PHP and MySQL |
 |
Fri, 12 May 2006 10:51:46 +000 |
Originally posted by: rgarapati
Hi Elango,
Appreciate your response. I tried the link you gave before. Problem I faced
there is I did not know where to place AMFPHP folder. There is not setup files
in AMFPHP folder I downloaded from AMFPHP.org.
Can you please throw some light, by giving me steps in making this work with
AMFPHP.
As I said I am dumb in Flex. Getting to know it and seems to be very
interesting. Just need to make this first app work.
Thanks again,
Ratna
The problem is that AMFPHP tutorial doesn't actually work quite yet - AMFPHP
is a fickle monster and you're probably best off going through the plain XML /
PHP interface he's put on his blog here at Adobe.
One thing to watch out for that as you're using the latest version of Flex you
need to set your dataGrid dataProvider to {userRequest.lastResult.users.user} -
though he may have changed that in some versions of the tutorial now.
Otherwise it's pretty straightforward :)
(just google for mike potter blog adobe)
|
| Post Reply
|
| Re: Flex, PHP and MySQL |
 |
Tue, 16 May 2006 16:27:37 +000 |
|
| Post Reply
|
|
|
|
|
|
|
|
|
|