We showed:
- How to use forms to create, edit, display rows of a database.
- How to connect together various controllers, via URLs that pass parameters.
- How to do basic login validation.
- How to check whether a user can edit/delete an item (a row).
- How to produce secure links that cannot easily be guessed, so that even GET requests can have side effects (use with care!).
- How to use SQLFORM.grid to display a set of rows with pagination, and ability to view row details.
- How to customize SQLFORM.grid, adding information to the grid, and customizing the table and side views.
Here is the code we developed in class. You can load the code in web2py and run it / look at it / etc.