Комментарии:
gabada GABADA GABADA GABADA GABADA GABADA..... gabada.. gabada.. gaba.
ОтветитьThe best practice would be using PHP only as a backend server not mixed up with UI. The title is misleading by the way.
ОтветитьThank you.
ОтветитьGood vid. I am a PHP developer. I would just say that, regarding the ternary operator (your first example), I don't agree that it "makes the code more readable". Whilst I've got nothing against the ternary operator per se, I think if {} else {} is much more understandable, even if it takes more lines. Also, in most code, after you do the comparison, there's a whole load of things that you want to fire as a result, i.e. if( $i == 1 ) { function1();function2();function3() ... etc }. But yes, you're right, even after 14 years developing, I didn't know some of the things mentioned in this vid!
ОтветитьThanks, I learnt new things
Ответитьnice
Ответитьsir accept my respect as a one of the best teacher.
ОтветитьGreat video, Thank you 👍
Ответить