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

WordPress Trac noreply at wordpress.org
Mon May 27 08:53:04 UTC 2024


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

Comment (by jeremiva):

 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.


 I think nobody here is talking about rewriting WP to JS but instead
 shipping Node.js with WordPress core, so we have both languages on the
 Server, PHP Devs can keep doing what they are doing, and Node devs have a
 place where they can finally write server-side javascript, for example
 when building plugins have a server.js that runs some server code or have
 javascript APIs for the creation of new rest endpoints, custom-post-types
 and more which was only possible with PHP before.

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


More information about the wp-trac mailing list