4 ms·
That's it, I'm sold. I'm building my startup around CGI scripts! /s
by sgt 4y ago
That's it, I'm sold. I'm building my startup around CGI scripts! /s
- petercooper 4y agoIt wasn't a typical use case, but my current business leant on a CGI script for a few years at the start. I needed to let users sign up for an email list and rather than spin up an entire app for that, I wrote a Ruby script and ran it CGI-style on httpd because the rest of the site was all static HTML files anyway. Would a dev team have ever taken such an approach? No. But when you're a solo founder, it's a privilege to use as little as is necessary.
- sgt 4y agoI understand you. The bigger the team is, the harder it is to use a technology that isn't the latest and greatest, despite being potentially the right tool for the job. A good example is a VueJS or React frontend backed by a couple of API services when all you needed was a Django app with a view and a model. Or even a PHP page.
- CodesInChaos 4y agoJust build it on AWS lambda, so you pay for a whole VM for each concurrent request. Progress!
- icedchai 4y agoI was going to say that Lambda is the new CGI (except Lambda is generally a worse developer experience and often higher latency.)