DEV Community

Discussion on: All I want for PHP is 🐘

Collapse
muhammadfaizanhaidar profile image
Muhammad Faizan Haidar

I don't agree with your thoughts about WordPress.
Currently WordPress plays a huge role in keeping PhP alive a really vibrant WP community that attracts daily contirbutors. Almost half of the web is based on WordPress what else best do you expect from PhP to do?

Collapse
sobakus profile image
Sobakus

I agree that WordPress is a popularity behemoth. In fact we use it as CMS in our company. The merits of WordPress are unquestionable, and I sincerely respect its success as such a cornerstone of the web.

But the way in which WordPress grew up organically to its current size and the lacking documentation for developers causes things to get messy whenever you want to do some advanced things. Last time I had to do some internal stuff I had to actually debug the inner workings of WordPress itself to make our code fit in the process and work as intended. And the "what will break?" feeling whenever we update WordPress gets me uneasy.

As a front end renderer, it gets very slow under heavy work, so either you have to cache like crazy or replace the front end part. We are currently replacing all the rendering stuff with a new custom SSR frontend using Nuxt, and using WordPress only for CMS edition and storage.

Anyway what I meant with the "PHP can do better things" is that, from an architecture, code design and performance standpoint, PHP can be as modern and performant as any other currently "trendy" system.

Thread Thread
muhammadfaizanhaidar profile image
Muhammad Faizan Haidar

Yes I agree with you that WordPress has some shortcomes too. But if you are a php supporter you will definitely know how PhP's older versions were there was a time when people said php is going to be dead in a decade but community made php to make a strong comeback and it has grown gradually, same goes for WordPress it's an open source and has a very supportive community. And if you talk about speed, an efficient developer who understands how WordPress core work's he will write an optimized solution. WordPress itself doesn't create any speed issues its the poorly written plugins that does. Also WordPress Api allows to write custom cache solutions. Currently a lot of work is ongoing to improve WP documentation. Hope to see WordPress succeeds ,adding into PhP's success.

Peace