Question

I am trying to grasp when to create a bootstrap.php file and how to structure it. It looks a lot like an init.php file. Are they the same concept? Or maybe the same exact thing?

Was it helpful?

Solution

In the context of web-applications and PHP, the concepts "bootstrapping" and "application initialization" are more or less the same. The filename doesn't matter.

As for the details of what such an implementation should contain, that is completely dependant on the architecture of the application.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top