Re: newbie question about code
| From: | Adam Richardson | Date: | Fri, 10 Sep 2010 19:39:16 +0000 |
| Subject: | Re: newbie question about code | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307939@lists.php.net to get a copy of this message | ||
On Fri, Sep 10, 2010 at 3:03 PM, Joshua Kehn <josh.kehn@gmail.com> wrote:
> 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
>
Thanks for the insights, Josh.
I've been intrigued by Node.js and it's architectural implications, and your
feedback helps as I evaluate potential projects/experiments going forward.
Excellent point about the debugging relative to other environments. Palm's
inclusion of Node.js in webOS 2.0 does help provide more confidence in the
code-base, even if it is relatively early in the development cycle, so I
guess I'll have to start tinkering soon :)
Thanks again,
Adam
--
Nephtali: PHP web framework that functions beautifully
http://nephtaliproject.com