458056 (1) [Avatar] Offline
I have just bought the book and got to the sub chapter "Node.js" in About this book.
I run two websites both of which are run on Wordpress.
Can you advise on how to implement Node for Wordpress.
Jeremy Wagner (13) [Avatar] Offline
Hi! First off, thank you so much for buying the book. I hope you find it useful!

As for your question, I don't know much about this. WordPress is a PHP application and as such, it should be run on a web server that has solid support for PHP. This usually means using Apache or Nginx as your server software. Node on the server runs JavaScript.

That said, some cursory googling shows a package that purports to allow you to run PHP on Node: https://www.npmjs.com/package/node-php

I don't know anything about this package or how well it functions, but I can't think it would a terribly performant solution to have PHP being run through a Node module.

Let me know if you have questions, or if I have just misunderstood your question (which happens sometimes).

Thanks again,