Answer the question
In order to leave comments, you need to log in
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
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
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.
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
I myself started with video courses and I think this is the best training option. Information is remembered faster.
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.
If you are a complete beginner, then this is the best place to start.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question