W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1998

Need comments on multiple POST requests.

From: olga <olga@goliath.eai.com>
Date: Wed, 16 Dec 1998 09:23:58 -0600 (CST)
Message-ID: <XFMail.981216092358.olga@eai.com>
To: www-lib@w3.org
Hi,

I am wondering if I am totally on the wrong track using w3c?

My application needs GET, PUT, POST, proxy, cache and authentication.
The problem is that POST and PUT require the event loop. From my point of view
the usage of all this functionality require too much of an effort from the
programmer. Or I am just missing the point (?)

To implement the application I am doing the following (and I really need an
advise if that is the way to do it).

        - Application has 2 parts - a stand-alone server and a client. 

        - Server, when started, issues a fake request and goes in an event
          loop (just to get to termination handler)

        - In termination handler (after filter) server listens on (my) socket to
          the incoming new connections from the client. 

        - When the request from client arrives server parses it and issues the
          appropriate w3c request. And so on...

Problems with that:

        - I am not sure that it is the right way to use w3c. Examples are not
          enough (at least for me)

        - Too much of functionality for the after-filter (sounds like "work
          around" the problem instead of clean way of doing things)

        - I have to do all client-server programming which makes usage of w3c
          inconvenient. 

        - I have to make sure that server is alive and write the full error
          checking code for client - server communications.

        - Also there are problems with shared data between client and server
          (function pointers and GUI cannot be shared)

I saw your server-side API and it is not clear to me if it could be used for my
application... As for me I need more explanation on the library and more
examples.

From the point of view of the user of w3c the best thing would be NOT to use an
event loop - just issue the needed request and do not care. 

I would really appreciate the comments.

Thank you,

Olga Antropova.




        
        
        

----------------------------------
E-Mail: olga <olga@eai.com>
Date: 16-Dec-98
Time: 08:49:08

This message was sent by XFMail
----------------------------------
Received on Wednesday, 16 December 1998 10:20:33 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 17:59:25 EDT