What shall one read, watch or use to make better decisions in the architecture of maintainable "small web" code as a single creator or a two person team?
The strange thing is that old-school web apps built like it was 1999 are faster and better for the users in most ways. Sure, people put more effort into choosing fonts for reddit as opposed to HN, but HN is so much faster I can’t see how anybody can wait for reddit to load, never mind wait to log in and post.
Old school web apps do require you to have a systematic strategy for handling things that html doesn’t do by itself. You need a single function that draws a
The client side can get a bit complicated but it's a good look as to what it looks like for a production app.
I started this out by myself and the things I wanted to optimize for was my own productivity. I started out with React, Nextjs, Prisma, Tailwind and typescript all the way with a mono repo. Probably the most productive I have felt coding.
As we've grown the code base has gotten more complicated and started to move things out in to it's own packages but still keeping things in a mono repo style. We've added Elixir for our websocket service for the realtime chat portion but if I were doing a crud app it'd be unnecessary.
For tests we decided to focus on backend tests since they were much cheaper to write and maintain.
Some high level infos or ideas on the "small web" or "web 0" can be found on:
– https://ar.al/2020/08/07/what-is-the-small-web/
– https://www.robinsloan.com/notes/home-cooked-app/
- https://neustadt.fr/essays/the-small-web/
Books I found helpful:
- Ship it (Richardson, Gwaltney)
- Clean Code (Martin)
Aside of that:
- I experimented a bit with DDD, but that feels massively oversized (though some of the concepts are useful)
- I found Pythons opinionatedness and documentation very helpful in contrast to Javascript, where it is hard to find "a good way" to do things (You see, I like dynamic languages…)