Discussion:
MCL Web server
Sandro Pedrazzini
2011-10-03 13:29:34 UTC
Permalink
Hello,

I need to verify the possibility to create a client/server version of
an old MCL application, where the MCL code runs server-side.
One possibility is to organize the client/server communication at
socket level, through a (non MCL) rich client, but, if I remember
well, there is a MCL Web server implementation allowing to abstract
the socket level and communicate through http.

Has anybody a good link to such an implementation?
Do you have other implementation suggestions?

Best regards
Sandro
John DeSoi
2011-10-03 13:53:27 UTC
Permalink
I need to verify the possibility to create a client/server version of an old MCL application, where the MCL code runs server-side.
One possibility is to organize the client/server communication at socket level, through a (non MCL) rich client, but, if I remember well, there is a MCL Web server implementation allowing to abstract the socket level and communicate through http.
Has anybody a good link to such an implementation?
Do you have other implementation suggestions?
cl-http is known to be a solid HTTP server and supports MCL:

http://www.cl-http.org:8001/cl-http/




John DeSoi, Ph.D.
Terje Norderhaug
2011-10-04 03:30:54 UTC
Permalink
I need to verify the possibility to create a client/server version of an old MCL application, where the MCL code runs server-side.
One possibility is to organize the client/server communication at socket level, through a (non MCL) rich client, but, if I remember well, there is a MCL Web server implementation allowing to abstract the socket level and communicate through http.
Has anybody a good link to such an implementation?
Do you have other implementation suggestions?
In addition to CL-HTTP, you might be able to run Hunchentoot <http://weitz.de/hunchentoot/> thanks to the recent good work by binghe in making the usocket library available for MCL.

Another option for a client/server MCL application is to use Swank for RPC communication. MCLIDE's open source includes a Swank server for MCL that you can use, and the upcoming MCLIDE2 also has a Common Lisp Swank client that is verified to run on Clozure CL and should only require minor adjustments for other Common Lisp implementations. As an extra benefit of running Swank on the MCL server, you'll be able to use MCLIDE (and/or Emacs SLIME) for remote development and can use that as a starting point for a rich client.

-- Terje Norderhaug
terje-M3Gj+hvk7k9dz2imjWt+***@public.gmane.org
james anderson
2011-11-08 16:29:56 UTC
Permalink
good evening,
Post by Sandro Pedrazzini
Hello,
I need to verify the possibility to create a client/server version
of an old MCL application, where the MCL code runs server-side.
One possibility is to organize the client/server communication at
socket level, through a (non MCL) rich client, but, if I remember
well, there is a MCL Web server implementation allowing to abstract
the socket level and communicate through http.
Has anybody a good link to such an implementation?
you could use cl-http for that.

if you want just socket-level, usocket may suite you.
Post by Sandro Pedrazzini
Do you have other implementation suggestions?
if you're up for messaging, an amqp library[1] would be an alternative.
the sbcl version has been running in production for about a year now
[2], while the mcl version was the dev base.
both the sbcl and mcl version use usocket.

---
[1] https://github.com/lisp/de.setf.amqp
[2] http://dydra.com
---
james anderson | james-t/***@public.gmane.org | james-***@public.gmane.org | http://
dydra.com

Loading...