JavaScript: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{ Translations }} <!-- This page is linked from www.laptop.org -->
Javascript is a Lisp-like object-oriented language with a C-like syntax that was invented as part of the Netscape web browser. Although it has no relationship at all with Java, some marketing people decided that it would look better if Netscape could claim a feature named ''Javascript''.
[[JavaScript]] is a Lisp-like object-oriented language with a C-like syntax that was invented as part of the Netscape web browser. Although it has no relationship at all with Java, some marketing people decided that it would look better if Netscape could claim a feature named ''JavaScript''.


The language was standardised by the ECMA under the name ''ECMAScript'' and this name is often used by open source advocates who wish to refer to the generic language, not one specific implementation.
The language was standardised by the ECMA under the name [[wikipedia:ECMAScript|ECMAScript]] and this name is often used by open source advocates who wish to refer to the generic language, not one specific implementation.


The Javascript engine from the Mozilla project is included in [[xulrunner]] which is part of the OLPC.
The JavaScript engine from the Mozilla project is included in [[XULRunner]] which is part of the OLPC, and in [[Browse]], the web browser activity built on XULRunner.


You can take a look at the project [[OLPCities]]. It's an open source, modular project using JavaScript (not Flash) for the creation of on line web applications having the GameBoy style. You can create "Lots" or a complete "City" having activities. There are tutorials available about how to do this. And there are a protopype that you can play not only at the OLPC station but at some browsers (IE, by example), NOW!
Question: Which is correct, the statement above or the one in http://wiki.laptop.org/go/Xulrunner which states
"XULRunner also supports Javascript however this is not part of GECKO and therefore is not supported"?


==See also==
:It says ...not supported by the current Sugar web browser.
* Online tutorials and editors

** http://billmill.org/static/canvastutorial/ - an interactive set of pages to learn JavaScript and &lt;canvas&gt; programming, first few chapters work in [[Browse]]
:It would be a good idea for the OLPC to clarify the situation with xulrunner and GECKO but the OLPC does have Javascript as a standard component and it is found in xulrunner. The catch is that Javascript embedded in HTML pages will not run when loaded by the GECKO-based web browser. But you can still build and run Javascript apps, just use xulrunner.
** http://eloquentjavascript.net/ - Eloquent JavaScript interactive online book, does not work in Browse but works in [[Firefox]]

** http://tide4javascript.com/ - JavaScript Tiny Integrated Development Environment, 2.0 beta does not seem to work in Browse
You can take a look at the project [[OLPCities]]. It's an open source, modular project using JavaScript (not Flash) for the creation of on line web applications having the GameBoy style. You can create "Lots" or a complete "City" having activities. There are tutorials available about how to do this. And there are a protopype that you can play not only at the OLPC station but at some browsers (IE, by example), NOW!
* [[JS-Python]] - javascript
* [[The call method in JavaScript]]


[[Category:Developers]]
[[Category:Developers]]
[[Category:Programming language]]
[[Category:Web browsers]]

Latest revision as of 04:32, 19 August 2009

  english | español HowTo [ID# 215155]  +/-  

JavaScript is a Lisp-like object-oriented language with a C-like syntax that was invented as part of the Netscape web browser. Although it has no relationship at all with Java, some marketing people decided that it would look better if Netscape could claim a feature named JavaScript.

The language was standardised by the ECMA under the name ECMAScript and this name is often used by open source advocates who wish to refer to the generic language, not one specific implementation.

The JavaScript engine from the Mozilla project is included in XULRunner which is part of the OLPC, and in Browse, the web browser activity built on XULRunner.

You can take a look at the project OLPCities. It's an open source, modular project using JavaScript (not Flash) for the creation of on line web applications having the GameBoy style. You can create "Lots" or a complete "City" having activities. There are tutorials available about how to do this. And there are a protopype that you can play not only at the OLPC station but at some browsers (IE, by example), NOW!

See also