service container
[/ˈsɜːrvɪs kənˈteɪnər/]
nounpl: service containers
contêiner de serviço
1. A software design pattern object that holds references to service objects and manages their lifecycle and dependencies in an application
The service container automatically injects dependencies into the controller constructor.
O contêiner de serviço injeta automaticamente as dependências no construtor do controlador.
2. In web frameworks, a registry that stores and retrieves instances of services needed throughout the application
We registered the database service in the service container during application bootstrap.
Registramos o serviço de banco de dados no contêiner de serviço durante o inicialização da aplicação.
3. A container object used in dependency injection that resolves and provides service instances on demand
The service container resolves all dependencies before instantiating the class.
O contêiner de serviço resolve todas as dependências antes de instanciar a classe.
Service container is a fundamental concept in modern web development frameworks popular in both Brazil and the USA, particularly in Laravel (PHP), .NET, and Node.js frameworks. It's a key part of the Dependency Injection pattern widely adopted in enterprise and startup development cultures in both countries.
Related Idioms & Phrases
bind a service to the container
resolve from the container
register in the service container
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →