Hello! I’m on a funny journey right now where I’m trying to learn how to make
websites in a sort of 2010 style, where I have an SQL database and render some
HTML on the backend.
It’s kind of an interesting journey because it doesn’t necessarily feel “easy”
to me to make websites in this way: I never learned how to do it in the 2000s or
2010s, and there’s a lot I need to learn.
So here are some Django features that make building this kind of site feel
more achievable than when I was trying and failing to use Go’s standard library
or Flask. And I’ll talk about a couple of issues with Django I’ve run into.
继续阅读全文
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。
Hello! Recently I needed bike lights for my bike. And I remembered that I already had rechargeable bike lights that I bought ten years ago, that I hadn’t tried in a long time. I tried to recharge them, but after fully charging them, they on
Hello! I’ve been working on a Django site recently, and I decided to use SQLite as the database. When I was getting started with using SQLite as database for a website I read a bunch of blog posts about how it is totally fine to use SQLite
Hello! 8 years ago, I wrote excitedly about discovering Tailwind. At that time I really had no idea how to structure my CSS code and given the choice between a pile of complete chaos and Tailwind, I was really happy to choose Tailwind. It h
A while back I decided to stop using Tailwind for new projects and to just write vanilla CSS instead. But one thing I missed about Tailwind was the colour palette (here as CSS). If I wanted a light blue I could just use blue-100 and if I di
Hello! One of my long term projects on here is figuring out how to write frontend Javascript without using Node or any other server JS runtime. One issue I run into a lot in my frontend JS projects is that I don’t know how to write tests fo