M
M
MrNine2015-12-19 00:55:20
PHP
MrNine, 2015-12-19 00:55:20

Where can you practice php?

I know the question is typical, but where can I get practical tasks for php? I read that you can try to write a simple CMS, but where can you read how to write it, etc.?

Answer the question

In order to leave comments, you need to log in

9 answer(s)
A
Andrey Pavlenko, 2015-12-19
@Akdmeh

No, writing a CMS is not worth it.
Write a blog in Yii2.
Then write a simple store (displaying products by category) in Yii2 while reading the documentation.
As an option, you can choose Symphony or any other popular framework (Lavarel, CI, Zend (if you are crazy), thousands of them).
But just feel the spirit of frameworks. Then the brains will work in the right direction, and you will get colossal practice. And, most importantly, learn how to just make normal sites, but not to create bicycles.
You can easily find how to create a blog on Yii2, gradually complicate its functionality and understand the principles of work. At the same time, you will immediately see what you do not know exactly in PHP syntax.

I
ivkol, 2015-12-19
@ivkol

php tasks

K
Kirill Mokevnin, 2015-12-20
@toxicmt

I will offer a rather unexpected way. We have implemented a game for programmers on the hexlet, which allows you to pump basic skills in many languages. The cool thing is that this game has a good fan base, because the code is written in competition with another, real, player https://ru.hexlet.io/games

E
Evgeny Svirsky, 2015-12-24
@e_svirsky

The best practice in php IMHO is to write your own framework from scratch, understanding all the nuances and copy-pasting from the Internet as little as possible.
Recently I wrote a task for my student. You can try it step by step to create your own framework.
The task itself is here:
https://bitbucket.org/e_svirsky/webshop/src/1e8de2...
You can also see the implementation here:
https://bitbucket.org/e_svirsky/webshop/src/1e8de2...
As you check some moments changed, I no longer entered them into the task file. Either way, it's a good start and great practice. If you have any questions - ask.

S
Sergey, 2015-12-24
@sergey_privacy

Maybe I'm wrong and you are interested in programming as a hobby. But the bulk of programmers earn money from this. Therefore, go to the freelance exchange, read the first task that comes across and try to do it. Then the second, the third. DO NOT WRITE ENGINES! Take ModX and implement some tasks on it. Then take WordPress and a couple of popular ones and do 3-4 tasks on each.

R
Roman Yanchuk, 2015-12-19
@AmorMD

Set yourself a task.
For example: a forum, a guest book, a blog, an online store (without much functionality).
Having a goal, start implementing it step by step. When difficulties arise, use search engines, find a solution to the problem and continue ... The most important thing is to understand the principle of operation.
Another good option is parsing and editing the finished script.

6
65536, 2015-12-19
@65536

Yes, yes, writing tsms is exactly where to start. So that all previous creators crap and understand how they were fundamentally wrong. The one advising this himself seems to have created more than a dozen tsmsov.

S
ssrdop, 2015-12-19
@ssrdop

I'll tell you exactly what to do. The first is to make your cms. The best option is to try to make an online store, first without javascript, and then add a little ajax to perform all the basic functions, but without reloading.
Before that, learn what the mvc architecture is. Use pdo to connect to the database. Let your code initially be far from perfect, but it gives a lot of understanding. Real understanding, not abstract. After that, you can already study the work of a simple engine using the example of the same laravel.
Here is a good resource for a rough outline of your cms lifeexample.ru/php-primeryi-skriptov/pishem-intern... It is important that you understand each step and try to improve it later. For each question you are interested in, search the Internet for solutions and compare why they did one way or another. In general, success to you. The main thing is not to give up.

I
Igor Kurganov, 2015-12-24
@K_ID

www.adcisolutions.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question