Hacker News new | ask | show | jobs
by mehdix 1051 days ago
> But you did spend time learning unix, nginx, bash, CGI, SQLite, etc.

True, and it's been a rewarding decision ever since. For a corporate or a community Netlify or similar JAMstack content management systems might make sense, but for a indie developer? I don't think so.

1 comments

But bash with CGI? Seriously, when there's Perl, Ruby, Python and PHP to choose from? 'Sounds like a security nightmare too.
Because I wanted to learn more about CGI. Below is the script, I'd appreciate pointing out any weaknesses in it.

https://raw.githubusercontent.com/mehdisadeghi/mehdix.ir/mas...

Although it may work brilliant minds in the Perl community such as Lincoln Stein and Randall Schwartz spent a significant amount of their career in the late 90s hunting down all the edge cases you're probably unaware of and produced CGI.pm. You can still learn a lot about CGI from this module but your exposure to vulns will be that much lower with something tried and tested.