News for hackers. Stuff that matters.
[dead]
Re:PHP in 2020 by tooop on Tuesday January 21, 2020 @04:58PM (#22112110)
Why exactly bother with anything else than PHP?
Re:PHP in 2020 by whalesalad on Tuesday January 21, 2020 @05:27PM (#22112367)
PHP isn't an application server. It's tightly coupled to the request/response cycle. There are things you can do to sorta get a longer running environment but for the most part you are loading and tearing down everything for every single request.

Contrast this to Python, Ruby, Node, Go, really any other platform where you tend to model applications with an application server that is long running. In a scenario like this, your application is running all the time and doesn't boot up on every request.

Re:PHP in 2020 by gscott on Tuesday January 21, 2020 @05:33PM (#22112448)
For that matter MS Asp Classic works fine too which is my favorite.
Re:PHP in 2020 by mitchty on Tuesday January 21, 2020 @05:13PM (#22112239)
I can only offer my reason: I don't know it.
Re:PHP in 2020 by TylerE on Tuesday January 21, 2020 @05:12PM (#22112227)
Why bother eating anything except cold gruel?
Re:PHP in 2020 by npo9 on Tuesday January 21, 2020 @04:48PM (#22112019)
My understanding is almost all PHP dev is done because it’s improving a legacy system or it’s integrating into a legacy system, or the first engineer could just move faster in PHP because of personal reasons.
Re:PHP in 2020 by ioulian on Tuesday January 21, 2020 @04:54PM (#22112076)
I'm mostly Frontend developer recently so I haven't been much up to date with Backend technologies. If I need a CMS for my frontend, what technology(-ies) can I use?
Re:PHP in 2020 by dewey on Tuesday January 21, 2020 @05:17PM (#22112278)
I'd go with Ruby on Rails if it's mostly CRUD operations. You'll be very quick to get something up and running to power your frontend.

You could also use some hosted services like https://firebase.google.com / https://www.contentful.com but that depends on your use case and if you want to be dependent on someone in return for being a bit faster.

Re:PHP in 2020 by FormFollowsFunc on Wednesday January 22, 2020 @02:40AM (#22115452)
You could use Wagtail (built on Django) in headless mode. Drupal also supports headless mode.
Re:PHP in 2020 by toper-centage on Tuesday January 21, 2020 @04:58PM (#22112114)
Hugo and Gatsby come to mind. They are based of tech like react, go, and graphQL.
Re:PHP in 2020 by tooop on Tuesday January 21, 2020 @05:01PM (#22112140)
Those aren't CMS...