What is PHP used ?, Is PHP used?
To master PHP is to use computers to develop rules. Framework tp3.2/5.2
In Structured Programming, programs are designed around the tasks to be solved.
In object-oriented programming, the program is designed around the objects in the problem domain.
How to recognize objects:
● Analogy ----> Classification
Class is the abstract object of a thing. It is an instance of a class (instantiation-> new)
A class is a set of objects with the same attributes and behaviors.
In software systems, we use classes to simulate entities in real life (the simulation has a line)
Classes do not exist in the true sense, but are defined in the concept of long-lasting people.
Strong language: mandatory (mandatory data type)
Weak language: weakening (not required to be defined)
Custom class:
Class Person [identifier ]{
// Attributes
Public $ name;
Public $ birth;
// Action
Function useTools (){
}
}