🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages Started by Franco Thu, 30 Dec 2004 18:57
help on web service design
#1460
Author: Franco
Date: Thu, 30 Dec 2004 18:57
26 lines
1990 bytes
Hi,

I need to write a web-service executable in BCB6.  It will be consumed by
both web-scripting clients (using for example PHP etc) as well as
application developers using sockets and direct HTTP requests.  It *must*
support log-in through some sort of session mechanism.

I need to make some choices of protocol and encoding. I have considered
using SOAP, WebSnap, XML RPC, REST etc.

I like the idea of a simplistic XML_RPC / REST scheme, but using this I
believe I will have to write my own session management mechanism.

I like that the Builder SOAP components have built-in session support - but
I believe that the clients of the underlying app will be restricted to using
my script only (as opposed to their own like PHP and simply calling
functions on my service).

Can you suggest a protocol/encoding/technology for creating a service that
is most widely consumable by a simple interface of standard web-scripts that
also supports sessions?  It is important that the *service itself* manages
the sessions and not the client scripts (as in PHP session variables).


Thank You.
Franco.
Re: help on web service design
#1461
Author: Mark Jacobs
Date: Wed, 05 Jan 2005 14:37
13 lines
1826 bytes
Franco wrote:
> Can you suggest a protocol/encoding/technology for creating a service that
> is most widely consumable by a simple interface of standard web-scripts that
> also supports sessions?  It is important that the *service itself* manages
> the sessions and not the client scripts (as in PHP session variables).

I would use your own proprietary protocol. This would give you far 
better control over the design of the application, and the language used 
over the pipe to talk to the server application. I would also use the 
primitives TServerSocket and TClientSocket and completely design the 
thing myself from the ground up.

Mark Jacobs
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads