[prev] [up] [next]

Sorry - this document is unfinished.

Creating a Web Application

Smalltalk/X already contains a complete web applicaiton framework consisting of a webServer, html-tool classes and a WebService class framework. In this section, we will learn how to create a simple programmed webService. Programmed services are a those in which html-pages are generated by a program, as opposed to static pages or pages with embedded code.
Pages with embedded Smalltalk are described elsewhere (See STT).

Creating a New WebApplication Class

In the browser, select the 'New Web Application' item from the class-list-menu, and accept the resulting class definition template:

    HTTPActionService subclass:#MyService
	instanceVariableNames: ''
	classVariableNames: ''
	poolDictionaries: ''
	category: 'WebApplications'
Answer 'yes' when asked if the application code shall be generated. Text to be continued ...
Continue in "More Smalltalk".


[stx-logo]
Copyright © Claus Gittinger Development & Consulting
Copyright © eXept Software AG

<cg@exept.de>

Doc $Revision: 1.3 $ $Date: 2004/09/30 18:48:49 $