# HG changeset patch # User paulb # Date 1125006347 0 # Node ID 333874e30b6b5b2c420c2f008afa0db6de7ca590 # Parent 6ff28190079e74e583690cab1d18672a4ac5a56a [project @ 2005-08-25 21:45:47 by paulb] Flattened the document structure slightly. Added details of encoding parameters for path information, together with some examples and explanations. diff -r 6ff28190079e -r 333874e30b6b docs/design.html --- a/docs/design.html Thu Aug 25 21:44:47 2005 +0000 +++ b/docs/design.html Thu Aug 25 21:45:47 2005 +0000 @@ -1,12 +1,10 @@ - - + - Application Design Considerations - - - + + Application Design Considerations + +

Application Design Considerations

When writing an application, we @@ -26,22 +24,21 @@ transaction object effectively tells us what it is the user wants to do; it does so through a number of different pieces of information including the request method, headers, parameters, cookies and sessions.

-
-

WebStack API - The Transaction Object

The transaction object appears as the first parameter in a resource's respond method:

-
class SomeResource:
def respond(self, trans):
[Here is where the code for the resource is written.]
-

For full information about transaction objects, see the API -documentation for the WebStack.Generic.Transaction -class.

-
+ +
class MyResource:
def respond(self, trans):
[Here is where the code for the resource is written.]
+

Within this activity, certain topics are of interest:

+

For full information about transaction objects, see the API +documentation for the WebStack.Generic.Transaction +class.

+

Perform Actions

Of all activities summarised above, this is the most vague because the kinds of actions performed by applications will vary substantially @@ -63,5 +60,4 @@

  • Cookies, Sessions, Users and Persistent Information
  • - - + \ No newline at end of file diff -r 6ff28190079e -r 333874e30b6b docs/developing.html --- a/docs/developing.html Thu Aug 25 21:44:47 2005 +0000 +++ b/docs/developing.html Thu Aug 25 21:45:47 2005 +0000 @@ -5,7 +5,6 @@ Developing a WebStack Application -

    Developing a WebStack Application

    Many different topics are involved in the development of WebStack @@ -13,39 +12,66 @@ documentation: