JavaScript execution engine for PHP

JavaScript execution engine for PHP

am 30.10.2007 23:39:17 von Any User

Hello

I'm looking for any kind of software, allowing execution of JavaScript
code in controlled environment (of course except full browsers).

What I want to use it for is to load some JavaScript code into it, and
then execute selected functions with given parameters.

Does anybody know such a software?


Patrick

Re: JavaScript execution engine for PHP

am 30.10.2007 23:59:11 von carl

Any User writes:

> Hello
>
> I'm looking for any kind of software, allowing execution of JavaScript
> code in controlled environment (of course except full browsers).
>
> What I want to use it for is to load some JavaScript code into it, and
> then execute selected functions with given parameters.
>
> Does anybody know such a software?
>
>
> Patrick

I'll admit that it's not entirely clear to me what you're trying
to do (and my suggestion has nothing to do with php), but
you may want to have a look at mozilla Rhino if you haven't already:

http://developer.mozilla.org/en/docs/Rhino_Overview#Introduc tion
http://developer.mozilla.org/en/docs/Rhino_documentation

Carl.

Re: JavaScript execution engine for PHP

am 31.10.2007 00:01:08 von luiheidsgoeroe

On Tue, 30 Oct 2007 23:39:17 +0100, Any User wrote:
> I'm looking for any kind of software, allowing execution of JavaScript
> code in controlled environment (of course except full browsers).

Euhm, comp.lang.javascript? There are several options, all is in that
groups archives...
--
Rik Wasmus