Introduction to Web Programming

Writing an application for the Web is not as simple as writing an application or script that executes on a local machine. Web applications must obey the HTTP protocol, which, by design, is stateless and connectionless. This poses a problem for anything beyond simple programs that submit a form.

To understand the problem, consider the steps in running a normal piece of software from the Tiger desktop (this is a generic fictitious application):

1.
Double-click the application to display the Welcome screen.
2.
Provide basic input into the application screen by typing or clicking.
3.
The application provides feedback based on your input.
4.
Repeat steps 2 and 3 as necessary.
5.
Choose Quit from the application menu.

Get Mac OS® X Tiger™ Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.