News for hackers. Stuff that matters.
Re:“Hello, (real) world” in PHP in 2017 by endymi0n on Saturday March 11, 2017 @05:37PM (#13847640)
Poe's law in full action. If for some reason this is not a joke, it's a pretty lousy tutorial, as for every single arbitrary framework/tool decision here, there's not a single rationale here but "because it's 2017". I'd absolutely prefer 1995's Hello World if it's just about saying "Hello World".
Re:“Hello, (real) world” in PHP in 2017 by krick on Saturday March 11, 2017 @05:49PM (#13847707)
Generally I would agree with you, but I think it should be taken with a grain of salt. "Hello World" is somewhat metaphorical concept, the ultimate goal isn't to show the label itself, but to show what is the amount of work required to produce some generic output without any business-logic involved. This means that it totally makes sense to use OpenGL or ncurses to show "Hello world" on the screen, even though they are obviously not necessary to do just that. It's just that they will be necessary for many other typical tasks we are considering.

So, although I wouldn't really chose tools author choses here, so the "not-really-a-joke joke" is still largely opinionated, I have to admit that assuming AJAX and some kind of MVC-ish framework (even if it's a one of your own) on both back-end and front-end is pretty much a must for a typical PHP web-application.

Re:“Hello, (real) world” in PHP in 2017 by khedoros1 on Saturday March 11, 2017 @06:19PM (#13847852)
I don't think it's a joke, but I also don't think "tutorial" is the right word either. It seems more like an illustrative commentary on the state of the webdev industry.
Re:“Hello, (real) world” in PHP in 2017 by iiv on Saturday March 11, 2017 @07:26PM (#13848128)
I think the word you're looking for is "satire".
Re:“Hello, (real) world” in PHP in 2017 by khedoros1 on Sunday March 12, 2017 @07:47PM (#13854025)
That has extra connotations of parody that I was trying to avoid.
Re:“Hello, (real) world” in PHP in 2017 by michaelmior on Saturday March 11, 2017 @07:23PM (#13848112)
Actually I'd prefer the program just consisted of plain text since that's perfectly valid PHP.