If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > PostgreSQL > how to retrieve postgres data from a flex3 application ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-07-09, 15:25
Michael REMY Michael REMY is offline
Registered User
 
Join Date: Jul 2009
Posts: 14
Red face how to retrieve postgres data from a flex3 application ?

hi !

i build a user interface in Adobe Flex3, i need to get data from a distant postgres server.
i don't find a way to connect, SQL, get data from the server !
any example of a basic case (populate a list via table ) ?

if there any way to ask server by a xml technology ? like XML-RPC...

i can't imagine ADOBE forget to integrate some Postgres method in ActionScript 3...
Reply With Quote
  #2 (permalink)  
Old 08-08-09, 03:48
artacus72 artacus72 is offline
Registered User
 
Join Date: Aug 2009
Location: Olympia, WA
Posts: 337
They didn't forget, you don't connect directly to any database directly from Flex. You need a middle tier (java, python, php) that brokers requests between the db and the client, and handles authenticating the client.

The good news is that Postgres is really good for working with XML as is Flex, so your middle tier can be much smaller than traditional web programming.

I cover Flex, Postgres and Flex in my blog and you may find this article of interest.
XML in Postgres – The Game Changer Flex and Specs()
Reply With Quote
  #3 (permalink)  
Old 08-08-09, 03:55
Michael REMY Michael REMY is offline
Registered User
 
Join Date: Jul 2009
Posts: 14
thanks !
actually, the server is a xml-rpc interface, driven by python application (OPENERP).
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On