Other than LCDS, there is no built-in server functionality, in order to
preserve platform independence.

 

However, basic server communications can be extremely simple.  The
HTTPService protocol is the simplest to use, unless you are comfortable with
java/amf/remoteObject.  WebService uses SOAP, which adds a layer of
complexity you do not need for something like logging.

 

Devise a standard xml format for your logging, build the xml in flex and
send() it to the server using HTTPService.  On the server grab the xml using
querystring or form variables, depending on which method you use with your
HTTPservice call (Post tends to be the most flexible), and use the server
functionality to write it to  a log file.

 

I use VB.net for most of my server side stuff, what would be your choice?

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of mitchgrrt
Sent: Monday, December 28, 2009 6:42 PM
To: flexcoders@yahoogroups.com
Subject: [SPAM] [flexcoders] logging to server?

 

  

I've been reading the documents on Flex logging. It seems like there's a
pretty good API for logging to the place where trace() calls go, or to a
file on the client, or to the server if you're using one of the Flex data
services like LCDS. 

I want to log some data and messages that will go to a file on the server,
and I'm not using LCDS, and so far I don't see a way to do it. Is there
something built in that I missed? If not I can develop it on my own. Thanks.



Reply via email to