Gustavo,

Flex can manipulate XML very well. What it cannot do is write xml files on the 
server. You can send xml data to the server using  flex and then use whatever 
server technology you wish to write that data as an xml file.

XML is not the same thing as SQL. XML is essentially a tree based structure 
while SQL manipulates tables of data. Commonly XML is used only to transfer 
information between the client and server. Usually XML requests from the flex 
client will be interpreted on the server and used to update an SQL database. 
Flex really doesn't care very much about the server technology when 
communication with XML.

>From your posts and the responses, it looks as though you are planning to use 
>one or more XML files as a database. You can certainly make this work, but 
>will have huge problems if your application will ever be used by more than one 
>user at a time. There are XML databases out there but I have yet to use one.

My advice would be to work through/read the many Flex tutorials out there so 
that you have a better idea about how XML usually fits in the Flex workflow. 
There are also a ton of books out there.

I think that jumping in too early on an ambitious project will be a big mistake.

Paul
  ----- Original Message ----- 
  From: Gustavo Duenas 
  To: [email protected] 
  Sent: Thursday, January 10, 2008 3:28 PM
  Subject: Re: [flexcoders] what about xml?


  Well there is a way to simply order flex to write down and create tables and 
so forth into an xml file,
  the same way as sql?...there should be, even using coldfusion, because I Have 
a coldfusion blog, and the database?
  is mostly in xml. Should be a way for sure....




  and once the data is store in db.xml (example), there is a way to updated 
those and also to include new ones.






  Regards




  Gustavo




  On Jan 9, 2008, at 10:41 AM, Derrick Anderson wrote:


    sure, i would get a little familiar with e4x so you can manipulate xml 
files in the client

    http://life.neophi.com/danielr/2006/04/flex_2_beta_2_actionscript_3_a.html?

    then just save the xml file back to the server with remoteObject or 
httpRequest or whatever your method of communication is.

    d.



    On Jan 9, 2008 10:29 AM, Gustavo Duenas <[EMAIL PROTECTED]> wrote:

      I'm just asking because when it comes I'd love to know how to set up the 
database xml, on the server would be great, actually my knowledge of xml is not 
much, so this would be a very handy information when it comes to set up ?a 
proposal for clients.

      And Positively i'd rather have the database in the server than in the 
application itself.


      Do you know some tutorial on the net?




      Regards


      Gustavo






      On Jan 9, 2008, at 10:11 AM, Derrick Anderson wrote:


        hey gustavo, are u using adobe AIR for this or is it just flex (and are 
u using livecycle).

        I guess the question is, where do you want to store the XML database, 
on the server or on the client??

        d.



        On Jan 9, 2008 9:29 AM, Gustavo Duenas <[EMAIL PROTECTED]> wrote:

          Hi I was wondering since flex2 interacts mostly with xml, how can I 
set up a database in xml, instead of writing those all in simple text, there is 
a way

          to do the same we do with coldfusion, php, asp and javascript when we 
do submit data into a sql database.
          Actually I know how to do this in coldfusion, is a way to create xml 
from a cfoutput of a cfquery, but I guess there is a way to write this down 
directly on the xml file...Does anyone know a good tutorial about it.?


          Regards




          Gustavo





          Gustavo A. Duenas
          Creative Director
          LEFT AND RIGHT SOLUTIONS
          904.? 265 0330 - 904. 386 7958
          www.leftandrightsolutions.com
          Jacksonville - Florida






















------------------------------------------------------------------------------





  Gustavo A. Duenas
  Creative Director
  LEFT AND RIGHT SOLUTIONS
  904.? 265 0330 - 904. 386 7958
  www.leftandrightsolutions.com
  Jacksonville - Florida










------------------------------------------------------------------------------


  Well there is a way to simply order flex to write down and create  
  tables and so forth into an xml file,
  the same way as sql?...there should be, even using coldfusion,  
  because I Have a coldfusion blog, and the database
  is mostly in xml. Should be a way for sure....


  and once the data is store in db.xml (example), there is a way to  
  updated those and also to include new ones.



  Regards


  Gustavo


  On Jan 9, 2008, at 10:41 AM, Derrick Anderson wrote:

  > sure, i would get a little familiar with e4x so you can manipulate  
  > xml files in the client
  >
  > http://life.neophi.com/danielr/2006/04/ 
  > flex_2_beta_2_actionscript_3_a.html
  >
  > then just save the xml file back to the server with remoteObject or  
  > httpRequest or whatever your method of communication is.
  >
  > d.
  >
  >
  > On Jan 9, 2008 10:29 AM, Gustavo Duenas <  
  > [EMAIL PROTECTED]> wrote:
  > I'm just asking because when it comes I'd love to know how to set  
  > up the database xml, on the server would be great, actually my  
  > knowledge of xml is not much, so this would be a very handy  
  > information when it comes to set up  a proposal for clients.
  >
  > And Positively i'd rather have the database in the server than in  
  > the application itself.
  >
  > Do you know some tutorial on the net?
  >
  >
  > Regards
  >
  > Gustavo
  >
  >
  >
  > On Jan 9, 2008, at 10:11 AM, Derrick Anderson wrote:
  >
  >> hey gustavo, are u using adobe AIR for this or is it just flex  
  >> (and are u using livecycle).
  >>
  >> I guess the question is, where do you want to store the XML  
  >> database, on the server or on the client?
  >>
  >> d.
  >>
  >>
  >> On Jan 9, 2008 9:29 AM, Gustavo Duenas  
  >> <[EMAIL PROTECTED]> wrote:
  >> Hi I was wondering since flex2 interacts mostly with xml, how can  
  >> I set up a database in xml, instead of writing those all in simple  
  >> text, there is a way
  >>
  >> to do the same we do with coldfusion, php, asp and javascript when  
  >> we do submit data into a sql database.
  >> Actually I know how to do this in coldfusion, is a way to create  
  >> xml from a cfoutput of a cfquery, but I guess there is a way to  
  >> write this down directly on the xml file...Does anyone know a good  
  >> tutorial about it.?
  >>
  >> Regards
  >>
  >>
  >> Gustavo
  >>
  >>
  >>
  >> Gustavo A. Duenas
  >> Creative Director
  >> LEFT AND RIGHT SOLUTIONS
  >> 904.  265 0330 - 904. 386 7958
  >> www.leftandrightsolutions.com
  >> Jacksonville - Florida
  >>
  >>
  >>
  >>
  >>
  >>
  >
  >
  >
  > 

  

  Gustavo A. Duenas
  Creative Director
  LEFT AND RIGHT SOLUTIONS
  904.  265 0330 - 904. 386 7958
  www.leftandrightsolutions.com
  Jacksonville - Florida




Reply via email to