T
T
tsvikm2014-11-27 21:52:02
PHP
tsvikm, 2014-11-27 21:52:02

How to quickly get into php basics?

Hello. Here's the thing:
I mostly write in Java, I'm in my second year. Based on it, I got acquainted with OOP and programming in general. There was an urgent need to write / pick someone else's code in php for work. You need to get acquainted with the basics of the language, syntax and basic php structures as soon as possible in order to produce at least more or less valid code and tinkering / editing someone else's. You will have to work with different CMS (self-written, UMI, Joomla, etc.) and cut some things for the needs of the customer (write / use and implement ready-made solutions). My whole php experience is working with Wordpress and a bunch of crutches embedded in it, mostly copied (or combined). And so, in general, knowledge of the language is at a very low level (I never liked it, to be honest, I tried to avoid it).
The question is this: what tutorials, literature, guides, video courses, or any other methods of learning this miracle of programming would you recommend? The task is to integrate into the workflow as quickly as possible and start merging what is happening there in general (considering that I don’t need absolutely common truths and the basics of OOP, only if they are not a feature of the language). Over time, of course, I will catch up with a good portion of fundamental knowledge in this area, but so far there is no time for this. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
S
Sergey, 2014-11-27
Protko @Fesor

I think you can immediately start with getjump.github.io/en-php-the-right-way and then refer to the official manual as needed.

M
Melkij, 2014-11-27
@melkij

With programming experience, www.php.su/learnphp + www.php.su/lessons
will be enough Then go through the official manual: php.net/manual/en/index.php
PHP just has a problem that it's too easy to start . It is quite difficult to write invalid code (especially if you turn off the E_STRICT, E_NOTICE, E_DEPRECATED errors), the language will try to chew on almost any nonsense, and even this is not clear what and how, but it will work (until a bird flies into this civilization).
The basis of a more strictly typed language, and one that is strongly typed, will allow you to start writing decent code almost immediately.
Where to move after you get comfortable in the language: www.phptherightway.com

E
Elena, 2014-11-27
@Nidora

There are interesting books in this discussion:
How to learn PHP / mySQL correctly?
Another option "George Schlossnagle - Professional PHP Programming"

X
xmoonlight, 2014-11-27
@xmoonlight

1. variables and syntax
2. function
3. class
Write a program once using these three points.
The rest is applied.
I advise you to write ONCE FOR YOUR OWN UNDERSTANDING! calculator (sum, difference, factorial) using class and counting N! (in one of the methods) for mastering recursion, with storing the history of operations in the database (array), displaying values ​​on the screen (strings).

W
WDev, 2014-11-27
@WDev

Specialist courses. Lecturer Borisov Igor Olegovich. Four levels. Each for 3-5 days. Not everyone likes the presentation. Imagine that Vadim Galygin is reading with characteristic intonations. At least because of this, the material is absorbed with a bang.
Google knows where.
And an extended PHP manual after listening to the first level with examples.
From the PHP site, in Russian, in CHM format.

D
Dmitry Arushanov, 2014-11-28
@daruwanov

I don't know... Personally, when I need to learn something new (technology). I get general knowledge about it. Then I tell myself. And what do I need for myself (even for fun) and I'm trying to implement it. What is the profit? I'm starting to face real problems, real dead ends - looking for solutions. I remember better.

F
FanatPHP, 2014-11-28
@FanatPHP

Weird question. I don't understand what to learn here?
Doesn't the PHP code read like an open book with a Java background?
In my opinion, the problem of language is sucked out of the finger.
If we are talking about the introduction into the workflow, then this language has a very indirect relationship to the language.
If the question is about specific CMS, then you need to learn specific CMS - knowledge of the language will not help here.
And, of course, according to good tradition, all answers are only to the title of the question. Answerers on a toaster are such answerers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question