3 ms·
> It can be hard to appreciate the simplicity of PHP when one's fully bought into the stockholm syndrome of another language/framework :) I used to use PHP and
by seangrogg 7y ago
> It can be hard to appreciate the simplicity of PHP when one's fully bought into the stockholm syndrome of another language/framework :)
I used to use PHP and I haven't touched Node.js in quite some time as I've been playing with Rust/(Rocket, Actix Web) and Go's standard lib. So... :)
> Consider this: a hello world in PHP requires no knowledge of programming whatsoever: a file saying "hello world" is enough to get the text to show on a browser
This does not happen with "no knowledge" unless you suppose that copying and pasting arbitrary lines into a command prompt is "no knowledge" (that Apache server isn't going to install and start itself). And if that's allowed then suddenly there's lots of things you can do that require "no knowledge" as even a few lines of JS spewed into an index.js file via cat can get you easy file content streaming and 404 handling without need for a reverse proxy.
> the latest Next.js today is beyond abysmal in comparison
I don't know about Next.js; I've never used it nor does it look like something I'd want to use. I also don't understand why we're comparing Next.js to PHP when the equivalent would be some Drupal-as-a-Service or similar.
- parliament32 7y agoNitpick but: >that Apache server isn't going to install and start itself Yeah it is, you just check the "web server" box during the Debian installation.
- Sharlin 7y agoNo command-line copypasting was required to install a fully functional LAMP (or WAMP!) package.