O
O
Oleg2015-10-29 07:55:43
PHP
Oleg, 2015-10-29 07:55:43

How to effectively learn php?

I deal with PhP on the site codeacademy.com, the entire interactive lecture is built from tasks that you seem to be solving yourself, but when I started learning PhP from the SP lessons, I realized that I don’t know anything, despite the fact that I went very far in codeacademy . You have to learn everything again, something is easier, something is more difficult. The most important thing is that, as I understand it, there are not enough tasks to consolidate, who can advise good tasks, from the simplest to the most difficult?

Answer the question

In order to leave comments, you need to log in

9 answer(s)
K
Konstantin Muzhikov, 2015-10-29
@Screpka

To be honest, for me, the best thing is the practice of solving real problems (projects). I myself once studied PHP from books and problem books, but after solving them, after a week I forgot what and how. And when he came up with a project for himself and started doing it, then PHP skills immediately went uphill, and most importantly, listing is remembered better on a real project.
For starters, the simplest thing is to take the MVC pattern and figure out how it works and write the simplest business card website on it. Well, then I think you yourself will understand where to move forward.

A
AntohaRomaha, 2015-10-29
@AntohaRomaha

Absolutely agree with GriSII.
All you need (if you do not plan to work with object classes) is to learn how to draw a conclusion from the mysql database, make a record, delete and edit records - using PHP. That's all :) Then everything will come with practice! Textbooks did not help either - real tasks and a friend who prompted me at first helped.

N
NataliaCh, 2015-11-05
@NataliaCh

Those who say that you need to learn from real projects are right.
Do a few typical tasks yourself on your test site:
1. Registration/authorization of users (study sessions and cookies);
2. Forum or exchange of personal messages (database entry, selection, editing, deletion);
3. Data processing of some form with various types of fields (text, area, select, checkbox, etc.), checking for correctness of the entered data - in particular, get acquainted with the concept of SQL injection ...
4. Complicate the form by uploading files - learn how to work with the file system.
5. Complicate the form by adding identical blocks of fields - getting to know arrays...
Something like this...
These are all bicycles, which are probably easily made with a bunch of frameworks. But you need to make them yourself. To get a feel for how it works. And get some experience.

A
Alexander, 2015-10-29
@Captain

Most effective - real tasks + help of a php programmer. Basically an internship.

A
alexey_abramov, 2015-10-29
@alexey_abramov

I recommend an old tutorial (in fact, this is not a tutorial, but an analysis of most of the standard functions with examples) by Kuznetsov and Simdyanova. www.softtime.ru/php5/?id_article=117 - a book that will teach you how to code on the puff. It is to code, but the logic of all projects is up to you to write.
Then read the article about a secure authorization method habrahabr.ru/post/13726
Then try to make a website. Come up with a simple idea to implement, try to implement it.
Actually, having such knowledge, I implemented a large number of sites, ranging from simple to complex ala services for creating blogs, forums, and so on, affiliate program scripts, and so on.
The main thing in puff is practice, I recommend learning any language in parallel while implementing your ideas.
But do not shelve object programming in puff - the sooner you move to the most efficient MVC model, the less time it will take to relearn. I've been relearning for too long.

D
Dimonchik, 2015-10-29
@dimonchik2013

stackoverflow.com/questions/tagged/php?sort=newest

N
Nikolai, 2015-11-05
@kolian89

Посмотрите в сторону курсов Специалиста ( все вроде 4 курса), очень хорошо подойдет для изучения.
ШП в свое время смотрел, но там все спешно и мало разъяснений.
Сам я начинал с JS , что облегчило изучение php в дальнейшем.
PS. Хорошо бы вам стажировка пошла.

Амаль Алтыбаев, 2015-11-06
@maroon775

getjump.me/ru-php-the-right-way

Роман, 2015-11-10
@Exotic33

Изучите базис, затем поставьте мощный редактор кода, повторяйте за теми, кто ведёт ваши курсы, и напишите бложек. И по мере того как вы будете изучать что-то новое, перепиливайте свой бложек заново. Например, узнали фреймворк, паттерн, систему контроля версий, систему сборки, тестирование...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question