Flask Landing - Learn the Python Microframework
What you'll learn
- Flask Web Development
- SQLAlchemy & Flask SQLAlchmey
- Gunicorn & Production-ready Flask Project
- Building a Web App
- Python (such as our 30 Days of Python course)
- Python 3.6 & Up (ideally)
- Some web site basics (html / css)
Flask is a flexible web framework written in Python. It's narrow in scope so that means it's much easier to learn.
A web application with Flask can be as simple as 1 function with 4 total lines of code. Regardless of your technical background, what I want that to signal to you is that Flask can be very very small in scope which means a much smaller learning curve.
Of course, you can add all kinds of technology (such as a SQL database), to make Flask even more functional but that's completely optional.
Here's a few use cases of flask:
Quick and fast RESTful API service
Microservice for offloading tasks from a main app (such as a Django app) to handle all sorts of processing (creating thumbnails, running machine learning, doing web scraping, sending notifications, calculating bills and invoices, and so on)
Full fledged Web Application (user login, data storage, user sharing, etc)
Integrating into an iot device to control sensors, motors, servos, mics, cameras, and so on.
As middleman between services like Shopify and Zapier. (Ie you need to analyze some customer data from Shopify before it becomes a zap?)
Anything you can image
Flask, as with many Python Package, can almost do anything you can image. And there's a good chance that someone has already created a package to help your project's development time increase in a big way.
Django vs Flask
These two are compared all the time. At their core, they attempt to accomplish the same thing: web application development. But they do it in very different ways.
First off, remember that Python is flexible so Django and Flask are flexible.
Flask can be more flexible but increases development time on larger projects
Django cuts long term development time on larger projects
Flask is smaller as in file size
Django is bigger but has many security features built in (such as CSRF and clickjacking)
Django has an ORM
Flask can easily be integrated into SQLAlchemy
If you know Flask, learning Django will be easier and vice versa. In fact, once you know any python web framework it's much easier to learn others so you can find the best library that your project needs.
Are you ready to begin?
Let's do this!
Who this course is for:
- Python developers looking to learn to build web apps
- Data scientists looking to learn to eventually have a microservice for production level machine learning
- Django developers who want to build microservices without the scope of Django
- Tech enthusaists looking to enrich their skills
- IOT Devs looking to have a web app to help handle various sensors and electronic (ie what you learn here you can apply to a Raspberry pi to control stuff)
It all started with an idea. I wanted freedom... badly. Freedom from work, freedom from boredom, and, most of all, the freedom to choose. This simple idea grew to define me; it made me become an entrepreneur.
As I strived to gain freedom, overtime I realized that with everything that you do you can either (1) convince someone, somehow, to do it with you or (2) figure out how to do it yourself.
Due to a lack of financial resources (and probably the ability to convince people to do high quality work for free), I decided to learn. Then learn some more. Then some more. My path of learning website design started a long time ago. And yes, it was out of need not desire. I believed I needed a website for a company that I started. So I learned how to do it. The company died, my skills lived on... and got better and better.
It took me a while after learning web design (html/css) to actually start learning programming (web application, storing "data", user logins, etc). I tinkered with Wordpress, believing it could be a "user" site, but I was mistaken. Sure there are/were hacks for that, but they were hacks/work-arounds and simply not-what-wordpress-was-indended-to-be. Wordpress is for blogs/content. Plain and simple.
I wanted more. I had a web application idea that I thought would change the way restaurants hire their service staff. I tested it with my basic html/css skills, had great initial results, and found a technical (programmer) cofounder as a result. He was awesome. We were featured on CNN. Things looked great.
Until... cash-flow was a no-flow. Business? I think not. More like an avid hobby. We had the idea for a business just no business. Naturally, my partner had to find a means of income so I was left with the idea on its own.
Then, I tried Python. I was hooked. It was so easy. So simple. So elegant.
Then, I tried Django. Even more hooked. Made from python & made for web applications. It powers Instagram & Pinterest (two of the hottest web apps right now?).
Then, I tried Bootstrap. Simple and easy front-end design (html & css) that is super easy to use, mobile-ready, and overall... incredible.
Python, Django, and Bootstrap are truly changing the way the world builds web applications. I believe it's because of the simplicity to learn, the sheer power behind them, and, most of all, the plethora of resources to aid anyone in building their web projects (from packages to tutorials to q&a sites).
I relaunched my original venture with my new found skills. That wasn't enough. It didn't compel me as it once had. I started imagining all the possibilities of all the ideas I've always wanted to implement. Now I could. Which one to start with? There were so many good ideas...
Then another idea, a new & fresh idea, started brewing. I started to believe in the power of learning these skills. What would it mean if other non-technical entrepreneurs could learn? What would it mean if ideas were executed quickly, revenue models proven, all prior to approaching the highly sought-after programmers? What would it mean if entrepreneurs became coders?
And so. Coding for Entrepreneurs was born.
Here are some bio highlights:
Adjunct Professor of Entrepreneurship at the Lloyd Greif Center for Entrepreneurial Studies in the Marshall School of Business at the University of Southern California
Bestselling instructor on Udemy
Funded creator on Kickstarter
Founder of Coding For Entrepreneurs
Cohost of Backer Radio