× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Thu, Feb 26, 2015 at 5:46 PM, Gqcy <gmufasa01@xxxxxxxxx> wrote:
is this a thing?

Um... not that I know of. Well, let me make the disclaimer that I
can't reasonably be considered a Web developer, so take my opinions
for what they are. (As Buck likes to say, they're worth as much as
you paid for them.)

But the whole point of node.js is to provide a JavaScript engine for
server-side development. The "traditional" model has been JavaScript
running in the browser, and PHP running on the server. But JavaScript
has been gaining mindshare like crazy, in part because more and more
apps have been moving some of the heavy lifting to the browser, and in
part because JavaScript has some "architectural advantages" over PHP,
from a programming language design perspective.

So, the main reason for node.js's existence is actually to make it so
you don't have to touch PHP at all. Just use JavaScript everywhere,
for everything.

I have only about 1 hour of reading about node.js, and see that
it runs in it's own web server, so how would you "attach" the php-cli
to it?

Given what I discussed above, I think the answer is "you wouldn't".

You can scour the Web for more info. A quick search turned up this for me:

http://www.infoworld.com/article/2866712/php/php-vs-node-js-an-epic-battle-for-developer-mind-share.html

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.