featured image for php oop lesson 2 - basics

OOP PHP Lesson 2 – Simple Class Interface

Second lesson of object oriented programming in PHP language will introduce access specifier private. Lets modify Customer class (Customer.php): class Customer { private $name=""; //set as...

MySQL Database basics – part 2

In this article I will explain useful approach helping to split data between tables. Obviously, all data should be correctly inserted in tables's fields....
a metal screw - illustration for php oop lesson 3 basics

OOP PHP Lesson 3 – Constructor and Destructor

Usually - in most languages - constructor is a function which has the same name as class name. It was so in PHP v....

PHP vs Node.js madness

I have used both PHP and Node.js, and found that almost all web developers using Node.js say that Node.js / server side JavaScript stuff...
featured image for php oop basics - a red flower photo

OOP PHP Lesson 4 – __autoload() function

Reasonable approach to class definition storage is to keep every class definition in a separate file. However, if we have many classes, the need...

Database Primary Key Importance

Primary Key main task is to provide uniqueness of every record in a table. You can write different kinds of data into fields of...
featured image for php oop lesson 5 - basics

OOP PHP Lesson 5 – Inheritance and scope resolution operator

Inheritance means that you can derive classes from a parent class, and all methods and properties of parent class will be accessible in the...

OOP PHP Lesson 1 – First Class

In first lesson of Object Oriented Programming I use very simple example of a class. This example is not political correct approach to object...

MySQL Database basics – part 1

Database design is very important part of web development. Properly designed database simplifies business logic, increases both query speed and security of online system....

Recent Posts