𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Coding with JavaScript For Dummies: Everything you need to know about Javascript

✍ Scribed by Claudia Alves


Year
2020
Tongue
English
Leaves
247
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis




Coding with JavaScript For Dummies



Everything you need to know about Javascript programming

JavaScript is most commonly used as a client side scripting language. This means that JavaScript code is written into an HTML page. When a user requests an HTML page with JavaScript in it, the script is sent to the browser and it's up to the browser to do something with it.

The fact that the script is in the HTML page means that your scripts can be seen and copied by whoever views your page. Nonetheless, to my mind this openness is a great advantage, because the flip side is that you can view, study and use any JavaScript you encounter on the WWW.

JavaScript can be used in other contexts than a Web browser. Netscape created server-side JavaScript as a CGI-language that can do roughly the same as Perl or ASP. There is no reason why JavaScript couldn’t be used to write real, complex programs. However, this site exclusively deals with the use of JavaScript in web browsers.

JavaScript is not a programming language in strict sense. Instead, it is a scripting language because it uses the browser to do the dirty work. If you command an image to be replaced by another one, JavaScript tells the browser to go do it. Because the browser actually does the work, you only need to pull some strings by writing some relatively easy lines of code. That’s what makes JavaScript an easy language to start with.

But don’t be fooled by some beginner’s luck: JavaScript can be pretty difficult, too. First of all, despite its simple appearance it is a full fledged programming language: it is possible to write quite complex programs in JavaScript. This is rarely necessary when dealing with web pages, but it is possible. This means that there are some complex programming structures that you’ll only understand after protracted studies.

Secondly, and more importantly, there are the browser differences. Though modern web browsers all support JavaScript, there is no sacred law that says they should support exactly the same JavaScript. A large part of this site is devoted to exploring and explaining these browser differences and finding ways to cope with them.

So basic JavaScript is easy to learn, but when you start writing advanced scripts browser differences (and occasionally syntactic problems) will creep up.

✦ Table of Contents


Introduction
Javascript is everywhere
Javascript on the web
Javascript in the backend
Javascript as language for device apps
Javascript as a language for desktop applications
Javascript on the web
Websites
Single Page Applications
Libraries, frameworks and development "Vanilla Javascript" for the web
HTML5 APIs
Web Components
Javascript as the first language
Easy to use
Wide application areas
It is an open and standard language for the web
Multiple professions start with Javascript
Frontend developer:
Backend developer
Fullstack developer
How to learn Javascript
Learn Javascript and not a derivative
Knowledge of the web platform
Differences between Java and Javascript
Open language / proprietary language
Before starting
Uses of Javascript
What do you need to work with Javascript
Recommended prior knowledge
Chapter I
Javascript language versions
The evolution of Javascript
ECMASCript Standard
HTML 5 APIs
Language versions
Conclusion to Javascript versions and compatibility
Chapter II
Open a child window
A welcome message
Current date
Back button
Javascript language
Javascript is written to the HTML document
The placement of the scripts does matter
Ways to write Javascript scripts
Direct execution of Javascript code
Running javascript in response to an event
Hide Javascript scripts in old browsers
Hide Javascript code with HTML comments
Show a message for old browsers with


πŸ“œ SIMILAR VOLUMES


Object-oriented JavaScript: learn everyt
✍ Antani, Ved;Stefanov, Stoyan πŸ“‚ Library πŸ“… 2017 πŸ› Packt Publishing 🌐 English

<p><b>Learn everything you need to know about object-oriented JavaScript with this comprehensive guide. Enter the world of cutting-edge development!</b><p><b>About This Book</b><p><li>This book has been updated to cover all the new object-oriented features introduced in ECMAScript 6<li>It makes obje

Coding with JavaScript For Dummies
✍ Minnick, Chris;Holland, Eva Rose πŸ“‚ Library πŸ“… 2015 πŸ› For Dummies 🌐 English

<b>Go from beginner to builder quickly with this hands-on JavaScript guide</b><i>Coding with JavaScript For Dummies</i>provides easy, hands-on instruction for anyone looking to learn this popular client-side language. No experience? No problem! This friendly guide starts from the very beginning and