T
T
The2015-09-26 13:53:21
PHP
The, 2015-09-26 13:53:21

What does a good PHP developer need to know?

What should a good PHP developer know?
I started my way as a programmer with php (before that I read only K&R 2 first chapters). It is clear that in addition to the syntax of the language and mysql, I also need to study algorithms, but could you give a list (and divide it into what I need right now as a beginner, then as a junior / middle)? While I’m learning php from blogs and manuals, after the syntax (and googling like “what are dictionaries”) I’ll switch to Wirth / Kormen (algorithms), then I’ll start studying databases and I’ll understand what CGI is, how servers work. In general, how to put things in order in what I need to study?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
Sergey, 2015-09-26
Protko @Fesor

but could you give me a list

if you can write an insertion sort, that's enough. Closer to the middle, it would be nice to know how the main data structures work (hash maps, lists, trees, etc.) and what is the complexity of inserting / searching in these structures (to understand why each is needed).
In general, you don’t need knowledge of algorithms at the initial stage, you just need to understand how to build algorithms. I haven't read Kormen yet... The bottom line is that PHP rarely writes something where the speed of insertion or search is important, usually everything complicated is done at the database level. Therefore, a PHP developer can only form a request to the database and get a response. More work on the architecture of the application itself.
Don't touch the CGI, it's a very old thing. Just get familiar with SAPI (Server API) and an example flow of what happens between the arrival of an HTTP request to the server and a call to PHP with superglobals already populated. Well, yes, deal with HTTP itself first, in order to understand what cookies are and how they are transferred from client to server and back, what sessions are, how to get the request body, etc.
Also, since we are talking about PHP, you will have to learn OOP one way or another. You won't get far on procedural puff.
ps I also recommend reading something about project management, development methodologies. Check out XP (it's better to read it in English), read about technical debt, etc.

D
Daniil Borovkov, 2015-09-29
@daniilborovkov

uh, the answer to your question is in this article.
ps looking for a companion for joint teaching.

G
Gregory, 2015-10-01
@grigruss

What does a good PHP developer need to know?

A really good developer starts by learning C++. After getting basic knowledge in C++, all other languages ​​are the same C++, only from the side, figuratively speaking...

O
Oleg Petrunkin, 2015-10-01
@JohnyRotten

At one time, when I was doing php, I came across this resource . It lists everything you need, and maybe more. Also, is there a translation somewhere?

K
KIN1991, 2015-10-02
@KIN1991

Recently I noticed that no one says that a php developer should also know real databases and SQL. Not just banal queries that a regular orm can do for you, but you really need the ability to know SQL to such an extent that you do not need to do any overhead on any PL. And lately I have been observing that many PHP developers have an opinion that with the help of any ORM, this is fundamentally wrong, ORM for the most part solves only fairly trivial tasks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question