Integrating H2 with Python and Flask

Introduction H2 is a lightweight database server written in Java. It can be embedded in Java applications, or run as a standalone server. In this tutorial, we’ll review why H2 can be a good option for your projects. We’ll also learn how to integrate H2 with Python by building a simple Flask API. The Features of H2 H2 was built with performance in mind. “H2 is a combination of: fast, stable, easy to use, and features”. Although H2 is prominent […]

Read more

Flask vs Django

In this article, we will take a look at two of the most popular web frameworks in Python: Django and Flask. Here, we will be covering how each of these frameworks compares when looking at their learning curves, how easy it is to get started. Next, we’ll also be looking at how these two stands against each other with concluding by when to use one of them. Getting Started One of the easiest ways to compare two frameworks is by […]

Read more

Serving Static Files with Flask

Setting Up Flask Flask is a great choice for building web applications in a modular way using Python. Unlike Django and other analogues like Ruby on Rails, Flask is a micro-framework. This means it includes only what is necessary to do core web development, leaving the bulk of choices beyond that minimal subset to you. This approach has a huge advantage in keeping your code and workflow simple, particularly on smaller projects. Here we will show you how to serve […]

Read more

Single Page Apps with Vue.js and Flask: RESTful API with Flask

RESTful API with Flask Welcome to the fourth post on using Vue.js and Flask for full-stack web development. The focus of this post will be on building a backend REST API using the Python based Flask web framework. The code for this post is in a repo on my GitHub account under the branch FourthPost. Series Content Seup and Getting to Know VueJS Navigating Vue Router State Management with Vuex RESTful API with Flask (you are here) AJAX Integration with […]

Read more

Single Page Apps with Vue.js and Flask: AJAX Integration

AJAX Integration with REST API Thanks for joining me for the fifth post on using Vue.js and Flask for full-stack web development. This post will be fairly short, but highly valuable as I will be demonstrating how to connect the front-end and back-end applications using Asynchronous Javascript and XML (aka, AJAX). The code for this post can be found on my GitHub account under the branch FifthPost. Series Content Seup and Getting to Know VueJS Navigating Vue Router State Management […]

Read more

Single Page Apps with Vue.js and Flask: JWT Authentication

JWT Authentication Welcome to the sixth installment to this multi-part tutorial series on full-stack web development using Vue.js and Flask. In this post I will be demonstrating a way to use JSON Web Token (JWT) authentication. The code for this post can be found on my GitHub account under the branch SixthPost. Series Content Seup and Getting to Know VueJS Navigating Vue Router State Management with Vuex RESTful API with Flask AJAX Integration with REST API JWT Authentication (you are […]

Read more

A Brief Look at Web Development in Python

Introduction Since 2003, Python has ranked in the top 10 programming languages to learn and its ranking has been consistently improving ever since. According to a statistic, Python is one of the top 5 languages to learn in 2019 and has become an essential part of the programming community, thanks to its simplicity, flexibility, robustness, ease of use, compatibility, speed, and versatility. Furthermore, tech giants like Instagram, Spotify, and Google base, at least in part, of their architecture in Python. […]

Read more
1 2