![]() The final choice of name caused confusion, giving the impression that the language was a spin-off of the Java programming language, and the choice has been characterized as a marketing ploy by Netscape to give JavaScript the cachet of what was then the hot new web programming language. The change of name from LiveScript to JavaScript roughly coincided with Netscape adding support for Java technology in its Netscape Navigator web browser. Because Java was a competitor of C++ and aimed at professional programmers, Netscape also wanted a lightweight interpreted language that would complement Java by appealing to nonprofessional programmers, like Microsoft's Visual Basic.Īlthough it was developed under the name Mocha, the language was officially called LiveScript when it first shipped in beta releases of Netscape Navigator 2.0 in September 1995, but it was renamed JavaScript when it was deployed in the Netscape browser version 2.0B3. While battling with Microsoft over the Web, Netscape considered their client-server offering a distributed OS, running a portable version of Sun Microsystems' Java. JavaScript was originally developed by Brendan Eich, while working for Netscape Communications Corporation. These Web pages are often called Web applications and can be made available either directly in the browser as a Web page, or can be packaged and distributed as Widgets. This additional interactivity makes Web pages behave like a traditional software application. The former has been called DHTML (Dynamic HTML), and the latter AJAX (Asynchronous JavaScript and XML).īeyond this, scripts increasingly allow developers to create a bridge between the browser and the platform it is running on, making it possible, for example, to create Web pages that incorporate information from the user’s environment, such as current location, address book details, etc. For example, without reloading a new version of a page it may allow modifications to the content of that page, or allow content to be added to or sent from that page. ![]() Scripting can make Web pages more dynamic. In the context of a Web browser, scripting usually refers to program code written in JavaScript that is executed by the browser when a page is downloaded, or in response to an event triggered by the user. The syntax of JavaScript is actually derived from C, while the semantics and design are influenced by Self and Scheme programming languages.Ī script is program code that doesn’t need pre-processing (e.g. Adobe Flash uses a JavaScript engine called ActionScript for development of Flash programsĭespite some naming, syntactic, and standard library similarities, JavaScript and Java are otherwise unrelated and have very different semantics. V8 is a JavaScript engine created for use in Google Chrome and may also be used as a standalone interpreter. The first JavaScript engine was created by Netscape for embedding in their web browser. JavaScript engines may be designed for use as standalone interpreters, embedding in applications, or both. JavaScript engines interpret and execute JavaScript. JavaScript is an interpreted computer programming language formalized in the ECMAScript language standard. Learning objective: Explain the role of JavaScript in developing a Web page ![]() ![]() Introduction to JavaScript Introduction to JavaScript ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |