Which tool should I use to build a simple dynamic website in 2020?
Experienced C programmer here. I need to build a very simple website for personal usage with: - Password-protected login to hide every single page behind - A single sqlite database with possibly a single table (maybe a second single-line table to store my login + pw-hash + salt) - A single page to upload stuff to the database. Some kind of asynchronous JS instead of HTML forms may be preferred. - A single page that always shows the same database query - Very infrequent access to the site (not more than once per day) - There's basically zero chance that this would grow to something bigger. Maybe just extend the site functionality to allow my wife to also use it, and maybe find a way to interact with it from command line on Linux (but probably by doing HTTPS requests). I did something like this with PHP back in 2007, but I know PHP is not very recommended. I worry that trying to learn a whole framework like Ruby on Rails or Django may be overkill. I really like Ruby as a programming language (although I never used RoR), so sticking with it would be cool, but Dreamhost says I should avoid it since it uses use too much memory and I'm on a shared plan. I also have some experience with cgi-bin in python, but I'm also told cgi-bin should be avoided just like PHP. I'm also aware that I could use some sort of server-side javascript, but there are a trillion frameworks to choose from. What would you use today? What would you recommend? 1 comments on Hacker News.
Experienced C programmer here. I need to build a very simple website for personal usage with: - Password-protected login to hide every single page behind - A single sqlite database with possibly a single table (maybe a second single-line table to store my login + pw-hash + salt) - A single page to upload stuff to the database. Some kind of asynchronous JS instead of HTML forms may be preferred. - A single page that always shows the same database query - Very infrequent access to the site (not more than once per day) - There's basically zero chance that this would grow to something bigger. Maybe just extend the site functionality to allow my wife to also use it, and maybe find a way to interact with it from command line on Linux (but probably by doing HTTPS requests). I did something like this with PHP back in 2007, but I know PHP is not very recommended. I worry that trying to learn a whole framework like Ruby on Rails or Django may be overkill. I really like Ruby as a programming language (although I never used RoR), so sticking with it would be cool, but Dreamhost says I should avoid it since it uses use too much memory and I'm on a shared plan. I also have some experience with cgi-bin in python, but I'm also told cgi-bin should be avoided just like PHP. I'm also aware that I could use some sort of server-side javascript, but there are a trillion frameworks to choose from. What would you use today? What would you recommend?
Experienced C programmer here. I need to build a very simple website for personal usage with: - Password-protected login to hide every single page behind - A single sqlite database with possibly a single table (maybe a second single-line table to store my login + pw-hash + salt) - A single page to upload stuff to the database. Some kind of asynchronous JS instead of HTML forms may be preferred. - A single page that always shows the same database query - Very infrequent access to the site (not more than once per day) - There's basically zero chance that this would grow to something bigger. Maybe just extend the site functionality to allow my wife to also use it, and maybe find a way to interact with it from command line on Linux (but probably by doing HTTPS requests). I did something like this with PHP back in 2007, but I know PHP is not very recommended. I worry that trying to learn a whole framework like Ruby on Rails or Django may be overkill. I really like Ruby as a programming language (although I never used RoR), so sticking with it would be cool, but Dreamhost says I should avoid it since it uses use too much memory and I'm on a shared plan. I also have some experience with cgi-bin in python, but I'm also told cgi-bin should be avoided just like PHP. I'm also aware that I could use some sort of server-side javascript, but there are a trillion frameworks to choose from. What would you use today? What would you recommend? 1 comments on Hacker News.
Experienced C programmer here. I need to build a very simple website for personal usage with: - Password-protected login to hide every single page behind - A single sqlite database with possibly a single table (maybe a second single-line table to store my login + pw-hash + salt) - A single page to upload stuff to the database. Some kind of asynchronous JS instead of HTML forms may be preferred. - A single page that always shows the same database query - Very infrequent access to the site (not more than once per day) - There's basically zero chance that this would grow to something bigger. Maybe just extend the site functionality to allow my wife to also use it, and maybe find a way to interact with it from command line on Linux (but probably by doing HTTPS requests). I did something like this with PHP back in 2007, but I know PHP is not very recommended. I worry that trying to learn a whole framework like Ruby on Rails or Django may be overkill. I really like Ruby as a programming language (although I never used RoR), so sticking with it would be cool, but Dreamhost says I should avoid it since it uses use too much memory and I'm on a shared plan. I also have some experience with cgi-bin in python, but I'm also told cgi-bin should be avoided just like PHP. I'm also aware that I could use some sort of server-side javascript, but there are a trillion frameworks to choose from. What would you use today? What would you recommend?
Hacker News story: Which tool should I use to build a simple dynamic website in 2020?
Reviewed by Tha Kur
on
October 06, 2020
Rating:
No comments: