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 […]
Posts Tagged ‘debug’
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 1
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. Today we recommend the first part of best practices and solutions in JavaScript. It is purely practical. We present tips and simple tricks. Best solutions in JavaScript An […]
Object-oriented programming in JavaScript. OOP part 1.
Welcome to the first part of the articles about object-oriented programming (OOP) in JavaScript. It is actually necessary to explore of the language secrets. Object-oriented programming in JavaScript JavaScript is an object-oriented language, although there is a lack of certain elements typical for object-oriented languages, at least in the current implementations of JavaScript. But let’s […]
Interesting issues and good practices in JavaScript
Welcome to the first, but certainly not the last topic of this type, which touches interesting features of JavaScript, tricks and less common structures, like the with instruction. Interesting issues and good practices in JavaScript For a good start: Tip #1 — the ‘with’ instruction The with instruction, being a part of JavaScript language, allow […]