Code like a pro in php 2021| Best Practices and code improvements | Updated 2021

preview_player
Показать описание

Click 🔔 to get notified about our latest videos

Full Article:

Download code used in Video:

Playlists you might like:

ZarxBiz Offers

You can try our Latest free Web applications:

Support Us:

Subscribe To Support
Рекомендации по теме
Комментарии
Автор

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 ) { ... etc }. But yes, you're right, even after 14 years developing, I didn't know some of the things mentioned in this vid!

everygamegoing
Автор

sir accept my respect as a one of the best teacher.

rijafashions
Автор

The best practice would be using PHP only as a backend server not mixed up with UI. The title is misleading by the way.

jerryurena
Автор

gabada GABADA GABADA GABADA GABADA gabada.. gabada.. gaba.

keemkorn