> I'm trying to figure out if Node will work for our platform or not (or
> even V8 in general). We're planning a rewrite. We use PHP. We need to
> allow users to write server side plugins. For it to be secure in PHP
> we'd have to write a "language" using flex/bison to eliminate dynamic
> function calling and only allow whitelist functions. I can do this.
> But users would have to learn this "new language". Most users, if they
> have any "web development" experience, are going to be more familiar
> with JavaScript. So I'm looking at V8, and thus I found Node.js.
JavaScript gets analysed and minified by different tools, you'll have a
choice between serveral AST parsers to start your creation of a DSL for
your users (even and especially if it means a subset of the
JavaScript/EcmaScript language). Maybe you can even prevent users to
write code which wedges the eventloop.

As for the rest (threads etc.), I think this is a complicated territory
which PHP does not master at all (please prouve me wrong, that will help
me regain respect to PHP again). And nodejs trys to cover, but does not
with sufficient "stability" (node is just too young, this is an
untested/unexplored domain in development, portability). Still v8
sandboxing seems the way to go (no idea though how this is going to be
done).

Ph

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to