\
\
\0x20 \x642017-09-11 19:54:14
PHP
\0x20 \x64, 2017-09-11 19:54:14

How to start learning php7 as a beginner?

Started learning PHP by writing a simple blog.
The choice fell on php7, I use a minimum of ready-made libraries (except for the Twig template engine and the FastRoute router)
, I think in which direction to develop further, what resources to study.
From modern good resources, I see phptherightway.com and Matt Zendstra's book amzn.eu/cKfWYkP
I want to develop in the direction of Backend, write in accordance with PSR, using OOP.
Maybe recommend some good resources/books,
thanks in advance!

Answer the question

In order to leave comments, you need to log in

7 answer(s)
C
cheevauva, 2017-09-11
@cheevauva

The best option is to hire a mentor who will help you with the issues that arise.
Not recommended, difficult book, won't teach you OOP. The best option for learning OOP is to start writing everything on objects, without static functions and using interfaces. I guarantee the result.
NEVER LEARN PHP FROM BOOKS

K
Kirill Nesmeyanov, 2017-09-11
@SerafimArts

The post above from verdex is some kind of trolling. Both books are complete slag, which can be useful only for complete beginners who have just sat down at the computer (well, or just got out of the dense 2000s).
Answering your question, and judging by the listed stack and tasks, it makes little sense to study further the puff itself, yet understanding how the composer works, why weak coupling is needed, why PSR is true-way, and so on. It's not Newby anymore. The list is basically correct. So even without knowing how coroutines work in a puff, or not suspecting the existence of its vm bytecode, it’s quite possible to live, the rest will come with experience. So given all this, I think it's worth looking in the direction of the books:
1) McConnell
2) Eric Evans
3) Well, mb Gang of Four or something similar, fundamental, like Martin Fowler
PS Zendstra is a rather dull, though quite adequate book, albeit a bit old.

M
Maksim Fedorov, 2017-09-12
@Maksclub

I’ll add the option from cheevauva
Since it’s unlikely that you will have a mentor, definitely don’t choose the third option - I also went through it :)
You will figure it out further

T
Twelfth Doctor, 2017-09-11
@verdex

Koterov and Kostarev PHP 7 in the original

V
Vitaly Musin, 2017-09-21
@vmpartner

I myself started with video courses and I think this is the best training option. Information is remembered faster.

J
Johnny Smith, 2017-09-22
@Olek1

Never listen to anyone.
Any programming language should be learned as soon as there is knowledge of C.
PHP was created by those who know C, like any other significant language, and it is important to understand what logic was used to create this or that language (not necessarily PHP, by the way, this applies to almost all languages).
The book of the creator of the language is very short, it is like a pamphlet, it is called:
PHP was originally created by C programmers.
Don't jump into other languages ​​too without learning C, you'll be wasting your time (markup and style languages ​​don't count).
It is C. K&R C, ANSI C, C88, C99, or C11, no matter what, it does not matter, the main thing is that C.
And not C++, nor C#, nor F#, etc., because in this way, having enlisted his knowledge, you will write code in PHP that looks like real code, and not like some kind of www.GOVNOKOD.ru/php
Take a look first to C and PHP syntax and you will see how similar they are.
From English, algorithms, and from the C language.

A
Alexander Toropov, 2017-09-25
@nefone

If you are a complete beginner, then this is the best place to start.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question