News for hackers. Stuff that matters.
Re:Modern PHP without a framework by patricklouys on Sunday April 01, 2018 @06:15AM (#16727592)
I like to use the same approach, I even wrote a tutorial [0] and a book [1] about it.

That being said, I am still forced to use Symfony at my current job. It only gets in the way sometimes, it's not too bad.

On my previous job we went from CodeIgniter to frameworkless and I really liked that. Not having framework constraints working against you was really enjoyable to work with.

[0] https://github.com/PatrickLouys/no-framework-tutorial

[1] https://patricklouys.com/professional-php/

Re:Modern PHP without a framework by jwdunne on Sunday April 01, 2018 @06:56AM (#16727678)
I recently gave Sylius, based on Symfony, a spin. I wanted to add a field to a product, editable in the admin area. The additional code and the extensions were ok. Some of the config changes are understandable but I thought it a bit much when the number of additions to configuration outstripped the amount of code required.
Re:Modern PHP without a framework by patricklouys on Sunday April 01, 2018 @07:04AM (#16727696)
I feel your pain. That's my biggest gripe with Symfony. Sometimes it feels like I am spending more time configuring that programming.
Re:Modern PHP without a framework by cutler on Sunday April 01, 2018 @08:26PM (#16731370)
Rewind to 2005. Isn't this why Rails was born?
Re:Modern PHP without a framework by jwdunne on Monday April 02, 2018 @06:03AM (#16733429)
Funnily enough, I chose a Rails e-commerce solution, Solidus. I added the same feature, 0 configuration, similar if not less code required.

Unfortunately I'm the only one who knows Ruby but I have every faith that my colleagues can pick it up.