News for hackers. Stuff that matters.
Re:How to profile your PHP applications with Xdebug by trollied on Saturday May 07, 2022 @03:03PM (#31297493)
Can you suggest another language that effectively allows inline templating like PHP does, and has a huge set of libraries available?

PHP runs more of the "web" than you probably realise - some of the highest trafficked websites in the world, in fact. It's fine done properly. The bad press from 20 years ago is pretty much unwarranted these days. Also, if wordpress had been written in RoR or Perl/something else, plenty of the PHP bad press would have been avoided.

Re:How to profile your PHP applications with Xdebug by lbj on Saturday May 07, 2022 @03:25PM (#31297707)
There are too many to mention, even Clojure supports inline templating, but it's a horrible design pattern. Have a look at Enlive instead if you want something close but solid.
Re:How to profile your PHP applications with Xdebug by ezequiel-garzon on Saturday May 07, 2022 @04:11PM (#31298108)
Could you provide a link to Enlive? I can’t find anything relevant. Thanks!
Re:How to profile your PHP applications with Xdebug by lbj on Sunday May 08, 2022 @03:09AM (#31301953)