RE: [SPAM] [flexcoders] logging to server?

2009-12-28 Thread Tracy Spratt
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.





Re: [SPAM] [flexcoders] logging to server?

2009-12-28 Thread mitchgrrt
We have server side Java, and an existing XML/Web Services framework for 
communicating between Flex and Java.  I'll add a logging interface.  It 
shouldn't be hard, like you say.  I just wanted to double check that I hadn't 
missed the chance to use something that's already built in.  Thanks.

- Mitch Gart 

--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 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.