1.1 --- a/docs/anatomy.html Mon Apr 18 22:47:28 2005 +0000
1.2 +++ b/docs/anatomy.html Tue Apr 19 22:32:46 2005 +0000
1.3 @@ -1,6 +1,7 @@
1.4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1.5 <html xmlns="http://www.w3.org/1999/xhtml">
1.6 <head>
1.7 + <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type" />
1.8 <title>Anatomy of a WebStack Application</title>
1.9 <meta name="generator"
1.10 content="amaya 8.1a, see http://www.w3.org/Amaya/" />
1.11 @@ -16,46 +17,59 @@
1.12 which it must respond by writing out messages to send back -
1.13 specifically HTTP responses. When using WebStack, we think of the
1.14 situation in terms of the following components:</p>
1.15 -<table style="text-align: left; margin-left: auto; margin-right: auto;"
1.16 - class="layers" border="1" cellpadding="5" cellspacing="0">
1.17 +<table
1.18 + style="text-align: left; margin-left: auto; margin-right: auto; width: 80%;"
1.19 + class="layers" border="0" cellpadding="5" cellspacing="0">
1.20 <tbody>
1.21 <tr>
1.22 - <th
1.23 - style="text-align: center; background-color: rgb(255, 102, 102); vertical-align: middle;">Application
1.24 - <span class="explanation">-
1.25 -The application is described in this part of the documentation.</span> </th>
1.26 + <td width="40%"></td>
1.27 + <th style="text-align: center;">What
1.28 +it does</th>
1.29 + <th style="text-align: center;">How much work</th>
1.30 + <th style="text-align: center;">Where
1.31 +to look</th>
1.32 </tr>
1.33 <tr>
1.34 <th
1.35 - style="background-color: rgb(255, 255, 102); text-align: center; vertical-align: middle;">Adapter
1.36 - <span class="explanation">-
1.37 -Adapters are explained in the <a href="deploying.html">deployment
1.38 -documentation</a>.</span> </th>
1.39 + style="text-align: center; vertical-align: middle; background-color: rgb(193, 255, 102); border-top-style: solid; border-left-style: solid; border-right-style: solid; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px;">Application
1.40 + </th>
1.41 + <td style="text-align: center;"><span class="explanation">This
1.42 +defines what the user sees.
1.43 + </span></td>
1.44 + <td align="center" valign="undefined">Most new code will be
1.45 +written in the application.</td>
1.46 + <td align="center" valign="undefined">The application is
1.47 +described in
1.48 + <a href="resources.html">this part of the documentation</a>.</td>
1.49 </tr>
1.50 <tr>
1.51 <th
1.52 - style="background-color: rgb(153, 153, 255); text-align: center; vertical-align: middle;">Server
1.53 -environment <span class="explanation">-
1.54 -Server environments are covered in the <a href="deploying.html">deployment
1.55 -documentation</a>.</span> </th>
1.56 + style="border-width: 1px; text-align: center; vertical-align: middle; background-color: rgb(102, 203, 255); border-left-style: solid; border-right-style: solid; border-top-style: solid;">Adapter
1.57 + </th>
1.58 + <td style="text-align: center;"><span class="explanation">This
1.59 +"glues" the application to the environment.</span></td>
1.60 + <td align="center" valign="undefined">Mostly copying an existing
1.61 +adapter or writing a short module.</td>
1.62 + <td align="center" valign="undefined">Adapters are explained in
1.63 +the <a href="deploying.html">deployment
1.64 +documentation</a>.
1.65 + </td>
1.66 + </tr>
1.67 + <tr>
1.68 + <th
1.69 + style="border-style: solid; border-width: 1px; text-align: center; vertical-align: middle; background-color: rgb(192, 192, 192);">Server
1.70 +environment </th>
1.71 + <td align="center" valign="undefined"><span class="explanation">This
1.72 +is where the application runs.</span></td>
1.73 + <td align="center" valign="undefined">Some configuration needed,
1.74 +if any at all.</td>
1.75 + <td align="center" valign="undefined">Server environments are
1.76 +covered
1.77 +in the <a href="deploying.html">deployment
1.78 +documentation</a>.
1.79 + </td>
1.80 </tr>
1.81 </tbody>
1.82 </table>
1.83 -<p>To get an application up and
1.84 -running, this is what you have to do:</p>
1.85 -<ol>
1.86 - <li>Write some application code
1.87 -which uses the WebStack API.</li>
1.88 - <li>Write some simple adapter
1.89 -code - this code "glues" the application to the environment that you
1.90 -want to use.</li>
1.91 -</ol>
1.92 -<p>In this part of the
1.93 -documentation, we will ignore the second
1.94 -activity (it is covered in <a href="deploying.html">"Deploying a
1.95 -WebStack
1.96 -Application"</a>) and concentrate on the more important task of
1.97 -defining an application's functionality with <a
1.98 - href="simple-example.html">"A Very Simple Example"</a>.</p>
1.99 </body>
1.100 </html>