News for hackers. Stuff that matters.
Re:A Docker-inspired Heroku clone in 100 lines of PHP by Gigablah on Monday December 21, 2015 @06:53PM (#10774512)
That's not correct. Silex replaces the Symfony DI (or service locator, if you will) component with something much simpler called Pimple. You can read the code within a few minutes.

The only other required libraries for Silex to function are the event dispatcher, routing (which you can swap out for something like nikic/FastRoute), and the request/response stuff. I'm not sure if you think that's a "lot" of code, but if you're rolling your own you'd probably end up using the HTTPFoundation stuff anyway.

Re:A Docker-inspired Heroku clone in 100 lines of PHP by aikah on Tuesday December 22, 2015 @01:42AM (#10776251)
> That's not correct. Silex replaces the Symfony DI (or service locator, if you will) component with something much simpler called Pimple. You can read the code within a few minutes.

That's exactly what I said, what is the point of your message? With Silex there is no configuration through XML or YAML. What is not correct?

Re:A Docker-inspired Heroku clone in 100 lines of PHP by Gigablah on Tuesday December 22, 2015 @09:55AM (#10778030)
You ranted about it being a "lot" of code. The default Silex installation doesn't even bring in the Security component, which is probably what prompted your comparison to Spring.

Event dispatching + kernel (basically a handler) + request/response isn't particularly complex, is it?