mercredi 4 janvier 2023

What is the name of the design pattern used to create Laravel's service container?

My question: what is the general name of the design pattern used to build Laravel's "Service Container", the thing that Laravel binds stuff to when bootstrapping the app? By general, I mean in general programming terms. The reason I'm asking is that I'm going to start a project in another language (Python's FastAPI) and from my own research so far, that concept, the service container, doesn't exist (Although it does have dependency injection)? Am I gonna have to implement my own or are there other options?

Aucun commentaire:

Enregistrer un commentaire