News for hackers. Stuff that matters.
Re:Combining Golang and PHP can solve real-world development... by hackthemack on Monday December 10, 2018 @04:13PM (#18651206)
> There was never an excuse to use it, there were always other options, even many years ago.

What was the alternative to using php from 1996 to 2000 if you were running a small mom and pop isp and your customer base was requesting shopping carts, photo galleries, and blog like web capabilities?

In that era, the servers were pentiums of 75MHz.

Re:Combining Golang and PHP can solve real-world development... by Twirrim on Monday December 10, 2018 @04:24PM (#18651276)
Agreed.

Back then you primarily went one of two ways, Perl & PHP. PHP was by far the lowest barrier to development. Easy to enable PHP support in webservers, easy to incrementally increase usage in your platform alongside any static HTML.

PHP + mod_php moved away from needing to know what was happening on the server side.

Perl and the other cgi-bin integrations could be complicated, involved, requiring more specific configuration on the server side. Sure, it's not _that_ hard to do, but it does present a barrier to entry that PHP / mod_php handily solved.

Re:Combining Golang and PHP can solve real-world development... by pjmlp on Monday December 10, 2018 @05:21PM (#18651619)
By 1999, Zope, C CGIs, TCL (AOLServer), ColdFusion, Delphi HTTP Server, ASP, IIS ISAPI,...

More than two possible ways.

Re:Combining Golang and PHP can solve real-world development... by Twirrim on Monday December 10, 2018 @07:17PM (#18652316)
I'm sorry, I don't see anywhere where I said there were only two ways.
Re:Combining Golang and PHP can solve real-world development... by pjmlp on Tuesday December 11, 2018 @02:03AM (#18653646)
That is what I take from "Back then you primarily went one of two ways, Perl & PHP.".

As if everything else wasn't worth mentioning.

Back on my little bubble, the options listed by me were much more relevant.

Re:Combining Golang and PHP can solve real-world development... by lkrubner on Monday December 10, 2018 @04:29PM (#18651303)
When I wrote "PHP is obsolete" I emphasized that it was my favorite language back in 2000. It was a decent answer to the problems of the 1990s, but it has no place in modern life. The response on Hacker News was split:

https://news.ycombinator.com/item?id=9598309