Re:WordPress Plugin Development: Talking to APIs
by busterarm on Tuesday March 20, 2018 @12:12AM
(#16626007)
Behat is easily one of my favorite test frameworks and PHP, at least since 5.6, is somewhat of a sensible language now.
If you have to build the kind of site that needs to do the things that WordPress does, it's a great choice.
PHP, unfortunately, is never going to get away from the reputation that it earned and some of the choices it's stuck with, but it's a perfectly adequate language to develop web software with and the tooling these days is pretty good.
It's not my choice to use, but I'm happy to use it in a modern context.
Re:WordPress Plugin Development: Talking to APIs
by emodendroket on Monday March 19, 2018 @10:32PM
(#16625538)
Yeah, I think you'll see PHPUnit in Symfony projects pretty typically as well. Also Guzzle.
Re:WordPress Plugin Development: Talking to APIs
by gnbfulbvgjbvv on Tuesday March 20, 2018 @03:31AM
(#16626579)
Laravel’s popularity seems to be at an all-time high, whereas Rails seems to have declined. But I may not have a full picture, and there could be regional differences.
In your experience, what are better web server languages and frameworks?
In a different life I had to maintain a website based on the Drupal CMS and also one based on the then-popular Laravel PHP framework, and in both environments testing was common and well-supported. As much as I dislike PHP, such a blanket statement does not hold up.