Archive for the ‘Tips’ Category


Date and time functions in JavaScript

Today we take a closer look at ready-made tools to assist us in working with date and time. So libraries with functions to operate on date and time in JavaScript; formating, parsing, comparing, etc. We already talked about basics of date and time functinos in JavaScript here. Now we turn to the more advanced tools. […]


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

JavaScript file

PHP functions in JavaScript – the php.js library

In this short article we want to present a very interesting library – php.js. PHP functions in JavaScript thanks to the php.js library The library allows the programmer to use the functions known from PHP in JavaScript, by implementing their capabilities and syntax. Of course it’s about equivalents of PHP functions, implemented in JavaScript. The […]


jQuery course – AJAX, examples, and a summary

Here we have the 3rd part of jQuery course. Further exploring of jQuery possibilities Today we briefly describe programming Ajax elements, using jQuery. We show also some interesting examples and tips jQuery, and finally mention about jQuery UI. The jQuery gives us a high level of abstraction, with a rich support for Ajax. So the […]


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


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


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