[flexcoders] Data Management in Flex : Add/Edit/Delete

2007-09-23 Thread George Georgiou
Hi there,

I am really new into Flex programming. I have been through a few tutorials
and I really liked it. I am not sure though how to make a very simple task.

Suppose I have a simple form and I want to update an SQL table when I enter
some values in there. I want when I click submit to do that.

In order to achieve this, do I need the livecycle data services ? Is that a
'must' ?  Or, do I need the ColdFusion - Flex integration to do that?

I have noticed that it is very simple to read data from an external XML
file. But how can I update records to a database?

Anybody has a really very simple example on this?


thanks,
George


RE: [flexcoders] Data Management in Flex : Add/Edit/Delete

2007-09-23 Thread Dimitrios Gianninas
Hi,
 
Using LCDS is not a must but it does have advanced features that you might need 
depending on your application.
 
If you want to update a DB then you do need a server side portion thats for 
sure. There are many ways to do this:
 
1) use Flex to call a WebService which is either done in Java, .NET, CF, PHP or 
whatever
2) use Flex's HTTPService to call a JSP/ASP/CF/PHP server page
3) use Flex RemoteObject to call a Java class or CF object
 
Dimitrios Gianninas
Development Team Lead
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of George 
Georgiou
Sent: Sunday, September 23, 2007 3:41 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Data Management in Flex : Add/Edit/Delete



Hi there,
 
I am really new into Flex programming. I have been through a few tutorials and 
I really liked it. I am not sure though how to make a very simple task.
 
Suppose I have a simple form and I want to update an SQL table when I enter 
some values in there. I want when I click submit to do that. 
 
In order to achieve this, do I need the livecycle data services ? Is that a 
'must' ?  Or, do I need the ColdFusion - Flex integration to do that?
 
I have noticed that it is very simple to read data from an external XML file. 
But how can I update records to a database?
 
Anybody has a really very simple example on this?
 
 
thanks,
George

 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



Re: [flexcoders] Data Management in Flex : Add/Edit/Delete

2007-09-23 Thread Muzak
 3) use Flex RemoteObject to call a Java class or CF object

Or .NET, PHP service
http://www.themidnightcoders.com/
http://www.themidnightcoders.com/weborb/dotnet/
http://www.themidnightcoders.com/weborb/php/index.htm

- Original Message - 
From: Dimitrios Gianninas [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, September 23, 2007 10:16 PM
Subject: RE: [flexcoders] Data Management in Flex : Add/Edit/Delete


Hi,

Using LCDS is not a must but it does have advanced features that you might need 
depending on your application.

If you want to update a DB then you do need a server side portion thats for 
sure. There are many ways to do this:

1) use Flex to call a WebService which is either done in Java, .NET, CF, PHP or 
whatever
2) use Flex's HTTPService to call a JSP/ASP/CF/PHP server page
3) use Flex RemoteObject to call a Java class or CF object

Dimitrios Gianninas
Development Team Lead
Optimal Payments Inc.





Re: [flexcoders] Data Management in Flex : Add/Edit/Delete

2007-09-23 Thread George Georgiou
I have gone through tutorials on how to read data from the HTTPService. How
can I send back to the server data to be added into an sql table? any
examples?

Thanks,
George


use Flex's HTTPService to call a JSP/ASP/CF/PHP server page







On 9/23/07, Dimitrios Gianninas [EMAIL PROTECTED]
wrote:

Hi,

 Using LCDS is not a must but it does have advanced features that you might
 need depending on your application.

 If you want to update a DB then you do need a server side portion thats
 for sure. There are many ways to do this:

 1) use Flex to call a WebService which is either done in Java, .NET, CF,
 PHP or whatever
 2) use Flex's HTTPService to call a JSP/ASP/CF/PHP server page
 3) use Flex RemoteObject to call a Java class or CF object

 *Dimitrios Gianninas*
 *Development Team Lead*
 *Optimal Payments Inc.*


  --
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *George Georgiou
 *Sent:* Sunday, September 23, 2007 3:41 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Data Management in Flex : Add/Edit/Delete



 Hi there,

 I am really new into Flex programming. I have been through a few tutorials
 and I really liked it. I am not sure though how to make a very simple task.

 Suppose I have a simple form and I want to update an SQL table when I
 enter some values in there. I want when I click submit to do that.

 In order to achieve this, do I need the livecycle data services ? Is that
 a 'must' ?  Or, do I need the ColdFusion - Flex integration to do that?

 I have noticed that it is very simple to read data from an external XML
 file. But how can I update records to a database?

 Anybody has a really very simple example on this?


 thanks,
 George

*AVIS IMPORTANT*

 *WARNING*

 Ce message électronique et ses pièces jointes peuvent contenir des
 renseignements confidentiels, exclusifs ou légalement privilégiés destinés
 au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun
 privilège ou à aucun autre droit si le présent message a été transmis
 involontairement ou s'il est retransmis sans son autorisation. Si vous
 n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu
 par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi
 que toutes ses pièces jointes, de votre système. La lecture, la
 distribution, la copie ou tout autre usage du présent message ou de ses
 pièces jointes par des personnes autres que le destinataire visé ne sont pas
 autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
 électronique par erreur, veuillez en aviser l'expéditeur.

 This electronic message and its attachments may contain confidential,
 proprietary or legally privileged information, which is solely for the use
 of the intended recipient. No privilege or other rights are waived by any
 unintended transmission or unauthorized retransmission of this message. If
 you are not the intended recipient of this message, or if you have received
 it in error, you should immediately stop reading this message and delete it
 and all attachments from your system. The reading, distribution, copying or
 other use of this message or its attachments by unintended recipients is
 unauthorized and may be unlawful. If you have received this e-mail in error,
 please notify the sender.