A friend called Pablo told me to learn WordPress CMS but another friend called Lucas told me to learn Strapi CMS because server side rendering and PHP in general are dying in favor of frontend side rendering with tools like react, angular or vue.

I do not want your opinion because opinions are strictly forbidden on this platform and they will make moderators close this question.

I want facts and solid arguments based on true evidence that demonstrate wether WordPress and server side rendering via PHP are really being replaced by the new javascript toys or not in the following 30 years (to be practical, because I will stop working on 2050 if I am still alive).

I really like PHP and cannot imagine a world without it.

But if you know better than me the objective factual non-opinionated tendency of web development and can help me take the smartest decision, I will be very happy today.

  • Well if Lucas says so... – Jacob Peattie Jun 1 at 7:43
  • 2
    Don't know why the names of your friends were relevant, but ok. You don't want opinions but you ask an opinion based question, we are not oracles, we can see the future to tell you exactly what would happen with PHP, react etc... . For now wordpress is still going strong, check for your self, and react/angular are also doing great. You want solid arguments... this is a QA site not a debate form. – Buttered_Toast Jun 1 at 7:44
  • @Jacob Peattie At least he says something. – Javier Guil Bozal Jun 1 at 7:46
  • You can't get anything but an opinion, because nobody knows the future. In any case, you need some code to store data on the server. Frontend code alone can't do that. – fuxia Jun 1 at 7:57
  • 1
    I do not believe it is possible to answer this question using facts without waiting 30 years to see what happens, clairvoyance is required to answer this question, and it's unclear what an answer would look like without it being speculative. This is a discussion subject not a question, any response would be an opinion. Remember, this is not a forum – Tom J Nowell Jun 1 at 8:21

Do not worry about the future of PHP, it's here to stay. It powers more than 75% of websites as of 2021. The frontend rendering frameworks and libraries keep changing and most of them end up being passing fads, although it will be vital to learn those that are being used extensively e.g. React, Vue, Angular etc.

Here's a link from Zend that delves deeper into the future of PHP.

  • 1
    Thanks, this is a great answer! – Javier Guil Bozal Jun 1 at 8:43
  • facts are that when I search for jobs node phyton and even java are in more demand than PHP. Zend do not exists realy any more and do not have much to say about the future of PHP in any case, the future of PHP depends on the core contributors to it and at least to the best of my knowledge there is no one entity which "owns" it and can answer anything about any future – Mark Kaplun Jun 1 at 10:18
  • 1
    @Mark Kaplun, so why did you create your own wordpress fork if you don't believe in PHPs future? – Javier Guil Bozal Jun 1 at 11:09
  • @MarkKaplun, a sound opinion about PHP doesn't have to come from the core contributors only but from any PHP enthusiast. Besides, PHP creators have worked so hard to come up with PHP 8 with some major updates that focus on PHP performance and make web development smoother and simpler. There are problems that PHP solves better than Java and Python and vice versa. Job postings from other coding languages does not devalue the use of PHP. As far web dev is concerned PHP wins hands down in terms of accessibility, ease-of-use and extensive community. – Rodgath Jun 1 at 11:38
  • @Rodgath the OP asked for facts not opinions. For something to be a fact you need to see some documentation for it unless you have some intimate knowledge. Right now the only known fact about PHP is that there is very likely going to be 8.1. The article you linked to was by a former employee of zend or at least the compny that bought the relevant PHP IP from zend. His termination and the disbanding of his team came with an advanced notice of a month IIRC. – Mark Kaplun Jun 1 at 13:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.