mar5us
Student - Technical Writing
Lesson 7
Screen 1 of 11
1) Components of a Web application
2) Web frameworks and Flask
3) Installing Python and packages
4) Creating your development environment
5) Building your first local Flask app
6) Running your first Flask app
7) Web application deployment
8) Deploying to PythonAnywhere
Lesson 7
Screen 2 of 11
Lesson 7
Screen 3 of 11
A developed and tested Web application can be made available to its end-users.
Web Application Deployment is the process of migrating a Web application from its development environment to its production environment. A production environment hosts and runs the Web application, so that end-users can access the Web application (Microsoft 2006).
Lesson 7
Screen 4 of 11
Common reasons for deploying Web applications include:
Lesson 7
Screen 5 of 11
Complete the following short quiz to test your knowledge of Web application deployment. Move forward to reveal the answers.
Lesson 7
Screen 6 of 11
2. Finish the sentence. Web applications are deployed to production environments to (A, B or C):
1. Define a Web application deployment, in your own words.
1. Web Application Deployment is the process of migrating a Web application from its development environment to its production environment.
2. Web applications are deployed to production environments to: [C] provide high Web application availability.
A | provide less security. |
B | disrupt the end-users’ experience. |
C | provide high Web application availability. |
There are many ways to host a production environment. Four popular approaches are:
Lesson 7
Screen 7 of 11
Complete the following short quiz to test your knowledge of Web application deployment. Move forward to reveal the answers.
Lesson 7
Screen 8 of 11
Match each hosting type (1, 2, 3 and 4) to its corresponding feature (A, B, C or D)
4.
3.
2.
1.
A | allows Developers to select specific components | |
B | uses virtual server instances | |
C | provides exclusive use of a server’s resources | |
D | shares a single server's resources among many Developers |
3) Virtual private hosting (VPS)...
4) Platform as a service (PaaS)...
1) Shared hosting...
2) Dedicated hosting...
You completed lesson 7 on Web application deployment successfully. You can now:
Lesson 7
Screen 9 of 11
In Lesson 8 you will apply what you learned about Web application deployment, by deploying your Flask Web application to the PythonAnywhere PaaS provider.
After you have reviewed the useful resources on the next screen, proceed to lesson 8.
Lesson 7
Screen 10 of 11
Lesson 7
Screen 11 of 11
The section on Web application deployment in Matt Makai’s e-book, Full stack Python (2018), provides a useful overview of different types of deployment. The book section also contains links to online resources related to deployment.
Kenneth Reitz and Tanya Schlusser’s book, The Hitchhiker’s Guide to Python (2016a), offers useful descriptions of various PaaS and Web hosting service providers. An e-book version (2016b) is available online.
By mar5us
First Flask App on Python Anywhere Lesson 7