> everything you need to know when creating production-ready (yet simple!) web applications? If you mean web applications rather than (mostly static) web sites then I believe that the boring pragmatic approach is to use React + Typescript, at least for the front end stuff. This is where the tooling, documentation, and community all currently come together in the most cohesive manner for modern web application develop…
Ask HN: Where can one learn about boring web development?
31–40 of 62 posts
Re: Ask HN: Where can one learn about boring web development?
#32Re: Ask HN: Where can one learn about boring web development?
#33This is more of a manifesto but there is a small movement around simplicity at https://grugbrain.dev/ which is written by the guy behind https://htmx.org/ -- a nice little way to add the bare minimum JS needed for a 'modern' app. You can find a community of likeminded people at HTMX-adjacent places like their Discord and Twitter. I've also been an advocate of this kind of 'primitive' dev style and it's great to see it gain some popularity.
This recent talk from Djangocon "React to htmx on a real-world SaaS product" might be of interest: https://www.youtube.com/watch?v=3GObi93tjZI
Ironically, the ultra-modern serverless platforms such as Cloudflare Workers have strict size constraints which is leading to a kind of back-to-basics approach that minimizes dependencies and bundle size. You can find a lot of small libraries for this at https://workers.tools/. The latest JS framework to buzz here, Deno's Fresh, even touts "no JS is shipped to the client by default". We can see there is a resurgence of interest in server-side rendering.
The classics such as Rails are still alive and kicking. Phoenix seems to be a promising candidate for "the modern Rails".
As someone who experienced the Good Old Days of web development, I would recommend at least trying out the managed cloud services for things like databases and cron jobs and deployments. IMO, it's a lot easier to use them than manage it yourself. And with the new serverless stuff, we're actually pretty close to how CGI on shared hosting used to be where you could upload a script and not have to worry about the gory details so much.
Re: Ask HN: Where can one learn about boring web development?
#34There's also the Indie Web wiki which has lots of getting started guides for hosting your own website: https://indieweb.org/Getting_Started
Re: Ask HN: Where can one learn about boring web development?
#35Have you tried comparing vanilla JavaScript + HTML compared to JSX? React makes your code more concise if you're trying to do any amount of interactivity on your site. You can learn the former in any basic web development tutorial but personally I don't think I'll ever touch it again after learning React.
I would strongly advise against react if you are looking to learn the fundamentals. By all means learn about raw DOM manipulation with JavaScript first , but do not go directly for react. We are repeating the same issues we had years ago where people started conflating JavaScript with jQuery - people are conflating JavaScript with react l. JavaScript is an insanely powerful flexible and widely deployed language. It i…
Yep, where is the documentation for modern JS without any libraries?
Preferably something that doesn't try to teach you what an if and a loop are first.
Re: Ask HN: Where can one learn about boring web development?
#36Re: Ask HN: Where can one learn about boring web development?
#37Backend: PHP with Laravel I haven't used it in a while since I work on greenfield projects now. But when I did, Laravel did wonders. Documentation is complete, everything you need is documented and it's basically copy and paste for all the common things.
Frontend: Hard to say. If you don't need much functionality, just use basic HTML, JS and CSS. Render your HTML with PHP and use the minimum amount of JS you can.
Otherwise I'd say React. I work with it every day and I think it's great. But wouldn't consider it to be "boring" at all. There's new things every day and you need to keep up & navigate the traps.
Unfortunately frontend is still very unstable until now.
Re: Ask HN: Where can one learn about boring web development?
#38Perhaps look for web development books published around 2010-2012, before the large JS frameworks gained a major foothold. These will be missing some of the very valuable and useful developments in CSS and JavaScript (e.g. grid layout and promises) but for the other topics much of their content will still be relevant. There's also the Indie Web wiki which has lots of getting started guides for hosting your own websit…
Re: Ask HN: Where can one learn about boring web development?
#39Re: Ask HN: Where can one learn about boring web development?
#40I'm currently working on a course for something like this at https://nickjanetakis.com/courses/deploy-to-production.
It won't cover building the app from ground zero but it'll cover a bunch of patterns in development to build apps in a way that makes deploying them flexible, then the majority of the course focuses on deployment related topics.
I screwed up initially by trying to focus the course on everything (single servers, multi-servers, Heroku, Kubernetes, etc.) but since then I've scoped it down to focusing specifically on the boring case of "I just want to frikken deploy my app" and it'll go through a ton of things around taking a web app you've developed and shipping it onto 1 or more servers while doing everything in such a way where you'll be able to Docker Compose up your project on 1 or more servers (not load balanced but you could split up things like your web, worker, db and cache onto separate servers if you wanted to). It won't do things in a half-assed way tho, you'll be set up to horizontally scale if you need to since we'll stick to creating 12 factor style apps.
The course won't cover Kubernetes but if you wanted to "evolve" your set up to that in the future you'd have a really strong fundamental knowledge base to do that so you could focus specifically on learning Kubernetes, not Kubernetes + the 100 other things you need to know beforehand since this course will cover a lot of those other things.