Masonite is built around what is called a “service container.” Don’t let this wording confuse you though. All a service container is just a group of… services, exactly! Services in this context are just features. Think of the service container as a toolbox, services as your tools, and Masonite as your workshop. A service can be as small as a Mail class for sending mail or a Queue class for sending jobs to a message broker like RabbitMQ. Services can even get more advanced like a routing engine to map the URL ...
3. The Service Container
Get The Definitive Guide to Masonite: Building Web Applications with Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.