DBW – Databases and Web development. 2022-23

 

Simple Examples

Form management

  1. Form Management: Build a HTML form similar to PDBBrowser. On the controller page, print the uploaded data and relevant environment variables.
  2. More advanced forms: Build a form similar from above, but generating some fields (Experiment type or compound type) from the information hold in the PDB database.
  3. Session management: Modify the above form and controller page to remember the inserted data. Consider including error messages from form validation.
  4. On-the-fly Form validation: Basic javascript to validate form input. Check for mandatory fields or formats.

Database browser

  1. Generate a form with some fields available in the PDB database. In the controller script build an SQL query and generate the output list.
  2. Complete the above with paginated output and column ordering.