Web Development with Flask
Posted on March 18, 2020 • 2 minutes • 354 words
First time I was into web development, I asked some of my seniors to recommend me a framework. Most of them recommended me Django. I started out with the Django documentation, spent some time on tutorials over torrent. Still, I was nowhere near to understand it.
Even attending a Django workshop didn’t help me at all. Maybe the learning curve for Django was way too steep for me. So, I started looking out for alternatives. Since Python was both comforting and hassle-free, I thought of sticking to it.
Then I came across Flask web framework. I started out with a simple YouTube video. After 20 minutes, I was into it. It was so simple ! The code didn’t occurred confusing to me. At first, Django codes were too much confusing to me. There were a lot of shell commands to run, migrations, views, routes, models and what not. But here in Flask, there were no confusions.
To any beginner out there who is interested in web development, I would suggest using Flask first. After when you have become familiar with it, then you can sure move to Django. Ninety percent of the syntax are all same.
Here are the resources that came useful to me learning Flask-
-
Learn Flask for Python – Full Tutorial by freecodecamp.org. This 47 minute long crash course is enough to give a hands-on experience on Flask framework.
-
Introduction to Flask Playlist by Pretty Printed. This tutorial covers the basic functionality of a Flask Web application.
-
Getting started with Flask-SQLAlchemy by Pretty Printed . Flask SQLAlchemy is the ORM for Flask application. It enables a developer to work with databases easily. The SQLAlchemy works with the SQL Databases such as PostgreSQL, Oracle, MySQL etc. You won’t have to write a single line of SQL query to work with databases anymore.
-
This particular course on Lynda also. It’s a paid course and involves working with REST APIs also.
These tutorials are more than enough to get you started with Flask framework. For more Flask topics, you can visit the YouTube channel “Pretty Printed”. They cover a lot of topics for Flask.