WordPress for Node.js
-
Now I know this may have been discussed before, but considering I couldn’t find anything on the topic, I thought I should bring it up just in case, to create healthy debate on the topic.
WordPress for a long time has relied on PHP as its only platform, which has been fine since PHP is nearly universally adopted by all hosts big and small. However, PHP has been declining in usage. According to github’s octoverse, it went from 4th most used programming language to 7nth in just 3 years, with tendency to continue going down.
On the opposite hand, javascript and its twin typescript have been on the rise since 2009 thanks to Node.js. Many hosts nowadays offer node.js as an option to create projects, and it tends to be even cheaper than normal php hosting.
So my idea here is to create a side version of wordpress, like tensorflow did with tensorflow.js. Something that internally works exactly the same, and can be connected to the same kinds of databases and whatnot, but use separate plugins and themes(ones made for node.js) in a separate repository. This way, wordpress as a project would be better future proofed and, considering that node.js is faster and provides things that PHP doesn’t such as asynchronous programming, could also allow for better performance(which would be a massive plus, incentivizing early adoption and getting the project a jumpstart). Not to mention that javascript in general has far better backwards compatibility than PHP, which means easier backend updates to newer versions of node.js.
I myself have a wordpress website running in PHP 8.1(cant run php 8.2 without daily crashes/other problems due to incompatibility) and would happily migrate over given the change.
The page I need help with: [log in to see the link]
The topic ‘WordPress for Node.js’ is closed to new replies.