Call me old fashioned but I prefer my code naked, plain php and postgres, nothing else, not even JS. So for me, echo 'Hello world' is good enough.
“Hello, (real) world” in PHP in 2017
21–30 of 144 posts
Re: “Hello, (real) world” in PHP in 2017
#22I don't mind this article as long as it's classified as satire.
Re: “Hello, (real) world” in PHP in 2017
#23The only thing missing from projects I've seen up close is that the value would be selected from the database using a stored procedure.
Re: “Hello, (real) world” in PHP in 2017
#24A bit like the other submission on learning JS in 2016. I find that I am getting dragged down by complexity. Even simple tic tac toe game that I was planning to write in vanilla js took me via jQuery, npm, Firebase etc. Sure its production ready but I just wanted to write something for fun. Wasn't really fun.
No one even writes javascript anymore, they compile it from Haskell or whatever. That's how serious it is.
Re: “Hello, (real) world” in PHP in 2017
#25I love PHP and it's still my main language, but the reason so many projects never get completed is because of this. Really I should just accept that for an MVP, Laravel and a static front end with some old school jQuery where required is fine.
Re: “Hello, (real) world” in PHP in 2017
#26Earlier quoted context omitted.
You do realise this article wasn't written as a beginner's tutorial but as a sarcastic view of modern web dev?
And where is the VM, the docker images, the swarm in the cloud to make HA and the right https configuration ?
Re: “Hello, (real) world” in PHP in 2017
#27Nailed it. I love PHP and it's still my main language, but the reason so many projects never get completed is because of this. Really I should just accept that for an MVP, Laravel and a static front end with some old school jQuery where required is fine.
Re: “Hello, (real) world” in PHP in 2017
#28Maybe I am old fashioned and outdated. I don't know about anyone else, but it makes me pretty sad that the "modern" way as presented in this article is no longer simple and straightforward and has some severe dependency hell. Not that I'm saying the structure of modern web applications isn't needed and that we haven't advanced. Just that the overhead and knowledge required to set up a modern web application is crazy.…
All long as all the tools and pipelines work flawlessly it's painless.
As soon as something goes wrong, if you are not a specialist or have a deep understanding of the inner-working of all these it actually hinders productivity.
What if Webpack doesn't work as expected because you mis-configured it? what if there is a bug in AngularJS and you're not capable of fixing it yourself? What if Entity framework doesn't support a specific use case/feature of your DB?
While in a professional environment implementing the domain is already a lot of work and people want the rest to be coded fast by using ready-made solutions, each new component, framework should be carefully vetted, adding a new framework or library shouldn't become a reflex.
Re: “Hello, (real) world” in PHP in 2017
#29Nailed it. I love PHP and it's still my main language, but the reason so many projects never get completed is because of this. Really I should just accept that for an MVP, Laravel and a static front end with some old school jQuery where required is fine.
Sorry but if you love PHP and use as your main language, why you don't complete any sideproject ? I don't understand your statement.
Re: “Hello, (real) world” in PHP in 2017
#30 $ echo 'Hello World!'
which if, you think about it, requires a kernel, multitasking, driver independence on various level, many drivers, memory management, possible resource accounting, binary api, dynamic linker, interpreter, etc, etc, etc.All (or at least most) of this seems overkill if you just want to print out 'hello world'. But it makes total sense if you want to do a little more complex stuff.