A web developer by profession. I love to code, play PC games, and play basketball.
Having spent all my professional life working with open source technologies, I want to share all that I have learnt over the years. I believe every programmer has a distinct way of coding, some even unconventional, and I want to share all that I have learnt.
I want to make videos on programming, How to’s, tutorials and maybe even some gaming.
Hello sorry for the late comment, but how do you make your eclipse interface so big and proportioned? Mine is either too big or too small (especially the icons)
Logic in the spl_autoload_register method.... No thanks! Kind of explains why all these freaking php frameworks are so slow. I'll stick to explicitly including my files. Having the autoload method in a separate file is evil. It's hiding information away. Not a criticism of the video author - this is how it's done in PHP. I just don't agree with it. Appreciated the info on namespaces - I use them a lot in C++ but PHP's implementation seems more powerful and very elegant. 👍
Dear Sir, Thank you very much for the clearest tutorial on this subject anywhere. I structured my directories same as yours, Namespaces, same as yours. I then 'Composer update', everything looked alright. But when I ran "Composer dump-autoload", I got errors: Saying, Class app\appClasses\Darabase located in c:/code/app\appClasses\New Database.php does not comply with psr-4 autoloading standards. Skipping. What is wrong?
This is exactly what I was searching for. So, in layman terms it creates a new table with column on which index has been created and memory pointer locations of each associated record. Then it sorts it and applies the Binary search algorithm to search the requested column value and there by fetches the associated pointer location, which in turn takes us directly to that memory location and presents the record to user.
hey i just wanna say that GOD loved the world so much he sent his only begotten son Jesus to die a brutal death for us so that we can have eternal life and we can all accept this amazing gift this by simply believing in him (Jesus) asking for the forgiveness of your sins and forming a relationship with heavenly father.
Are you even hearing yourself right now? Your 'God' DIED so he could forgive humans even from sins they didn't even commit themselves (the original sin) and only then does he have the power to give eternal life? And those who don't believe he died for them don't get paradise because that somehow negates him dieing for you? You DO realise how silly this all sounds right?
The best tutorial on this subject. Amazing delivery also. Thank you so much, Sir. May I ask please, if I have a folder for Classes, folder for Traits, another for Interfaces, how do I represent them in the psr-4 section of the composer.json file for autoloading? Can this load a functions.php file from a functions folder too?
I've tried your tutorial, but it does not give me an effect. I don't know why, but maybe cause my table only contain 2035 rows data, so i can't feel the effect of index. Can I get that table please? I wanna try it on my localhost.