Live data from Hacker News

I still love PHP and JavaScript

the.scapegoat.dev

1–10 of 402 posts

Re: I still love PHP and JavaScript

#2
2 years in, but same. Made especially beginner friendly with modern tooling [autocomplete, hover:documentation, Copilot]. Any advice/recommendations/resources for people in that weird transitory stage between ‘getting it’ but not quite Senior Enterprise Software Architect?

Re: I still love PHP and JavaScript

#3
I love PHP, it fits that niche of having a fast startup like Perl, while having a big standard library like Python. However after using Go and Rust, I don't like the idea of the package manager being this separate thing (Composer).

I think the package manager should be part of the PHP distribution itself, not some other thing that people have to find and install separately. I am fine if people want to implement other/better package managers, but I think the PHP distribution should include something, if only a rudimentary tool.

Re: I still love PHP and JavaScript

#4
PHP has so many hidden benefits:

- it's stateless by design (much easier to scale)

- it was "serverless" before Serverless

- surprisingly performant

- no "unknown unknowns". it's so tried-and-true, there's no surprises

- deployment is so simple, just drop a file on a web server. No middleware needed.

- No long compile times because there is no compiling needed.

EDIT: why the downvotes? If you don't agree, just reply so we can have a healthy dialogue.

EDIT2: I also think there is something unique about PHP documentation. It has plenty of real life examples, and the ability for users to leave comments allows you to hear directly from others "gotchas" that people have experienced. I feel like PHP documentation is very undervalued.

Re: I still love PHP and JavaScript

#6
post #4

PHP has so many hidden benefits: - it's stateless by design (much easier to scale) - it was "serverless" before Serverless - surprisingly performant - no "unknown unknowns". it's so tried-and-true, there's no surprises - deployment is so simple, just drop a file on a web server. No middleware needed. - No long compile times because there is no compiling needed. EDIT: why the downvotes? If you don't agree, just reply…

I really like the serverless aspect. I still think nothing has the deployment story that PHP applications have. Just upload some source and your website is up.

Re: I still love PHP and JavaScript

#7
post #3

I love PHP, it fits that niche of having a fast startup like Perl, while having a big standard library like Python. However after using Go and Rust, I don't like the idea of the package manager being this separate thing (Composer). I think the package manager should be part of the PHP distribution itself, not some other thing that people have to find and install separately. I am fine if people want to implement other…

What do you think the advantages would be over a de-facto standard?

Re: I still love PHP and JavaScript

#9

2 years in, but same. Made especially beginner friendly with modern tooling [autocomplete, hover:documentation, Copilot]. Any advice/recommendations/resources for people in that weird transitory stage between ‘getting it’ but not quite Senior Enterprise Software Architect?

Any idea how one would get [autocomplete, hover:documentation] on Notepad++ ??

Re: I still love PHP and JavaScript

#10
Back in my college days, I was exposed to web application development because of PHP.

Angular was still in its infancy and I was not aware of AJAX at the time. PHP frameworks, specifically Laravel and Code Igniter, made it very easy for me to put my computer science education to practical use. And I was dropping files off into our student workbenches via FTP! There was very little overhead for me to get anything online.

Post reply on HN