Archive for the ‘Theory’ Category

Backbone.js tutorial for beginners – part 1/2

Backbone.js is popular JavaScript library, used heavy to create single-page web applications. The library was constructed using RESTful JSON interface and model–view–presenter (MVP) pattern. The creator of Backbone.js is Jeremy Ashkenas – author of underscore.js and CoffeeScript. Backbone.js tutorial for beginners Backbone.js needs only one dependency to work: Underscore.js (>= 1.5.0). Example – working with […]

Creating jQuery plugins – an introduction

The jQuery is a very popular framework. By using it, we very often also use plug-ins, which is really a lot. And we could say, that they are one of the strongest features of this library. Tutorial: creating jQuery plugins Plugin is an elegant and practical solution to implement the code based on jQuery, that […]

jQuery mobile

jQuery Mobile tutorial – an introduction

Today, I think there is no doubt about the important role of mobile devices. They are becoming more widely used. Graphical user interfaces are key. For developers of different technologies, the main task is to ensure that applications will work properly on the limited hardware and small touch screens. Web applications have a big importance […]

Algorithms and data structures in JavaScript

In today’s article will be a very important topic, namely: algorithms and data structures in JavaScript. It is an important topic for programming in general. We should not have prejudices – Javascript is suitable for this purpose very well. Perhaps some things will be in ths language a bit harder, but that others will be […]

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 […]