Write a Webserver in 100 Lines of Code or Lessby Jonathan
Johnson Network programming can be cumbersome for even the most
advanced developers. REALbasic, a rapid application development
(RAD) environment and language, simplifies networking yet
provides the power that developers expect from any modern
object-oriented language. I'll show you how this powerful
environment enables professional developers and parttime
hobbyists alike to quickly create a full-featured webserver.
Because you may be new to REALbasic's unique features and
language, it's a good idea to start with something simple. The
goal of writing a webserver in REALbasic is not to replace
Apache. Instead, this server will demonstrate how to use
REALbasic to handle multiple connections using an object-
oriented design. Let's start with some preliminary information
about how networking in REALbasic works, as well as a quick
walk-through of the HTTP protocol. REALbasic Networking Classes
REALbasic includes several networking classes that make
developme