PHP For Beginners, Ep 31 - Namespacing: What, Why, How

  Рет қаралды 15,071

Laracasts

Laracasts

Күн бұрын

Пікірлер: 27
@batsmanist
@batsmanist Жыл бұрын
No day passes without me on this channel.❤
@BecomeAWebDev
@BecomeAWebDev Жыл бұрын
You're teaching as teaching's supposed to be done. good job
@لوسيفرجبريل
@لوسيفرجبريل Ай бұрын
another great episode.
@belalehner3937
@belalehner3937 Жыл бұрын
Now I know the reason why Laravel uses the same namespace names as the direcories for the files. As I take a look at the spl_autoload_register function at 09:47 it is clear, that the dir name after the string replace is identical with the namespace. Great, I didn't know that, but I have got it.
@aminhalk4783
@aminhalk4783 5 ай бұрын
i realy love your teaching
@paulbrugger9610
@paulbrugger9610 Жыл бұрын
At 9:45 he skips over the Core/functions.php file and does not add in use Core/Response at the top. Episode 31 repo is missing it also. So SHOWING a note does not work. You can grab this file from episode 32 and it will work.... Great series, though.
@jonasbirkelof3614
@jonasbirkelof3614 2 жыл бұрын
Looking forward to it! 😊
@badrjeddab4549
@badrjeddab4549 Жыл бұрын
also namespaces help to indentifie wich class that you gonna use if you have multiple classes with same name
@somegoofy
@somegoofy Жыл бұрын
Oki, to view error messages file indexphp in the beginning needs two rows: error_reporting(E_ALL); and ini_set('display_errors', 'on'); Searching why after changes in video code stopped showing one note... Problem found .... in file functions.php is used class Response, but if we write namespace Core; in the beginning of functions.php then follows other problems So solution - in beginning of function.php put - use Core\Response;
@لوسيفرجبريل
@لوسيفرجبريل Ай бұрын
the code for showing the errors was helpful. thank you.
@sotelio5775
@sotelio5775 Жыл бұрын
I'm rewriting everything 😄
@AK2000YY
@AK2000YY 3 ай бұрын
should i start 'core' file with a capital letter??
@RegulusVi
@RegulusVi 2 жыл бұрын
Great, thank you as always for awesome content you share for free. Little request: Could we please have some WYSIWYG editor on Laracasts Forums, to write our posts? Because, otherwise, it is hard to remember some tricks, like this: """, to place source code in a post. Provide us with some automatic format buttons, please.
@udayworldwide
@udayworldwide 3 ай бұрын
Windows treats backslash and forwardslash equally well as directory separator
@Syed_haze
@Syed_haze 2 жыл бұрын
can you help me with control structure of laravel
@webpulseify
@webpulseify Жыл бұрын
omg, its just 12 min, but it took more than one hour for me because of errors 😄but after all errors, I clearly understand concept of namespacing
@Фанат-щ9ь
@Фанат-щ9ь 2 жыл бұрын
Thank you for expand my knowledge. I heard that in America and most Europeans country php isn't popular programming language, how many projects or job offers on php can be meet in your country? Please sorry for my poor English.
@hadley8899
@hadley8899 2 жыл бұрын
I'm in the UK and jobs for PHP here a plentiful (There are a lot of them)
@Фанат-щ9ь
@Фанат-щ9ь 2 жыл бұрын
@@hadley8899 Respect you for answering, I live in Russian and here bunch of vaccines also.
@leandrobernardini
@leandrobernardini 2 жыл бұрын
Über useful, thank you!
@ekramer1
@ekramer1 8 ай бұрын
Ah yes, back before all of my music was on streaming services...... Oh wait, that wasn't a time period I can remember due to being too young to even listen to my own music on a computer of my own lol.
@grantmitchell1984
@grantmitchell1984 2 жыл бұрын
I still don't get it...
@SimionChis
@SimionChis 2 жыл бұрын
If help, it is not an easy concept to understand but it is very important. You also can look for another tutorials. A good one is kzbin.info/www/bejne/gJ_MapZmYrOdqLs
@MahdiAmeri
@MahdiAmeri 2 жыл бұрын
Wonder why I can’t watch ads in this channel
@Laracastsofficial
@Laracastsofficial 2 жыл бұрын
We don’t display ads or earn money from this channel.
@MahdiAmeri
@MahdiAmeri 2 жыл бұрын
@@Laracastsofficial thanks so much. Really wanted to pay tribute to your great work even by watching ads🙏
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
PHP For Beginners, Ep 47 - Composer and Free Autoloading
13:13
Everything about PHP namespaces - OOP in PHP | Part 10
16:26
The Codeholic
Рет қаралды 16 М.
When to use Traits, Interfaces, and Abstract Classes in PHP
15:08
Andrew Schmelyun
Рет қаралды 24 М.
PHP Autoload and Namespaces [Extended Guide] | [2020]
29:30
TechnoTrax
Рет қаралды 14 М.
PHP Namespace Tutorial - Full PHP 8 Tutorial
20:15
Program With Gio
Рет қаралды 60 М.
PHP For Beginners, Ep 50 - The Next Step in Your Php Journey
16:28
Use Composer to Easily Manage PHP Packages
15:40
Dave Hollingworth
Рет қаралды 10 М.