Posts Tagged ‘OOP’

MooTools library in a nutshell. Part 2 — summary.

Here is the second, summarizing part of the course, the theme of which is the JavaScript MooTools library. The MooTools library Let’s start with the benefits of object-oriented programming (OOP) support, offered by MooTools. “Class” and creating classes Constructor: where: properties (object) — is a collection of class properties. These properties can also be incorporated […]

MooTools in a nutshell. Part 1.

MooTools is another library, worthy of attention. It can also expand our view on the JavaScript language itself. “My Object-Oriented Tools” — MooTools It is modular (in construction) JavaScript library. The foundation is called Core. Other libraries are optional. MooTools consists of a plurality of modules. Such design allows users to retrieve only the parts […]

Script.aculo.us library in a nutshell. Part 2 — summary.

The 2nd part of the script.aculo.us library course. Today about its strongest point — visual effects. Getting to know more possibilities of script.aculo.us Visual effects Effects have their own options, but everywhere we can use Core Effect properties. The general form: Let’s see how it looks in practice. Example — use effects: Example #2 — […]

Course: script.aculo.us library in a nutshell — part 1

The script.aculo.us library Delving into the JavaScript frameworks, we would like to present the essence of script.aculo.us library. As we mentioned in JS Frameworks introduction, Prototype JS and script.aculo.us libraries are often seen together. The library, which now referred to, is like an extension of Prototype JS of visual effects, animation, Drag and Drop, creating […]

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

Best solutions in JavaScript — part 2

Update 09-2014 : note — this article has been originally created several years ago, so maybe a little different from today’s standards of good and recommended solutions. Welcome to the next part about practical examples and solutions in JavaScript. We’ll focus mainly on issues of validation (validator elements implementation). It’s just continuation of the previous […]