In Part 1 we understood that __autoload() works well when all our classes are at one place and follows same naming conventions. However in real world application, classes are divided in different modules and packages, placed at multiple locations. This
Monthly Archives: December 2014
Autoload is the programming concept to load and link the portion of a program from mass storage automatically when needed. With the increase of classes in PHP projects, PHP introduces auto-loading for loading classes automatically. Let’s understand the basics of
It is very easy to get lost in a world of assumptions. When we make program, we make assumptions that each piece is going to work as expected. You have to be open minded enough to acknowledge that any single one of your assumptions could be wrong.