Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sort of unrelated but I find it ironic this website is written in Python. It's a single HTML page. Make it a static site and host it for free/low-cost on S3 or something.

Why do you need to host this website on a server, use Docker, etc?

My personal blog is a static site using Next.js, I pay $0 to host it on S3.

To me this is less about simplicity and more about being anti JS ecosystem, and being different just to be different.

Any legacy site probably has some kind of Javascript framework, jQuery, or something set up where adding another library on this list adds complexity. Any new site that requires a decent amount of interactivity would probably be better with a battle tested framework like React. I've tried many of the libraries listed here, have tried the view engine + Alpine approach, etc, and time and time again I find it's simpler from a development perspective to just use Next.js.

That is to say, for any hobby project, use whatever you want. Try new things. But for production apps, just use React.



>I find it ironic this website is written in Python. It's a single HTML page. Make it a static site and host it for free/low-cost on S3 or something. Why do you need to host this website on a server, use Docker, etc?

Originally it _was_ just HTML + CSS, but I wanted each library's repository metadata (latest version, last commit, etc) to be dynamically retrieved and doing that client-side was brittle and way too slow. So, I used it as an excuse to see how far I could push my own personal static-site framework (https://coltrane.readthedocs.io/en/latest/).


Yep. Just today I was working on a project that I started as a simple set of forms with HTML, CSS, and light vanilla JS + jQuery which over time has naturally accreted a bespoke event-handler framework (really not a bad one, all things considered), wishing I had just done it in React from day 1. Now we are battling complexity every day to support a highly interactive app and we're going to have to try convince the client to give us some time to refactor for some breathing room.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: