From: transkawa on
can there be otehr computational host environments for javascript
(ecmascript) apart from xml and html document objects?
would be grateful for alternative host environments.
xnt


From: Lasse Reichstein Nielsen on
"transkawa" <transkawa(a)yahoo.fr> writes:

> can there be otehr computational host environments for javascript
> (ecmascript) apart from xml and html document objects?
> would be grateful for alternative host environments.

Easily.
Check, e.g., node.js <URL:http://nodejs.org/>
The ECMAScript language itself is completely independent of web
documents, and can be used in other places as well
/L
--
Lasse Reichstein Holst Nielsen
'Javascript frameworks is a disruptive technology'

From: Jorge on
On Nov 24, 1:06 pm, "transkawa" <transk...(a)yahoo.fr> wrote:
> can there be otehr computational host environments for javascript
> (ecmascript) apart from xml and html document objects?
> would be grateful for alternative host environments.
> xnt

http://partners.adobe.com/public/developer/en/acrobat/sdk/AcroJSGuide.pdf

http://www.google.com/search?q=javascript+pdf+site:adobe.com

What is Acrobat JavaScript?

Acrobat JavaScript is a language based on the core of JavaScript
version 1.5 of ISO-16262, formerly known as ECMAScript, an object-
oriented scripting language developed by Netscape Communications.
JavaScript was created to offload Web page processing from a server
onto a client in Web-based applications. Acrobat JavaScript implements
extensions, in the form of new objects and their accompanying methods
and properties, to the JavaScript language. These Acrobat-specific
objects enable a developer to manage document security, communicate
with a database, handle file attachments, manipulate a PDF file so
that it behaves as an interactive, web-enabled form, and so on.
Because the Acrobat-specific objects are added on top of core
JavaScript, you still have access to its standard classes, including
Math, String, Date, Array, and RegExp.

PDF documents have great versatility since they can be displayed both
within the Acrobat software as well as a Web browser. Therefore, it is
important to be aware of the differences between Acrobat JavaScript
and JavaScript used in a Web browser, also known as HTML JavaScript:
● Acrobat JavaScript does not have access to objects within an HTML
page. Similarly, HTML JavaScript cannot access objects within a PDF
file.
● HTML JavaScript is able to manipulate such objects as Window.
Acrobat JavaScript cannot access this particular object but it can
manipulate PDF-specific objects.

--
Jorge.
From: Garrett Smith on
transkawa wrote:
> can there be otehr computational host environments for javascript
> (ecmascript) apart from xml and html document objects?
> would be grateful for alternative host environments.
> xnt
>
>

Both Mac and Windows are scriptable.

* KDE [0]
* WSH (windows script host)[1]
* Konfabulator[2]
* AppleScripts[3]
* Flash and Flash Lite
* Apple "Dashboard" (Konfabulator rip).

[0]http://api.kde.org/4.x-api/kdelibs-apidocs/kjs/api/html/
[1]http://technet.microsoft.com/en-us/library/ee221103.aspx
[2]http://en.wikipedia.org/wiki/Yahoo!_Widgets
[3]http://www.latenightsw.com/sd4/

The FAQ mentions nuclear power station as a contrived example. I'd like
to replace that with WSH, KDE, Apple OS, and Flash.

(changing cross-post to c.l.js only).
--
Garrett
comp.lang.javascript FAQ: http://jibbering.com/faq/
From: Thomas 'PointedEars' Lahn on
Jorge wrote:

> Acrobat JavaScript is a language based on the core of JavaScript
> version 1.5 of ISO-16262, formerly known as ECMAScript, an object-
> oriented scripting language developed by Netscape Communications.

Utter nonsense.

And stop crossposting to non-existent newsgroups.


PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann