50% developed

JavaScript

From Wikibooks, open books for an open world
(Redirected from Javascript)
Jump to navigation Jump to search


JavaScript
JavaScript: Programming the Web

The Wikibook on hand is intended as a guide for WEB developers who want to learn the basics of the programming language JavaScript. It offers short descriptions of concepts, syntax, context, and JavaScript-related technologies, as well as code examples and exercises. Additional links lead the reader to in-depth information regarding the more complex features and such issues that have a loose relation to JavaScript. Especially the Wikiversity course JavaScript Programming offers a rich set of additional details and links to YouTube learning videos.

It is assumed that the reader has good knowledge and some experience using computers, Web browsers, text editors, and software development environments. As you will not learn about HTML, CSS, or website design in this book, consult an appropriate book to learn about these subjects. It is also helpful if he has preknowledge of another programming language like Python, PHP, or C because the wikibook doesn't explain all the small first steps which are common to such languages. Instead, it focuses on the distinctions.

In most cases, the examples use the current syntax (as of 2022). Sometimes there are hints about the syntax of old standards like HTML4.


JavaScript - JS for short - is a programming language that is dynamically typed, prototype based (even for its object-oriented features), supports functional programming, and is - in most cases - just-in-time compiled. Its syntax is similar to that of C or Java, but its concepts and runtime behavior are distinctly different. The programming language JavaScript conforms to the international standard ECMAScript (Website of ECMA-262; in PDF format; in HTML format; Latest specification (TC39)).

Besides HTML and CSS, JavaScript is a cornerstone for WEB development. It handles all dynamic (behavioral) aspects like event-handling, DOM manipulation, and client-server communication. At the client-side all modern browsers support JavaScript, and at the server-side many Webservers applications, libraries, and frameworks are written in JavaScript.

Welcome[edit | edit source]

Core Language Aspects[edit | edit source]

Extended Language Aspects[edit | edit source]


JavaScript at Client Side[edit | edit source]

Dynamic Websites (DHTML)[edit | edit source]

Document Object Model (DOM)[edit | edit source]

Events[edit | edit source]

Miscellaneous[edit | edit source]

JavaScript for Client-Server Communication[edit | edit source]

Native (AJAX)[edit | edit source]

Fetch API, Axios, and jQuery (ToDo)[edit | edit source]

JavaScript at Server-Side (ToDo)[edit | edit source]

Criticism (ToDo)[edit | edit source]

Appendices[edit | edit source]

Related Wikibooks[edit | edit source]

Resources at Wikipedia and Wikiversity[edit | edit source]

External links[edit | edit source]