Archive for the ‘Theory’ Category


Mouse and keyboard in JavaScript

Welcome to the article, in which we will try to comprehensively but succinctly talk about working with the mouse and keyboard in JavaScript. We will also see how popular frameworks can help us. Handling mouse and keyboard in JavaScript Considerations we should start with events, because processing data from basic input devices will be based […]


HTML5 short course. Part 2 – summary.

In the second, summary part of the basic course HTML5, we look closely at the next great elements of the language. HTML5 short course: the Modernizr library At the beginning we add yourself to facilitate work in the form of the Modernizr library. This is a JavaScript library that detects the availability of HTML5 and […]


HTML5 short course – part 1

Welcome to HTML5 short course – in a nutshell. We tried to prepare a quick course about HTML5 (and the use of JavaScript in its context), containing key information in one place. The case was somewhat complicated by the fact that the subject is quite extensive. But we can handle! HTML5 short course HTML5 is […]


jQuery course – basics

And now it’s time for jQuery! jQuery course – basics of framework Welcome to the 1st part of basic jQuery course. We talked already about various JavaScript frameworks (such as Prototype JS or MooTools). Now we want to describe the key topics of a giant – jQuery. Speaking giant, we mean the possibilities offered by […]


Prototype JS in a nutshell. Part 3 – summary.

It’s time for the last, 3rd part of basic Prototype JS course, where we focus on the use of forms, associative arrays, strings and others, but this time on the rules of Prototype JS. Further delving into the Prototype JS framework Let’s start with the forms. Form Prototype JS encapsulates and / or extends to […]


Prototype JS in a nutshell. Part 2.

Welcome to the second part of the Prototype JS course. Today we will focus on the elements of the document and performing operations on them. Prototype JS – further steps In this part of the course we will work with the DOM, but using Prototype JS approach. So let’s move ahead to discuss further elements […]


Prototype JS Framework in a nutshell. Part 1.

Here is the first part of the short courses, describing JavaScript frameworks. The first of these will be Prototype JS. Prototype JS Framework – from scratch A little bit of preliminary information appears in the article JavaScript Frameworks – foreword. The purpose of this article is not to replace the documentation, but the description of […]


JSON format and JavaScript

Welcome to the new article. We touch various topics, and now we feel obliged to write about JSON (JavaScript Object Notation). It is a lightweight computer data interchange format. JSON is a text format, and you can treat it as a subset of JavaScript. JSON format in JavaScript The MIME type for JSON format is […]


Testing code and handling errors in JavaScript

Debug it! In this article we will take a look on testing the code and error handling in JavaScript. Handling errors in JavaScript At the beginning would have to say a few words about the need for testing. We need to test everything! Preferably at each stage of creating the code. And we must take […]


JavaScript Frameworks – foreword

So far, we have described most of the key aspects and features of JavaScript including object-oriented programming, DOM, AJAX. There were various practical examples. It’s time for another extremely important step: JavaScript Frameworks. And here comes the real fun (and a considerable saving of time). JavaScript Frameworks We briefly present the solutions well known by […]