Introduction
A month back, I was accepted into Lux Academy and Data Science East Africa Python Boot Camp. It was heart felt and I indeed didn't take the opportunity for granted. From the time the boot camp started, a lot of learning has been taking place first of all being exposed to different tech stacks and getting used to them starting from the python programming language, different projects, assignments that we were given, last but not least the Flask framework for backend web development together with integration with the database.
What we last learnt
We will have a discussion about the Flask framework for backend web development with the python programming language.
Flask is a micro web framework written in Python.
What is Web Framework?
Web Application Framework or simply Web Framework represents a collection of libraries and modules that enables a web application developer to write applications without having to bother about low-level details such as protocols, thread management etc.
It is classified as a microframework because it does not require particular tools or libraries. It doesn't have a database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions. However, Flask supports extensions that can add application features as if they were implemented in Flask itself.
We'll take a basic example of how it is used;
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello() -> str:
return "Hello World"
if __name__ == "__main__":
app.run(debug=False)
You can check out my flask-application on git-hub github
Being grateful
It is with this that I would like to surely thank and appreciate Lux Academy and Data Science East Africa for the commitment for the lectures that have indeed enabled us understand these concepts and they will indeed not be put to waste with the wide range of fields I have gotten to about where they are applicable.
Top comments (0)