From e97046d9b2c65b5acd4fd38357cc74ac7fe9e0bd Mon Sep 17 00:00:00 2001 From: Jeffrey Date: Tue, 21 Mar 2023 21:25:24 -0400 Subject: [PATCH 1/4] Added Flask route in Tech_Stacks.md and added Flask Page --- Topics/Tech_Stacks.md | 8 +++++++- Topics/Tech_Stacks/Flask.md | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 Topics/Tech_Stacks/Flask.md diff --git a/Topics/Tech_Stacks.md b/Topics/Tech_Stacks.md index 8ff221aa6..612c747b9 100644 --- a/Topics/Tech_Stacks.md +++ b/Topics/Tech_Stacks.md @@ -1,7 +1,13 @@ ## Tech Stacks ### [Learning MySQL for databases](./Tech_Stacks/Learning_MySQL.md) + ### [Building Apple Native Software Using Swift and SwiftUI](./Tech_Stacks/swift.md) + ### [How to access and use salesforce API](./Tech_Stacks/salesforce_api.md) + ### [React Resources](./Tech_Stacks/React.md) -### [Angular Resources](./Tech_Stacks/Angular.md) \ No newline at end of file + +### [Angular Resources](./Tech_Stacks/Angular.md) + +### [Flask Resources](./Tech_Stacks/Flask.md) diff --git a/Topics/Tech_Stacks/Flask.md b/Topics/Tech_Stacks/Flask.md new file mode 100644 index 000000000..d77838a01 --- /dev/null +++ b/Topics/Tech_Stacks/Flask.md @@ -0,0 +1,35 @@ +#Flask + +## Table of Contents + +## Prerequisites + +Prior to learning about Flask, you will need basic knowledge regarding the following: + +- [Python](https://www.python.org/): High level general purpose programming language. +- [Web Frameworks](https://deepsource.io/glossary/web-framework/): Software frameworks/libraries that help developers write software that runs on the web. + +## Introduction + +Flask is a micro web framework, that is written in Python. A micro framework is a framework that has a very low amount of dependencies, thus meaning that it is easy to use and maintain out of the box. However, this may mean that a developer must manually increase the list of dependencies if more features are desired. As a fully functional web framework, Flask provides developers the ability to create complete web applications. Flask is commonly compared to Django, which is also a Python web framework. In general, Flask is much better suited for smaller web applications with static pages, while Django should be more heavily considered for larger full stack projects. + +## Resources + +### Documentation + +Official Flask installation guide: [link](https://flask.palletsprojects.com/en/2.2.x/installation/) +Official Flask quickstart (hello world application): [link](https://flask.palletsprojects.com/en/2.2.x/quickstart/#a-minimal-application) +Official Flask tutorial (block app): [link](https://flask.palletsprojects.com/en/2.2.x/tutorial/) + +### Tutorials + +Full-featured Flask blog Youtube tutorial (Corey Schafer) with source code (DB, login Auth, Pagination): [link](https://www.youtube.com/playlist?list=PL-osiE80TeTs4UjLw5MM6OjgkjFeUxCYH) +Very in-depth Flask tutorial with extensive features (login, user interactions, Ajax, forms, Javascript integration): [link](https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world) + +### Deployment + +Flask Heroku deployment guide by GeeksforGeeks: [link](https://www.geeksforgeeks.org/deploy-python-flask-app-on-heroku/) + +Flask AWS deployment guide: [link](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-flask.html) + +Flask Azure deployment guide: [link](https://learn.microsoft.com/en-us/azure/app-service/quickstart-python?tabs=flask%2Cwindows%2Cazure-cli%2Cvscode-deploy%2Cdeploy-instructions-azportal%2Cterminal-bash%2Cdeploy-instructions-zip-azcli) From e697e9a706fcaf4eb13b1a56875e65fc14cc96d8 Mon Sep 17 00:00:00 2001 From: Jeffrey Date: Tue, 21 Mar 2023 21:30:16 -0400 Subject: [PATCH 2/4] updated formatting and introduction --- Topics/Tech_Stacks/Flask.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Topics/Tech_Stacks/Flask.md b/Topics/Tech_Stacks/Flask.md index d77838a01..638fd72c8 100644 --- a/Topics/Tech_Stacks/Flask.md +++ b/Topics/Tech_Stacks/Flask.md @@ -1,29 +1,30 @@ -#Flask - -## Table of Contents +# Flask ## Prerequisites Prior to learning about Flask, you will need basic knowledge regarding the following: -- [Python](https://www.python.org/): High level general purpose programming language. +- [Python](https://www.python.org/): Python is a highly popular, high level general purpose programming language. - [Web Frameworks](https://deepsource.io/glossary/web-framework/): Software frameworks/libraries that help developers write software that runs on the web. ## Introduction -Flask is a micro web framework, that is written in Python. A micro framework is a framework that has a very low amount of dependencies, thus meaning that it is easy to use and maintain out of the box. However, this may mean that a developer must manually increase the list of dependencies if more features are desired. As a fully functional web framework, Flask provides developers the ability to create complete web applications. Flask is commonly compared to Django, which is also a Python web framework. In general, Flask is much better suited for smaller web applications with static pages, while Django should be more heavily considered for larger full stack projects. +Flask is an extremely popular micro web framework, that is written in Python. A micro framework is a framework that has a very low amount of dependencies, thus meaning that it is easy to use and maintain out of the box. However, this may mean that a developer must manually increase the list of dependencies if more features are desired. As a fully functional web framework, Flask provides developers the ability to create complete web applications. Flask is commonly compared to Django, which is also a Python web framework. In general, Flask is much better suited for smaller web applications with static pages, while Django should be more heavily considered for larger full stack projects. Overall, Flask is extremely easy to get started with, and should be your first choice if your main goal is to get a basic web application running ## Resources -### Documentation +### Official Documentation Official Flask installation guide: [link](https://flask.palletsprojects.com/en/2.2.x/installation/) + Official Flask quickstart (hello world application): [link](https://flask.palletsprojects.com/en/2.2.x/quickstart/#a-minimal-application) + Official Flask tutorial (block app): [link](https://flask.palletsprojects.com/en/2.2.x/tutorial/) ### Tutorials Full-featured Flask blog Youtube tutorial (Corey Schafer) with source code (DB, login Auth, Pagination): [link](https://www.youtube.com/playlist?list=PL-osiE80TeTs4UjLw5MM6OjgkjFeUxCYH) + Very in-depth Flask tutorial with extensive features (login, user interactions, Ajax, forms, Javascript integration): [link](https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world) ### Deployment From ca668d690bf23234352f2ac4d5c61cf56233c304 Mon Sep 17 00:00:00 2001 From: Jeffrey Date: Tue, 21 Mar 2023 21:54:38 -0400 Subject: [PATCH 3/4] improved information separation, added table of contents --- Topics/Tech_Stacks/Flask.md | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/Topics/Tech_Stacks/Flask.md b/Topics/Tech_Stacks/Flask.md index 638fd72c8..75ce59e17 100644 --- a/Topics/Tech_Stacks/Flask.md +++ b/Topics/Tech_Stacks/Flask.md @@ -1,5 +1,17 @@ # Flask +## Table of contents + +### [Prerequisites](#prerequisites-1) + +### [Introduction](#introduction-1) + +### [Why use Flask?](#why-use-flask-1) + +### [Getting Started](#getting-started-1) + +### [Resources](#additional-resources) + ## Prerequisites Prior to learning about Flask, you will need basic knowledge regarding the following: @@ -9,17 +21,19 @@ Prior to learning about Flask, you will need basic knowledge regarding the follo ## Introduction -Flask is an extremely popular micro web framework, that is written in Python. A micro framework is a framework that has a very low amount of dependencies, thus meaning that it is easy to use and maintain out of the box. However, this may mean that a developer must manually increase the list of dependencies if more features are desired. As a fully functional web framework, Flask provides developers the ability to create complete web applications. Flask is commonly compared to Django, which is also a Python web framework. In general, Flask is much better suited for smaller web applications with static pages, while Django should be more heavily considered for larger full stack projects. Overall, Flask is extremely easy to get started with, and should be your first choice if your main goal is to get a basic web application running +Flask is an extremely popular micro web framework, that is written in Python. A micro framework is a framework that has a very low amount of dependencies, thus meaning that it is easy to use and maintain out of the box. However, this may mean that a developer must manually increase the list of dependencies if more features are desired. As a fully functional web framework, Flask provides developers the ability to create complete web applications. + +## Why use Flask? -## Resources +Flask is most commonly compared to Django, which is also a Python web framework. In general, it is a good idea to choose Flask when your application is of relatively smaller size, such as a simple website that serves static web pages. Flask also excels when being used solely as a RESTful web service (for example, for a mobile application). -### Official Documentation +However, Flask has its limitations: although it is highly flexible, it does not come out of the box with many potentially essential tools, such as form handling, authentication, and dynamic web page handling (though these can be added through adding dependencies). Ultimately, Django is in general better suited for large projects that will be supported in the long term. For a highly in-depth review of Flask vs Django, refer to [this](https://testdriven.io/blog/django-vs-flask/) guide by Michael Herman. -Official Flask installation guide: [link](https://flask.palletsprojects.com/en/2.2.x/installation/) +## Getting Started -Official Flask quickstart (hello world application): [link](https://flask.palletsprojects.com/en/2.2.x/quickstart/#a-minimal-application) +To install Flask, follow [this](https://flask.palletsprojects.com/en/2.2.x/installation/) guide from the official Flask documentation. To get started in under 10 minutes, follow [this](https://flask.palletsprojects.com/en/2.2.x/quickstart/#a-minimal-application) quickstart hello world application guide (also from the official documentation). -Official Flask tutorial (block app): [link](https://flask.palletsprojects.com/en/2.2.x/tutorial/) +## Additional Resources ### Tutorials From a80fdb1f62e5e2bbad18cfa08a9bdd1843a01781 Mon Sep 17 00:00:00 2001 From: Jeffrey Date: Wed, 22 Mar 2023 18:40:37 -0400 Subject: [PATCH 4/4] added more details to prerequisites and additional resource links --- Topics/Tech_Stacks/Flask.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Topics/Tech_Stacks/Flask.md b/Topics/Tech_Stacks/Flask.md index 75ce59e17..68f4f10e8 100644 --- a/Topics/Tech_Stacks/Flask.md +++ b/Topics/Tech_Stacks/Flask.md @@ -16,8 +16,8 @@ Prior to learning about Flask, you will need basic knowledge regarding the following: -- [Python](https://www.python.org/): Python is a highly popular, high level general purpose programming language. -- [Web Frameworks](https://deepsource.io/glossary/web-framework/): Software frameworks/libraries that help developers write software that runs on the web. +- [Python](https://www.python.org/): Python is a highly popular, high level general purpose programming language. This is essential because Flask is built on Python and is a Python framework. +- [Web Frameworks](https://deepsource.io/glossary/web-framework/): Web frameworks are software frameworks/libraries that help developers write software that runs on the web. Basic knowledge is essential to understanding what Flask provides the user and what to expect from Flask. ## Introduction @@ -37,9 +37,9 @@ To install Flask, follow [this](https://flask.palletsprojects.com/en/2.2.x/insta ### Tutorials -Full-featured Flask blog Youtube tutorial (Corey Schafer) with source code (DB, login Auth, Pagination): [link](https://www.youtube.com/playlist?list=PL-osiE80TeTs4UjLw5MM6OjgkjFeUxCYH) +Full-featured Flask blog Youtube tutorial (Corey Schafer) with source code (DB, login Auth, Pagination), recommended as a guide to building a more complex application: [link](https://www.youtube.com/playlist?list=PL-osiE80TeTs4UjLw5MM6OjgkjFeUxCYH) -Very in-depth Flask tutorial with extensive features (login, user interactions, Ajax, forms, Javascript integration): [link](https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world) +Very in-depth Flask tutorial with extensive features (login, user interactions, Ajax, forms, Javascript integration), recommended for an in-depth examination of Flask features: [link](https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world) ### Deployment