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
=> Home | About This Site | Privacy Policy
© 2024 Jackdaw's Nest
text/gemini
This content has been proxied by September (ba2dc).