Hi!

On 09/01/2010 10:04 AM, Stéphane Ducasse wrote:
2. I haven't looked at Andreas' new WebServer but I presume it is a "standard" forking server just like the old 
Comanche/KomHttpServer codebase is. A while back I wrote Blackfoot - a SimpleCGI implementation and then I extracted the 
essential "forking Socket server" code from KomHttpServer so that it can be easily understood and reused. I tend to 
point to Blackfoot as a very good "example" to use in this regard. We could even split out the generic part as a 
"standard class" to use. In fact, Stephen Pair did this with the TcpServices library a long time ago when he rewrote 
Comanche into KomHttpServer BUT... I think it got a bit overengineered and would instead point to Blackfoot as a good candidate 
for such a "SocketServer" class.

sound cool do you have a little 2 pages intro to blackfoot?

Blackfoot in itself is a SimpleCGI implementation, I presented it on an OOPSLA back in... 2006 or so:

http://goran.krampe.se/Blackfoot.pdf

...but my point was that it can easily serve as a good SIMPLE example of a forking Socket server using SocketStream. It is VERY small and IIRC the base "forking Socket server" is separate.

regards, Göran

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to