A
A
Anton Seredny2016-07-04 21:55:21
PHP
Anton Seredny, 2016-07-04 21:55:21

Where can I see an example of "kosher" php classes for a beginner?

Для развития хочу подучить ООП. Но все время кажется, что делаю все не так, как было бы правильно с точки зрения построения логики классов и их использования.
Прошу дать парочку добротных классов любой направленности, но что бы был не слишком заумный и можно было въехать в логику работы его методов и свойств даже новичку.
Надеюсь, это будет интересно не мне одному. Мерси

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
D', 2016-07-04
@Denormalization

And why are you interested?
There are no "kosher" classes. To see how adequate people write code, you can use github.
For example:
- Open github
- Search for "symfony"
- Open https://github.com/symfony/symfony
- See an example of "kosher" classes

V
Vitaly, 2016-07-04
@vshvydky

kosher classes? read the theory, check it in practice, it will be more useful than asking such questions

I
Igor Vorotnev, 2016-07-04
@HeadOnFire

Laravel , Symfony

R
Rou1997, 2016-07-04
@Rou1997

If it seems, you need to be baptized! And think with your head, if your classes are not suitable for the task, then you yourself will quickly understand it, with their help it will not be possible to implement something, or it is too long, and if they are suitable, then they are quite "kosher", everything comes with experience.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question