Posts Tagged ‘best practices’

jQuery tips and tricks

In today’s article we’ll do a small review of interesting jQuery tips. The framework itself gives the programmer a gigantic possibilities, that still can be extended through tricks and best practices. jQuery tips This time we focus more on practice and examples, rather than theory. Tip 1. Determine the size of our document In details, […]

Valorant hack

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

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

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

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