Adding capabilities to javascript from the ActiveX scripting engine.

P

pantagruel

I was wondering if anyone has enough familiarity with the ActiveX
scripting implementation of javascript to answer if it would be
possible to define a new language for the engine, and for the
implementation inheriting from the javascript implementation, adding in
capabilities.

By capabilities I mean not just the generic use of the word, but more
specifically the concept of capability-based security.
Hoping someone can give me a good answer on this as I don't want to end
up doing a lot of investigation just to discover the answer is a big no
way in hell.

Thanks.
 
J

Jim Davis

pantagruel said:
I was wondering if anyone has enough familiarity with the ActiveX
scripting implementation of javascript to answer if it would be
possible to define a new language for the engine, and for the
implementation inheriting from the javascript implementation, adding in
capabilities.

I'm not at all sure what you're talking about... what ActiveX scripting
implementation? Who's the vendor?

If it's Micrsoft then I'm confident that the implementation would be the
same as the related JScript implementation. They wouldn't do multiple
versions from scratch - if they did create an ActiveX control (and I can't
really see any reason for them to) which "did" JavaScript I think the smart
money would be on it being the same as the version in IE.

Jim Davis
 
P

pantagruel

ActiveX Scripting has sometimes been used to refer to Active Scripting,
that is however an outmoded usage, I should probably have specified.

http://www.microsoft.com/mind/0297/activescripting.asp

so to clarify, what I am thinking of is an implementation that takes
the javascript implementation and adds extra functionality to it.
Extending objects at the Active Script level as opposed in a script
itself.
 
R

RobG

pantagruel said:
ActiveX Scripting has sometimes been used to refer to Active Scripting,
that is however an outmoded usage, I should probably have specified.

The terms are interchangeable - the "X" seems to have been dropped about
2000. Why is open to conjecture.
http://www.microsoft.com/mind/0297/activescripting.asp

so to clarify, what I am thinking of is an implementation that takes
the javascript implementation and adds extra functionality to it.
Extending objects at the Active Script level as opposed in a script
itself.

Do you mean extending the COM object to add extra functionality that can
be accessed by custom extensions to the language? According to the
referenced article, that is exactly what Active Scripting was supposed
to avoid. It suggests that you choose the script language that suits
and then use the appropriate COM object.

Presumably this is for an IE and Windows only intranet, so if you're
looking for a COM object to embed in IE (or any Windows scripting host),
why not use JScript - Microsoft has already added many extensions beyond
ECMAScript and the W3C DOM, including embedding your own COM objects.

Or you could use VB Script - choose your poison.
 
P

pantagruel

because I want a javascript with capability-based security.

there are various implementations I could think about adding this too,
but for various reasons demos would be pretty cool if it were the
Active Scripting version. I was of the opinion that it was not doable,
and everything I've seen so far indicates that it isn't
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top