Re: newbie question about code
| From: | Joshua Kehn | Date: | Fri, 10 Sep 2010 19:03:46 +0000 |
| Subject: | Re: newbie question about code | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307938@lists.php.net to get a copy of this message | ||
Adam-
It is unique. I'm writing code that really can't be done any other way. How it handles
events, sockets, etc is exceptional. The best part is everything now is JavaScript. The server
(Node.js) is written in JavaScript. MongoDB is JavaScript. The frontend used to manage the WebSocket
is entirely JavaScript.
I have essentially replaced J2EE as the backend with Node and I couldn't be happier.
Of course standard JavaScript woes apply. Debugging is a royal pain in the ass. Your code can and
will suddenly fail due to odd strange errors. There are stability concerns with Node, it is version
0.2 after all.
It won't replace PHP or Java as an enterprise level solution, but it does fill in the gaps very
nicely.
Regards,
-Josh
____________________________________
Joshua Kehn | Josh.Kehn@gmail.com
http://joshuakehn.com
On Sep 10, 2010, at 2:53 PM, Adam Richardson wrote:
>>
>>
>>
>> This is what I get for taking a week to code everything in Node.js.
>>
>>
>
> It is a Friday, so I'll let my curiosity get the best of me and ask a
> follow-up on something non-PHP. What insights/impressions do you have
> regarding Node.js after a week of working with it?
>
> Thanks,
>
> Adam
>
> --
> Nephtali: PHP web framework that functions beautifully
> http://nephtaliproject.com