SKILL BENCHMARK
Python Web App Development with web2py Competency (Intermediate Level)
- 12m
- 12 questions
The Python Web App Development with web2py Competency (Intermediate Level) benchmark assesses your knowledge of creating and configuring web2py apps, wiring up controllers and views for web pages, using sessions and request variables, and deploying a web2py app to the PythonAnywhere server. You will be evaluated on your skills in using a model in web2py apps to connect with a database, integrating a MySQL database with a web2py app, and using the SQLFORM.grid widget to work with data from the model. Learners who score high on this benchmark demonstrate that they have the skills to work with controllers, views, and models.
Topics covered
- compare the different scopes of request and session variables
- create a simple web2py app starting with the default app
- demonstrate how to set up a controller and view, and the relationship which exists between them
- identify how to update the content of the index template to create a new homepage for the app
- identify how to use the web2py grid to search the contents of a database table
- identify the steps involved in connecting a web2py app to a MySQL database
- illustrate how to use forms to submit POST data to a web2py app
- recall how to use web2py's built-in grid widget to view the contents of a database table
- recall how views are affected by the return types for their corresponding controllers
- recognize how to insert rows into a table using the web2py admin interface
- recognize how web2py models are translated to relational database tables
- use the cloud-hosted PythonAnywhere service to deploy a web2py app to end users