Differences between revisions 12 and 13
Revision 12 as of 2003-09-13 06:40:22
Size: 1000
Editor: lsanca1-ar1-4-3-161-168
Comment:
Revision 13 as of 2003-09-26 02:10:02
Size: 1070
Editor: dsl-203-113-200-54
Comment:
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
 * ["Handling Authentication"] - A way to handle user authentication

Example Code

This is a collection of examples of varying complexity to demonstrate a particular aspect of Albatross.

  • HelloWorld - the classic hello world example

  • ["CGI and mod_python"] in the one script
  • ["alx-tr"] - An extentsion tag to format table rows
  • ["Multiple Checkboxes"] - Handling a checkbox for multiple items with one request
  • ["Check All"] - A macro for including Javascript to support a "Check All" button
  • ["Displaying the Context"] - A handy macro for displaying the complete local context for debugging
  • ["Data Presentation"] - displays an address book and provides a sort and filter facility
  • ["Using <al-for>"] - how to use <al-for> with different type of object

  • ["Sending non-HTML content"] - how to define a class/module to send back an image, stylesheet etc
  • ["get_page_from_uri() example"] - implementing your own URL to page mapping scheme
  • SimpleCalendar - demonstrates nested al-for loops, al-if/else, al-exec and al-macro

  • ["Handling Authentication"] - A way to handle user authentication

None: ExampleCode (last edited 2011-02-15 06:05:17 by localhost)