Welcome, Guest. Please login or register.

Author Topic: My Amiga 600 webserver  (Read 8511 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show all replies
Re: My Amiga 600 webserver
« on: September 12, 2005, 03:21:07 PM »
@fx

That is cool :-D

Patrik was explaining some CGI stuff he was working on which gave me an idea, although I am not sure how feasable it is.

The biggest overhead for something like the A600 as a webserver with CGI is the running lots of executables to handle stuff.

So I had a silly idea that one could create a normal shared library based CGI system where each library has a 'public' API, but privately is implemented to do different webserver tasks, eg form parsing, guestbook etc.

To run one you OpenLibrary() it, call whatever fuctionality you need from it, then CloseLibrary() it.

The OS would keep these libraries in memory until it needed to flush some, so on the whole, accessing them would be much faster than launching executables.
int p; // A