Flask is a small web framework written in Python and based on the WSGI Werkzeug library and the Jinja2 library. Flask is available under the terms of the BSD License. Flask has the flexibility of the Python programming language and provides a simple model for web development.
Flask was created in Python by Armin Ronacher
I made the Miguel Grinberg lessons, using his excellent tutorial ( here ) to create the Microblog. Very good tutorial wit well-explained ideas.
Why is Flask a good web framework choice?
Flask is considered more Pythonic than the Django web framework because in common situations the equivalent Flask web application is more explicit. Flask is also easy to get started with as a beginner because there is little boilerplate code for getting a simple app up and running.
For example, here is a valid "Hello, world!" web application with Flask:
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello, World!'
if __name__ == '__main__':
app.run()
Development of this blog, see in my Github:
Some additional documentation:
https://dev.to/amigosmaker/what-is-flask-1d63https://flask.palletsprojects.com/
https://pypi.org/project/Flask/
https://pythonbasics.org/flask-tutorial-hello-world/
https://www.fullstackpython.com/flask.html
My development:
A Flask application running at PythonAnywhere services:http://Mrobalinho.pythonanywhere.com
Sem comentários:
Enviar um comentário