Bryan,
The JavaScript in Witango is the Netscape JavaScript 1.4 engine "Tacked on". This
means that you get core only functionality. The only host object, that is the only
interface to something outside of the core JavaScript engine is the "server" object.
The "server" object allows one to get and set Tango/Witango variables {methods:
[getVariable(), setVariable()]} from JavaScript.
There are quite few instances that you would want to use this. For instance,
JavaScript's RegEx is better documented than Tango's <@REGEX>, and is a heck of a lot
more useful because of the methods available to use, like Replace(), etc. Also, you
can get SHA1 and other common algorithms implemented in JavaScript, and converting
these in to something more native Witango is really not worth the effort. In fact the
more I use JavaScript, the better I like it.
There are only a few drawbacks. One is that it's not the JavaScript 1.5 engine, that
is it's not ECMA Script v3 compliant. Another is that the only host object is "server"
with only the two methods for getting and setting Witango variables. The other is that
because it's not integrated in, but rather tacked on, variable values are copied from
Witango to the JavaScript engine rather than passed by reference; this means things
can slow down when moving large values, that is values lager than a few megabytes.
But don't let these drawbacks discourage you from finding uses for having it there;
like I said earlier, the more I use it the better I like it.
Anthony -
-----Original Message-----
From: Bryan Hughes [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 9:59 PM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: Witango Javascript
Maybe a stupid question...
Does the Witango server Javascript execution engine have access to COM,
ActiveX, JavaBeans, TCF's etc?
for example...
var myObj = new Server.WitangTCF('myTCF');
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf