R&D
Error Code Design and Unified Exception Handling in Django
· β˜• 6 min read
I currently use Django for SaaS development, and I develop and maintain several SaaS applications at the same time. Many SaaS applications have agreed-upon error codes, some used to handle login state, others to mark business logic status. For a feature that is so strongly shared across projects, it is

How to Learn a New Programming Language: Taking Python as an Example
· β˜• 3 min read
1. Understand the Background of the New Language ABC was a teaching language designed specifically for non-professional programmers, but because it was closed, it did not succeed. During Christmas 1989, Guido van Rossum developed a new script interpreter and named it Python, as a kind of successor to the ABC

How to Package a Python Package and Upload It to PyPI
· β˜• 3 min read
Recently I have been thinking about how to improve development efficiency. From web crawlers to data processing, and then to artificial intelligence, Python’s strength lies in having a large set of out-of-the-box toolkits, so you do not have to reinvent the wheel, which greatly improves development efficiency. So why not modularize the functional pieces of a project and package them as reusable Python packages?

Django Debugging Tool django-debug-toolbar
· β˜• 3 min read
1. About Django’s Performance Django is a web application framework written in Python. With Django you can develop complex, data-driven websites very simply and efficiently. At the same time, Django pays close attention to component reusability, pluggability, agile development, and DRY (Don’t Repeat Yourself). To a certain extent, Django is an application framework very well suited to implementing business logic.

Controlling Static File Versions in Django
· β˜• 2 min read
To respond quickly to user needs and meet the requirements of marketing campaigns, internet products usually have a very high release frequency. Adopting agile development shortens the delivery cycle and speeds up product iteration, but it also brings challenges to a project’s file management. Frontend engineering faces users directly, bears