Home / Articles / Programming languages

Programming languages

How to create a simple CSS gallery without using JavaScript

How to create a simple CSS gallery without using JavaScript
This article demonstrates how to create a simple gallery using only CSS.

HTML5: how to define abbreviation and acronym

HTML5: how to define abbreviation and acronym
In this article you will find out about the distinction between an acronym and an abbreviation.

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?

HTML5: making the text link for search

HTML5: making the text link for search
If you need to mark the link so that it would be displayed as a search result then use the new tag HTML5 - <mark>.

HTML5: changing the structure of the document

HTML5: changing the structure of the document
Why change the structure of the document? In order for the document to have a correct code and only necessary elements.

Quick navigation

General navigation