[ previous ] [ next ] [ threads ]
 To :  Martin Provencher <mprovencher86@g...>
 From :  Diana Cionoiu <diana-liste@v...>
 Subject :  Re: [yate] Embedded scripting proposal
 Date :  Tue, 05 Oct 2010 20:55:27 +0300
Hello Martin,

Javascript because it's embeddable.
The VM will be a part of the Yate package.

Regards,
Diana


Martin Provencher wrote:
> Hi,
>    I think you've got a very good idea. What I don't understand is why 
> you chose JavaScript instead of a more powerful dynamic language like 
> Python or Ruby? I've never saw JavaScript used outside a web 
> environment. I hope you don't go in a bad direction with this language 
> and it will be easy to install all its prerequisite (VM, debugger) for 
> the Yate's user.
>
> Martin
>
> On Tue, Oct 5, 2010 at 8:07 AM, Diana Cionoiu 
> > wrote:
>
>     Hello Gerry,
>
>     1. Yes, that's the point. We want some modules like pbxassist and
>     some modules that require database processing to be done in
>     Javascript. A scripting language it's good because a lot of things
>     can be developed faster.
>
>     2. As usual this language will be yet another yate module therefor
>     you will be able to disable it any time.
>
>     3. The problem is that asterisk dialplan name now it's asterisk
>     extension language.
>
>     Diana
>
>
>     G.Jacobsen wrote:
>
>         Paul,
>
>         Given the proposed functionality ultimately that means that
>         some existing
>         Yate modules could be completely replaced by Javascript
>         applications. And at
>         the end, yate itself could simply become some sort of javascript
>         interpreter.
>
>         If not, Yate would become a mixed bag of C++ code and some
>         Javascript ... I
>         think you are at some cross-road here.
>
>         As far as I am concerned, an asterisk-like dialplan where one
>         can knock-up
>         an application in no time and without worrying to break the
>         entire system
>         due to some unforeseen complexity would be just fine.
>
>         Just my two pence.
>
>         Cheers
>
>         Gerry
>