Playing Around With Symfony Service Container

Lately, I've been playing around with the Symfony Service Container. For some reason, I've never really liked it that much and I've prefered Pimple that comes with Silex framework. Defining services in YML files instead of plain PHP always felt odd.

=> Symfony Service Container | Pimple | Silex

But I think I've changed my mind now. I've just created a largish project in Symfony and now I quite like the Symfony way of defining the services. It gives you a nice distinction between configuration and your business logic. Defining the services in YML is just the configuration part, and PHP is only used for real code. That's actually pretty nice and feels good after you get used to it.

November 30, 2015

Site Navigation

=> Home | About This Site | Privacy Policy

© 2024 Jackdaw's Nest

Proxy Information
Original URL
gemini://ja.ckdaw.net/post/playing-around-with-symfony-service-container
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
163.97982 milliseconds
Gemini-to-HTML Time
1.193806 milliseconds

This content has been proxied by September (ba2dc).