Linux.com: Unix Web Application Architectures - Part 5: An Alternate Approach
Oct 03, 2000, 23:10 (0 Talkback[s])
(Other stories by Samuli Kärkkäinen)
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
"In this last chapter of the document I'll mention a
completely different approach to web application development. I
call this style "Abstracted HTML."
"In this approach, web programming is made to feel to the
programmer as much like traditional GUI programming as possible.
HTML elements and constructs are wrapped in persistent objects that
know how to render themselves using the browser, and HTTP requests
are handled as GUI callbacks. The objects are kept in memory or
stored on disk between requests. When a callback for an object
arrives, the appropriate method of the object is invoked."
"Below is the commented source of that application. Notice that
the code is short and easy to understand even for someone who has
never done web programming. The question is, does this approach
scale to larger programs, or is the web technology too different
from traditional GUI programming to make this viable?"