- Flask – Forms & Validation
Introduction Forms are the primary interface between your users and your application. Every login page, registration flow, search bar, checkout form, and settings panel depends on form handling done right. Get it wrong and you open the door to data corruption, security vulnerabilities, and…
- Flask – Introduction & Setup
Introduction Flask is a lightweight WSGI web application framework for Python. Created by Armin Ronacher in 2010, it started as an April Fools’ joke that merged two libraries — Werkzeug (a WSGI toolkit) and Jinja2 (a template engine) — into a single package. The joke turned out to be genuinely…
- Flask – Routes & Templates
Introduction Routing and templating are the two pillars of every Flask application. Routes map incoming HTTP requests to Python functions, and templates turn raw data into HTML that browsers can render. If you understand these two systems deeply, you can build anything from a single-page prototype…
- Introduction
What is Flask? Flask is a web development framework. It provides a lot libraries for building lightweight web applications in python. Flask is considered by many as a micro-framework due to the fact that it only provides the essential components – things like routing, request handling, sessions,…
- Elasticsearch Filter
The goal of filters is to reduce the number of documents that have to be examined by the query. Queries have to not only find matching documents, but also calculate how relevant each document is, which typically makes queries heavier than filters. Also, query results are not cachable. Filter is…