Re:Show HN: PHP Code Generator – A scaffolding framework
by mtbcoder on Wednesday December 31, 2014 @11:24AM
(#8819903)
I'm not familiar with StackPHP but how agnostic is it? The first middleware listed (HttpCache) relies heavily on Symfony.
[ Parent
| on HN ]
Re:Show HN: PHP Code Generator – A scaffolding framework
by alexbilbie on Wednesday December 31, 2014 @11:27AM
(#8819912)
It relies on a single Symfony component which has become the standard for almost every HTTP package.
You don't need to download the entire Symfony framework
Re:Show HN: PHP Code Generator – A scaffolding framework
by mtbcoder on Wednesday December 31, 2014 @11:51AM
(#8820016)
Right, but that's a large, core Symfony component, not a small library. It essentially dictates how you handle fundamental tasks (such as routing) and immediately starts you off doing things the "Symfony way".
Re:Show HN: PHP Code Generator – A scaffolding framework
by Gigablah on Wednesday December 31, 2014 @12:09PM
(#8820088)
Eh, it doesn't dictate how you handle routing. I think you're misunderstanding the dependency here: what StackPHP depends on is the HttpKernel interface. Basically the function signature for a HTTP request handler.
It does tie you into the Symfony Request object, but otherwise there are no other dependencies.