[spiff up navigation, add table of contents pane thomashartman1@gmail.com**20080906140642] move ./templates/start-tutorial.st ./templates/overview.st hunk ./templates/base.st 15 - $ contentarea $ + + + +
$ tableofcontents() $ $ contentarea $
hunk ./templates/footer.st 3 +
use the source hunk ./templates/footer.st 5 - + hunk ./templates/home.st 14 -

This tutorial is its own demo. For best results, you should install and run it in a local environment where you have control. Then, when you are done learning, you can use the tutorial code as a template for your own HAppS applications.

+

This tutorial is its own demo. For best results, you should +install and run +it in a local environment where you have control. Then, when you are done +learning, you can use the tutorial code as a template for your own +HAppS applications.

hunk ./templates/home.st 24 -$!

No Ph.D. required. ®

!$ hunk ./templates/home.st 25 -

Prerequisites

-

Start The Tutorial.

-

Browse The Source

hunk ./templates/login.st 2 -

Log In

hunk ./templates/login.st 3 - -
- -
- + + + + + + +
hunk ./templates/login.st 12 + hunk ./templates/overview.st 3 -

Like the home page says, the best way to learn how to use use HAppS with this tutorial is to actually install and run it in a local environment.

+

The best way to learn how to use use HAppS with this tutorial is to actually install and run it in a +local environment. hunk ./templates/overview.st 7 -

So, step 1 is to install and run this tutorial locally

+

So if you can, do that first. hunk ./templates/overview.st 9 -

Getting on with the tutorial proper, our first lesson examines the main function in a HAppS program. +

Getting on with the tutorial proper, our first lesson examines the +main function in a HAppS program. hunk ./templates/overview.st 12 -

The second lesson explains how to do basic url handling.

+

The second lesson explains how to do basic url handling.

hunk ./templates/templates-dont-repeat-yourself.st 9 -For instance, you might want the menu bar to display what user is currently logged in. -(I haven't gotten this working yet, but I will.) +For instance, the menu bar in this tutorial displays "logout your_username" if you are logged in, +rather than the login/register options. Because if you're logged in you don't need to register, right? hunk ./todo 16 - get rid of functions that use tutlayoutWeb (smelly) (why smelly?) - + Work on "template" stuff in tutorial, and release version 3! hunk ./todo 18 + login/logout should remember state of last page visited. is there a way to get referrer page from header? + Actually I think the nicer way to do this is not to have a separate login page, but a little login box + on every page, reddit style.