There Is More To Learn

Handling Rich Text in Flask

Rich text is a more exciting way of writing text, where you have the option to add common formatting features such as bold, italics, links, and more, commonly found in 'what you see is what you get' text editors. Additionally, you can have a preview of the text you are writing so as to know what the output will look like eventually.

Learn More

How To Deploy a Flask App on Docker Containers

Docker is an open-source containerization platform. It enables developers to package applications into containers—standardized executable components combining application source code with the operating system (OS) libraries and dependencies required to run that code in any environment. The isolation and security allow you to run many containers simultaneously on a given host.

More portable and resource-efficient than virtual machines (VMs), containers have become the de facto compute units of modern cloud-native applications.

Learn More

How To Install Docker in Ubuntu 20.04

Docker is an application that allows you to manage application processes using containers. These containers work in a similar manner as virtual machines but are rather more portable, resource-friendly and OS-dependant. In this tutorial, you’ll install and use Docker Community Edition (CE) on Ubuntu 20.04.

Learn More

Upload Files To A Database

You probably are already familiar with how to update a table in your flask database, for example, you know how to add a new user who has just registered for an account in your application. This user may want to update their profile image, or simply attach a file needed in a submission. How can you handle this need in your flask application?

Learn More

Welcome to Linode

Thankfully, Flask provides a built-in development server to be used during testing. Unfortunately, this server has serious limitations beyond testing purposes. This is by design and true to Flask's core philosophy of being lean but extensible. In production, Flask recommends that you look elsewhere, such as at Heroku, Python Anywhere among others. Most of these hosting servers are cloud-based, and they do an excellent job of lifting the heavy burden of server setup, hosting and maintenance from the developer.

On the other side, if you would like to know and understand what goes on behind the hosting services, you can choose to host your flask application yourself. Your Flask application, being Python-based, will require a Linux server for self-hosting needs. This is where Linode comes in.

Learn More

HTTP Life Cycle

The basis of any web interaction is for a user to ask for information and receive that information. A user, the person sitting behind a browser, can type in something in a browser's URL bar, and the browser will in turn display some information back to the user. The information can be exactly what the user asked for or some feedback saying that the requested resource could not be found.

The browser in this operation is the client who requests a server, this can be Google, for information. Google will in turn respond with the requested information or an alternative feedback. This process of sending and receiving information in the web is what is referred to as the HTTP Life Cycle.

Learn More

Secure Your Domain Name With SSL

If you want your website visitors and potential customers to trust your site, you need a SSL or TLS certificate installed on your website. SSL is a technology that keeps your website visitors' personal information private when they submit it to your site. If your website isn’t secure, or doesn’t use TLS, formerly known as SSL, then hackers can intercept and read the information being transmitted. This is called a man-in-the-middle attack, and the consequences can be devastating.

For some time now, Google has categorically been using HTTPS as a ranking signal in search results. This means that if your website has SSL then it’s more likely to show up higher in SERPs (search engine result pages) than a site that isn’t secure.

Learn More

Buy A Domain Name For Your Deployed Flask Application

Every website on the internet has an IP address. These addresses point to a website's location. IP addresses are generally a set of numbers such as 142.250.203.206. These addresses can quickly become difficult to remember, more so if you have multiple websites' IP addresses. A domain name is a memorable name that maps to a particular website's IP address, and are typically what you would type in a browser's URL bar. An example of a domain name mapping to the IP 142.250.203.206 is google.com.

If you have deployed an application on a server, say a Linux server, your host has assigned your application an IP address. You can get yourself a memorable domain name that your users can easily recall when interacting with your application on the internet.

Learn More

Deploy Your Flask App on Linode Server

Linode is a cloud hosting provider that focuses on providing Linux powered virtual machines to support a wide range of applications. Even though many experts do not see it as a beginner-friendly, statistically, most developers prefer Linux as their development and deployment environment. It is, therefore, an excellent choice for developers who wish to work with an end-to-end Linux based application workflow.

Learn More

Test Your Locally Running App On Another Device

Have you ever wondered how you can view your locally running application on another device such as your mobile phone? You probably would love to get feedback on your application before deploying, but you are faced with the fact that your computer has a firewall that does not allow for external access. The good news is that it is possible to bypass this limitation and still share a link to your application with a friend who lives on a different part of the world for testing purposes.

Learn More

Challenge Yourself With These Projects