Earlier quoted context omitted.
> Getting decent performance and/or scaling was/is a major challenge. The rest of what you say I agree with, but the language was never a performance bottleneck over other scripting languages. It certainly scaled better than ruby or perl or python apps with the same logic. The fact that each request was fundamentally stateless and ephemeral helped this if you needed to distribute your app and made development faster…
Paradoxically, PHP's stateless architecture is also what makes it dog-slow with large frameworks such as Laravel. Now you have to load the whole framework with every request.
PHP 3.0 Final is out (1998)
81–90 of 176 posts
Re: PHP 3.0 Final is out (1998)
#82It’s hard to explain just how much easier PHP made creating a dynamic web site back in the 90s / early 00s. You drop a file in your public web server folder and you’re done. Prior was CGI Perl scripts that hacked together how to access session and rest data. Or you had to develop in C. PHP had native support for the web. It also eliminate the need for an app server. I’m still not certain even today, if anything exist…
A simpler language for a simpler time.
Re: PHP 3.0 Final is out (1998)
#83I feel certain that an entire generation of careers started from Rasmus Lerdorf's little hobby project. Despite the fact that things like Perl Mason, Tcl web apps, and your bog standard CGI scripts already existed, nothing compared to PHP's wild grab bag of a standard library, and above all, the documentation with user-contributed notes and examples (not to mention that there was nothing similar/free in Windows-land)…
It def started mine. The biggest for me was the excellent documentation and comments as you said. The comments were like an early version of stackoverflow
This was before the embarrassment of riches that we have now...
- before proliferation of open source examples on GitHub,
- before StackOverflow,
- before jsfiddles,
- before snippets on gist or pastebin
- before very common web forums (many of which were eventually written in PHP in fact)...
- before fantastic search results of google...
Best you could hope for when you got stuck? Someone's personal web page, or usenet and mailing lists...
Re: PHP 3.0 Final is out (1998)
#84Earlier quoted context omitted.
I guess you are lacking some context. Back in the day, you could: * Be bold enough to use Linux or FreeBSD and use CGI or Perl as the only free version * Use ASP but pay license fees for Windows NT, ISS and SQL Server * Use ColdFusion which was kind of trendy but was pretty expensive. When PHP arrived it was so refreshing. I used to make my stuff in Apache+PHP, MySQL and Linux and it was magical what you could do wit…
Some poor lost souls are still using ColdFusion. Pity me.
Re: PHP 3.0 Final is out (1998)
#85Earlier quoted context omitted.
> I’m still not certain even today, if anything exists that is faster to get a dynamic site up and running than PHP. With PHP you can just start typing in your file and produce output. Even with lightweight frameworks like Flask there is boilerplate.
This ignores the monstrous complexity of setting up PHP (and php-fpm) on a host machine. I prefer fully contained targeted binaries these days.
Re: PHP 3.0 Final is out (1998)
#86It’s hard to explain just how much easier PHP made creating a dynamic web site back in the 90s / early 00s. You drop a file in your public web server folder and you’re done. Prior was CGI Perl scripts that hacked together how to access session and rest data. Or you had to develop in C. PHP had native support for the web. It also eliminate the need for an app server. I’m still not certain even today, if anything exist…
Not just the early 2000s - up until maybe 2010 or so (probably a bit later) PHP was the clear leader for anyone who wanted to get something done. There was Rails and ASP.net and Java (I don’t remember anything else that was super popular) but PHP was a million times faster to develop in. Anything you wanted was explained in depth in the first Google result. You want auth? A chat server? File management? You could get…
Re: PHP 3.0 Final is out (1998)
#87Earlier quoted context omitted.
PHP deliberately has a low barrier to entry, and as a result there is a lot of poor quality code out there, written by beginners. People like to use this fact to suggest that the entire language is bad, which it most certainly is not. I've seen lots great, well structured and performant PHP code - the quality depends on the programmer, as it does for any other language.
As somebody who loves PHP, some PHP mockery is deserved. The standard function naming and argument ordering is inconsistent and stupid. It throws errors written in Hebrew. There were fundamental decisions made that harmed web security for years. Unicode wasn’t in PHP for a long time. Getting decent performance and/or scaling was/is a major challenge. The comparison tables are questionable at best. Etc. The language i…
Wasn't Amazon originally written in Perl?
Re: PHP 3.0 Final is out (1998)
#88Earlier quoted context omitted.
As somebody who loves PHP, some PHP mockery is deserved. The standard function naming and argument ordering is inconsistent and stupid. It throws errors written in Hebrew. There were fundamental decisions made that harmed web security for years. Unicode wasn’t in PHP for a long time. Getting decent performance and/or scaling was/is a major challenge. The comparison tables are questionable at best. Etc. The language i…
> Getting decent performance and/or scaling was/is a major challenge. The rest of what you say I agree with, but the language was never a performance bottleneck over other scripting languages. It certainly scaled better than ruby or perl or python apps with the same logic. The fact that each request was fundamentally stateless and ephemeral helped this if you needed to distribute your app and made development faster…
Re: PHP 3.0 Final is out (1998)
#89Another fun piece of PHP history: The old leaked source code for Facebook's index.php and search.php circa 2007: https://gist.github.com/nikcub/3833406
// Holy shit, is this the cleanest fucking frontend file you've ever seen?!
ubersearch($_GET, $embedded = false, $template = true);
lolRe: PHP 3.0 Final is out (1998)
#90Earlier quoted context omitted.
It def started mine. The biggest for me was the excellent documentation and comments as you said. The comments were like an early version of stackoverflow
Yes! I don't think people who started in the modern age can even relate to how amazing this was, to have a documentation site with a built-in user comment system collecting errata, tips, pointers and snippets (even as erroneous as they sometimes were)... This was before the embarrassment of riches that we have now... - before proliferation of open source examples on GitHub, - before StackOverflow, - before jsfiddles,…