Introduction to PHP Object Oriented Programming (OOP) - Advanced Web Programming SESSION #1

Pubblicato il: 01 gennaio 1970
sul canale di: Learn it with Muhindo (mubahood)
454
6

PHP What is OOP?
OOP stands for Object-Oriented Programming.

Procedural programming is about writing procedures or functions that perform operations on the data, while object-oriented programming is about creating objects that contain both data and functions.

Object-oriented programming has several advantages over procedural programming:

OOP is faster and easier to execute
OOP provides a clear structure for the programs
OOP helps to keep the PHP code DRY "Don't Repeat Yourself", and makes the code easier to maintain, modify and debug
OOP makes it possible to create full reusable applications with less code and shorter development time
Tip: The "Don't Repeat Yourself" (DRY) principle is about reducing the repetition of code. You should extract out the codes that are common for the application, and place them at a single place and reuse them instead of repeating it.


In questa pagina del sito puoi guardare il video online Introduction to PHP Object Oriented Programming (OOP) - Advanced Web Programming SESSION #1 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Learn it with Muhindo (mubahood) 01 gennaio 1970, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 454 volte e gli è piaciuto 6 spettatori. Buona visione!