4 ms·
At the least Nice site for any one looking to see a symphony example. I don't use symphony and despite liking most of the code I still hate the idea developers
by cdevs 9y ago
At the least Nice site for any one looking to see a symphony example. I don't use symphony and despite liking most of the code I still hate the idea developers hand typing routes and that's my main selling point for something barebones like code igniter or some other automated routing process like a json-rpc API that can figure out what controller to go to on it's own.
- ivanhoe 9y agoand when you need to rename a single route you do what, rename the whole controller and/or method?
- prodikl 9y agoexactly, that's the downside to it. it's really nice to have /controller/method/param/param routing out of the box, so the speed of 0 to MVP is quick, but on the other side, renaming a route sucks. unless you have a list of overrides in which case, may as well just use hand written routes from the get go
- acomjean 9y agoI guess you can use a micro framework, I Use silex. They're much less opionated. It's built with a synfony components so it's very similar (I think it's the same people).
- breadmaster 9y agoThat's what I like about Symfony. It's all in my hands to configure.
- emodendroket 9y agoI don't understand that philosophy. Isn't the ideal that the default is something sensible and you only change it if you want different behavior?
- thaiphanvevo 9y agoI disagree. That's too magic for my liking. I like Laravel's routing solution where you have to manually map a route to a controller action. You can set route groups and restrict middleware to specific routes and stuff so pretty powerful!
- wolco 9y agoLaravel's routing and the entire framework makes it impossible to go back to CI.