Milt Epstein <[EMAIL PROTECTED]> writes:

> On Mon, 14 Jan 2002, Cervenka, Tom wrote:
>
> > What does a "turing machine" drawing of a web application look like?
>
> I'm wondering if he meant finite state automaton or state diagram.  A
> Turing Machine seems like overkill (plus it'd be harder to draw :-).
> But Nic is a Brit after all, probably just being patriotic :-).

An FSM would be ok... but a TM isn't much more complicated (at least I've
never thought so).

When you're modelling a webapp with a TM the (x,a, direction) triplets
map to the HTTP messages you're recieving in each state. Each state
can be a page (or a collection of pages or a subset of a page).

The tape is the HTTP stream.


When you come to make servlets you do have to unravel some of this,
the state transitions don't necessarily work the way you want them
to. But at least you have a diagram.


I've often pondered whether it would be possible to make a web app
design tool that allowed you to map applications in a TM type way.


Nic

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to