1138
Comment:
|
← Revision 16 as of 2011-02-15 06:05:17 ⇥
1138
converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
* ["CGI and mod_python"] in the one script * ["alx-tr"] - An extension tag to format table rows * ["Macro Expand"] - How to expand Albatross macros in custom tags * ["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 |
* [[CGI_and_mod_python]] in the one script * [[alx-tr]] - An extension tag to format table rows * [[Macro_Expand]] - How to expand Albatross macros in custom tags * [[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 |
Line 17: | Line 17: |
* ["Handling Authentication"] - A way to handle user authentication | * [[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 extension tag to format table rows
Macro_Expand - How to expand Albatross macros in custom tags
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