G
G
Grag2014-07-05 01:41:43
PHP
Grag, 2014-07-05 01:41:43

Where can I get information about development methods for php and php frameworks?

Hello. The problem is very subtle: I can’t always fully understand some code, for example, some parent classes, the implementation of some magic properties, etc. It’s just not clear why they are needed.
Advise a list of books, articles and very desirable examples for them in order to understand and grow in this regard.
Can you tell me the reason. Thank you very much in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-07-05
Protko @Fesor

There can be many reasons, from the low level of you as a developer to the low level of the architecture of the application you are working with. It seems to me that the latter is more. At least the "magic properties", the code of the parent classes ... these are already good signals. Of course, it's hard to judge out of context without examples.
Well, if you want best practice - learn Symfony or Zend. At the moment, these are the most advanced best-practice frameworks. Below the level (that is, more emphasis on RAD and ease of development) are Laravel and others. Read about TDD/BDD/DDD, refactoring, programming patterns (not necessarily with reference to PHP, you can use Java, the essence will be the same), SOLID principles... In general, perhaps in reverse order...
symfony.com/doc/current /quick_tour/the_big_picture.html
https://knpuniversity.com/- very good courses on PHP, Symfony and more.
live.symfony.com/replay
Also...
refactoring.guru is a useful refactoring project. From it, in addition to how to refactor, you can also understand why this or that code needs to be refactored.
habrahabr.ru/post/208442 - read with comments.

A
Alex Kheben, 2014-07-05
@zBit

It will be useful: getjump.github.io/en-php-the-right-way

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question