Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

javascript host environments

1 view
Skip to first unread message

transkawa

unread,
Nov 24, 2009, 7:06:50 AM11/24/09
to
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


Lasse Reichstein Nielsen

unread,
Nov 26, 2009, 3:00:28 PM11/26/09
to
"transkawa" <tran...@yahoo.fr> writes:

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'

Jorge

unread,
Nov 26, 2009, 5:08:02 PM11/26/09
to

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.

Garrett Smith

unread,
Nov 26, 2009, 6:18:49 PM11/26/09
to

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/

Thomas 'PointedEars' Lahn

unread,
Nov 26, 2009, 7:11:03 PM11/26/09
to
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

Lasse Reichstein Nielsen

unread,
Nov 27, 2009, 1:16:37 AM11/27/09
to
Thomas 'PointedEars' Lahn <Point...@web.de> writes:

> 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.

When people say more than one thing, it's a good idea to say which
part you think is nonsense. And why.

Jorge

unread,
Nov 27, 2009, 4:20:53 AM11/27/09
to
On Nov 27, 12:18 am, Garrett Smith <dhtmlkitc...@gmail.com> wrote:
>
> [3]http://www.latenightsw.com/sd4/

The correct url for that is:

http://www.latenightsw.com/freeware/JavaScriptOSA/index.html
--
Jorge.

Thomas 'PointedEars' Lahn

unread,
Nov 27, 2009, 3:32:00 PM11/27/09
to
Lasse Reichstein Nielsen wrote:

> Thomas 'PointedEars' Lahn <Point...@web.de> writes:
>> 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.
>
> When people say more than one thing, it's a good idea to say which
> part you think is nonsense. And why.

It's awfully wrong/gibberish as a whole, that's why it deserves to be called
utter nonsense and nothing less. The person(s) writing it has/have had
either no clue what they were writing about, or they were not particularly
skilled in writing English (or a technical explanation to begin with). That
is even more regrettable as the person(s) cited appear(s) to be affiliated
with Adobe which does not bode well for the usefulness of Adobe JavaScript
(and experience tends to confirm that).

"JavaScript version 1.5 of ISO-16262"?
^^^^^^^^^^^^^^^^^^^^^^^^
JavaScript (version) 1.5 is an (Netscape's, lately Mozilla.org's)
implementation of ECMA-262-3. JavaScript (1.5) is _not_ a version of
ISO-16262. There is no ISO-16262 to begin with; there is ISO/IEC 16262, a
*later* ISO/IEC revision of ECMA-262-3 if you will (maybe with some
ECMA-262-3 errata fixed, as John Stockton likes to point out).

"formerly known as ECMAScript"?
^^^^^^^^^^^^^^^^^
JavaScript is _not_ "formerly known as ECMAScript". It is an
*implementation of* the original ECMAScript standard (or, vice-versa,
ECMAScript attempts to standardize the features that JavaScript and its
forks [most notably JScript] have in common at the time of its writing).

ISO/IEC 16262 is _not_ "formerly known as ECMAScript" either. The title of
that international standard is (like the original) "ECMAScript Language
Specification, Edition 3". Neither ISO/IEC 16262 nor ECMAScript was
developed (solely) by Netscape Communications.

JavaScript, on the other hand, *was* developed (solely) by Netscape
Communications, until *excluding* JavaScript 1.5, when the code of Netscape
Navigator along with Client-side JavaScript 1.3 became Open Source Software
in the Mozilla project organized through the Mozilla Organization
(Mozilla.org).


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300...@news.demon.co.uk>

Lasse Reichstein Nielsen

unread,
Nov 27, 2009, 5:32:23 PM11/27/09
to

Yes, that's much better! Now someone else can actually learn something
from the reply, which, in the end, might even reduce the amount of
nonsense.

Thomas 'PointedEars' Lahn

unread,
Nov 27, 2009, 5:49:57 PM11/27/09
to
Lasse Reichstein Nielsen wrote:

> Thomas 'PointedEars' Lahn <Point...@web.de> writes:
>> Lasse Reichstein Nielsen wrote:
>>> Thomas 'PointedEars' Lahn <Point...@web.de> writes:
>>>> 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.
>>>
>>> When people say more than one thing, it's a good idea to say which
>>> part you think is nonsense. And why.
>>

>> [explanation]


>
> Yes, that's much better! Now someone else can actually learn something
> from the reply, which, in the end, might even reduce the amount of
> nonsense.

However, when I am posting, I write for smart people. People whom I expect
to ask smart questions about the why if they are interested in my (or
anybody else's) reasons. In a way, you did, and I happened to have the time
tonight to be more verbose.

I do not see the purpose of this newsgroup and my posting here to provide
explanations in advance as to why posted nonsense is nonsense. And I do not
intend to back off from that position. YMMV.


PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee

0 new messages