Random ramblings about Mac, Python, TeX, programming, and more   |     |        |     |  



Experiences from developing a new website

May 15, 2024  |  web, python, programming
This post is part of a series of posts where I share my experiences developing, testing, and debugging the new implementation of my website, including this blog and my home page. At the end of this post, you will find links to the other posts.

I've had a side project re-implementing this blog and my web pages for a while. In January 2021, I moved the blog and web pages to a Linode-hosted web platform implemented by myself using Flask. This has worked well, but I did not use much of what Flask offered, and I felt I worked against some of the principles and ideas of Flask (e.g. Blueprints and Views).

Since I wanted to implement most of the functionality myself, I could choose a minimalistic Python-based web platform. I decided to do the second attempt with web.py. Time constraints delayed the finalization of this work, and because of that, I spent more time testing, thinking about, and fine-tuning the functionality of the platform's new version. I also tried different approaches to debug the code in a similar environment to the one on which it will be installed. My site implementation will run on a Linode-hosted, up-to-date Debian Linux computer with the content in an SQL database. I also preferred to test the new implementation with updated content from the existing site. To achieve this, the content is still in a database compatible with the old site, and the new site has been tested using a copy of the live database from the old site. However, the database has evolved with some new tables and some minor modifications of the existing tables.

The requirements and decisions for this project can be summarised in these bullet points:

In a few posts, I will show how I have done most of this and share some of my experiences developing, testing, and debugging such a project. The following posts have so far been published and planned:

Last updated: June 22, 2024