F
F
frie6662019-08-23 15:29:00
PHP
frie666, 2019-08-23 15:29:00

Where to look\read normal lessons on OOP in PHP?

Once again I want to deal with object-oriented code.
But in the examples on the Internet, there is some kind of game, like they stuffed the models and colors of 3 cars into classes and now we get access to them, well, or similar examples with user names and logins.
I would like examples from life when you form a page, make selections from the database, display it on the screen, etc., and at the same time use OOP.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
N
Northern Lights, 2019-08-23
@frie666

It is necessary not to watch the lessons of all sorts of idiots, but to read books by people whose opinion is recognized by the community and who have written books.
Grady Booch - for mastering the essence of OOP
Martin Fowler - about architecture, about CRUD, about domain objects. This book alone is enough to pump yourself in such a way that no video course in life will do.
Otherwise, your knowledge will correspond to the level of these lessons, which are created only with the aim of making money from suckers.

L
Lander, 2019-08-23
@usdglander

The main problem is not to learn the basic concepts of OOP, but to learn object-oriented thinking. Learn to see not a set of functions that do something, but to consider the application as an interaction of objects. IMHO this can only come with experience. I've seen projects written using classes, but in the same procedural style, and it didn't make OOP programming at all.

H
HellWalk, 2019-08-23
@HellWalk

This course helped me level up:
https://www.youtube.com/watch?v=w4iqxN0nfTs

G
Grigory Vasilkov, 2019-08-23
@gzhegow

If you start to listen to the "depth of the oop" then after 8 years of stupid and useless dolbalov and trying to persuade at least someone to help you understand the essence and meaning, listening to stupid excuses that "you understood everything wrong", "it's just a tool", "you need to find the essence", "it is not always necessary", you will eventually come to the conclusion that OOP is just a decoration of ordinary functions when the project does not fit on a plastic board with markers.
Classes are groups of functions, and their properties are storages for variables that are not passed from function to function, so as not to constantly slip them as a parameter. In the same properties other classes lie without which your functions suck or do not work at all. They are also called dependencies.
Further "understanding of the depth" does not carry anything other than the fact that there is authority, and there is you. and you will never become an authority because he is a guru and on a mountain. And you are here. And it does not happen that you and the authority. But there is a mentality. I'm sorry who I offended

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question