Home / Articles / Programming languages / Scripting languages

Scripting languages

NVD3.js - interactive and reusable charts for D3.js

NVD3.js - interactive and reusable charts for D3.js
D3.js is a JavaScript library designed to manipulate documents with different data. D3 in some sense brings data to life with the help of HTML, SVG and CSS.

SQL injection - how to prevent security issue in PHP

SQL injection - how to prevent security issue in PHP
No matter your practical experience and understanding of programming and web development, there is one thing no developer can deny; security is one of the major issues that constantly bug the mind throughout the development phase.

Expressions in PHP

Expressions in PHP
Expression - is the cornerstone of PHP. Almost everything you write in PHP is an expression. Expressions are the "bricks" that make up any PHP-programs.

Variables in PHP

Variables in PHP
As in any other programming language, PHP has such things as variables.

Constants in PHP

Constants in PHP
A constant is a named value that doesn't change while the program (script) in running.

Initialization of objects in PHP

Initialization of objects in PHP
Sometimes you need to initialize an object - that is, to assign initial values to its properties.

Classes and objects in PHP: destructors

Classes and objects in PHP: destructors
PHP does not directly support destructors. However, you can easily simulate a destructor by calling the PHP function unset.

Classes and objects in PHP: constructors

Classes and objects in PHP: constructors
Quite often, when creating an object it is required to set values to some properties. Fortunately, the developers of OOP took this into account and implemented it in the concept of constructor.

How to access classes and objects in PHP

How to access classes and objects in PHP
Now let's learn how to access to the class members. In PHP there's a special operator for these purposes.

Classes and objects in PHP

Classes and objects in PHP
Class - is a basic concept in object-oriented programming (OOP).

What is stdClass and how to work with it in PHP

What is stdClass and how to work with it in PHP
stdClass is a default object which doesn't have predefined properties like a usual custom class.

What is PHP?

What is PHP?
If you're just starting to get acquainted with PHP, you need to know the definition. So, what is PHP?

jQuery for beginners: JavaScript menu

jQuery for beginners: JavaScript menu
In the present article I will try to focus on the implementation of JavaScript menus for your site.

jQuery for beginners: plugins

jQuery for beginners: plugins
As a start let us recall, why do we need plugins in the first place? The answer is - to create reusable code, of course - with a friendly interface.