简体   繁体   中英

Is init.php bootstrapping?

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM