Y
Y
yuriyt2017-06-25 14:10:06
PHP
yuriyt, 2017-06-25 14:10:06

What is the best way to learn PHP?

Good afternoon! I want to become a web developer and am self-taught.
At the moment, I have studied the literature on HTML / CSS and consolidate my knowledge with layout. Next, I want to study the theory of JavaScript / JQuery, the next step is the theory of PHP with MySQL. Then I want to reinforce theory with practice. Tell me, is it worth writing a training project in pure PHP and then learning the framework (I chose Laravel for myself) or writing a training project directly on the framework? Advise the topic of the training project in both cases, thanks in advance.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Denis Karakchiev, 2017-06-25
@uokersam

First on a clean one, then a framework.
A bare project - will give an understanding of the principle of work, a project on a framework - will give an understanding of the work of the framework. Without the first step, the understanding will not be as deep.
And then the frontend will seem too dull, because PHP 7 is good enough, after which you will switch to the backend =)

R
Raphael™, 2017-06-25
@maxminimus

jQuery is a framework library, MySQL is morally obsolete
- an additional language for working with a database server
at the beginning is better without all this,
learn to create and save data yourself, without someone else's code, only hardcore - then you will be a real programmer ™
I will immediately understand that js-client thick, and the php client is thin,
so the main focus is on js

O
OnYourLips, 2017-06-25
@OnYourLips

getjump.me/en-php-the-right-way
Save this link and open it in a few months.

S
shaqster, 2017-06-25
@shaqster

Don't learn PHP. It's best to study any serious statically typed language like Java and C# first. Learn the basic principles of writing code, building architecture, patterns. Then immediately take Laravel or Symfony and hit the road. And in no case should you write your own framework or your own CMS.
Let me explain. Starting with PHP, you run the risk of getting used to using all sorts of nasty hacks, thus producing what is called "shitcode" in the common people. Having learned a more strict language, you will not be tempted to use all sorts of nasty things, because you will know that this is bad. Familiarity with OOP in a language with static typing will SIGNIFICANTLY facilitate entry into a serious framework.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question