1. Class Before you begin to code you should make a plan, objected oriented programming is all about making a plan. A class is a plan. Now each of you try to think about making a plan following me. For instance my plan is about a cookie factory. I want to make a cookie factory in order to produce cookies for selling. Without thinking no more, I will create a class called Cookie: <?php class Cookie { } ?> 2. Property My cookies will have some features like color, weight, quantity, price. These features or properties are stored in variables. By the way, what is a variable? 2.1 Variables, Strings, Numbers The variable is a place in computer’s memory where a value like string or number is stored. <?php $color = ’black’; $color = ”red”; $quantity = 3; ?> Note that a variable in php always starts with $ sign. Also note that a statement ends with a semicolon. Strings (or letters) are always enclosed in single or double quotes. So my class till ...