[wp-trac] [WordPress Trac] #59335: Explore Integration of Node.js into WordPress Core

WordPress Trac noreply at wordpress.org
Wed Sep 13 18:09:01 UTC 2023


#59335: Explore Integration of Node.js into WordPress Core
-----------------------------+------------------------------
 Reporter:  harshgajipara    |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  close            |     Focuses:
-----------------------------+------------------------------

Comment (by peq42):

 Replying to [comment:1 jrf]:
 > Popularity of a programming language amongst programmers is not a good
 indicator. Actual usage is. And PHP is still way ahead of everything and
 anything else by miles:
 https://w3techs.com/technologies/overview/programming_language
 >
 > Rewriting the PHP to JS would be a huge breaking change and would break
 most of the plugin/theme/tooling infrastructure around WordPress.
 >
 > Aside from that it would require a huge effort, with the associated
 costs around that and is likely to re-open the platform to lots of
 security issues which had previously already been fixed.
 >
 > Suggest: close.

 It was specified in the post that "wordpress.js" would be a ''side''
 version, instead of replacement. And while yes, php is ''currently'' the
 most popular, javascript on the server side hasn't stop growing ever since
 2009 with node.js being released(and being honest, wordpress is the only
 thing keeping php popular).

 The plugin/theme/tooling was already addressed, please read the post.

 The required costs can be minimized by making, again, making this a side
 project with lower priority than the main one(wordpress for php).

 The advantages, on the other side, are future proofing wordpress as a
 project(existing in 2 languages is better than one) and possible massive
 performance upgrades with asynchronous programming and whatnot. This could
 also bring more developers to wordpress, as not as many people likes/knows
 php.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59335#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list