Thursday, October 7, 2004

228.aspx

egilh project #10: joke server

What: a small web based joke server. I saw all this programs popping up on the web and wanted to find out how I could implement my own. Collected some jokes I had in my inbox and saved them to a formatted text file (no xml yet). Wrote an indexer that generated a tiny lookup table so I didn't have to parse the entire file to pull out a joke. The CGI program in C pulled out a random joke each time a page was requested. Nothing fancy but it was fun to make and test.


Upgraded it later to use the predecessor to ISAPI when it was made available in a small web server that ran on Windows 95.


When: mid 90s


Lessons learned:



  • CGI is grand but ISAPI is way faster on Windows


 

No comments:

Post a Comment