Re: [flexcoders] Form Processing in Flex

2008-07-30 Thread Tom Chiverton
On Tuesday 29 Jul 2008, brucewhealton wrote:
 using Flex. When designing in xhtml, using Dreamweaver, I call the
 form processor from the opening form tag, which calls a php file -

Which does what ? I'm not clear.

 information for form processing.  I am curious as to how to process
 the form data when the form is created in Flex. 
.
 I'm not clear how this would work in Flex. Everything in the
 Flex application is compiled. So, how do you access the content
 entered by the user that comes to the form?

You send it somewhere, such as a HTTP post or SOAP call.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [flexcoders] Form Processing in Flex

2008-07-30 Thread Sid Maskit
I'm not sure if I am understanding your question, but maybe this will help. 

Flex can communicate with a server in several ways.

One way that flex can communicate with a server is by pretty much acting the 
same as a browser: i.e. it can submit get and post requests which will look 
exactly the same to the server as get and post requests submitted by a browser. 
Thus you can probably process form submissions on the server using exactly the 
same PHP code that you are using for browser-submitted forms.

Similarly, flex can get the server's response to such a request, and can 
process the provided information. However, unless you are simply going to 
display it to the user, you probably do not want the server to respond with a 
page of HTML, but rather was something that will be useful for flex. Thus this 
might be where you would want to start changing your server-side code to act 
differently for flex as opposed to the browser.

Flex also has built-in classes for communicating with web services, Flash 
Remoting, and LiveCycle Data Services.

One of the nice things about the latter two approaches is that a gateway takes 
care of translating data between flash and the server so that each can work in 
its native datatypes. For example, if one is using a PHP server, the gateway 
will take submitted flash data and convert it to PHP data, and take the 
returned PHP data and convert it to flash data. Thus you can work with native 
datatypes on both the client and server without having to worry about 
conversions.

Obviously, none of the above tells you how to do any of this, but hopefully it 
gives you some starting points for further research, or asking more specific 
questions.



- Original Message 
From: brucewhealton [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, July 28, 2008 3:26:30 PM
Subject: [flexcoders] Form Processing in Flex


Hello all,
I think I wasn't clear when I discussed something related to
this previously in a posting.  I see some very useful and elegant
tools for creating form elements using Flex.  When designing in xhtml,
using Dreamweaver, I call the form processor from the opening form
tag, which calls a php file - that's I have been using, mainly for
form processing.  It returns the values entered.
I'm not clear how this would work in Flex.  Everything in the
Flex application is compiled.  So, how do you access the content
entered by the user that comes to the form?  Can someone explain how
this works, please?  Does this require a certain type of form processor?
Thanks,
Bruce