Earlier quoted context omitted.
The problem is that everyone is creating every library, over and over. It is a real problem in PHP that there is no single, polished solution and every framework is being reinvented (and breaking BC) constantly.
That's why I hope StackPHP gets some traction and more people create framework agnostic libraries (e.g. phpleague).
Show HN: PHP Code Generator – A scaffolding framework
11–20 of 28 posts
Re: Show HN: PHP Code Generator – A scaffolding framework
#12Earlier quoted context omitted.
The problem is that everyone is creating every library, over and over. It is a real problem in PHP that there is no single, polished solution and every framework is being reinvented (and breaking BC) constantly.
That's why I hope StackPHP gets some traction and more people create framework agnostic libraries (e.g. phpleague).
Re: Show HN: PHP Code Generator – A scaffolding framework
#13Earlier quoted context omitted.
This isn't really anything new. Yii and Symfony have been doing code generation for years. Someone simply decided to create a library that's not framework specific.
The problem is that everyone is creating every library, over and over. It is a real problem in PHP that there is no single, polished solution and every framework is being reinvented (and breaking BC) constantly.
Standardised, framework agnostic, go-to packages that are the de-facto solutions for specific problems
Re: Show HN: PHP Code Generator – A scaffolding framework
#14Earlier quoted context omitted.
That's why I hope StackPHP gets some traction and more people create framework agnostic libraries (e.g. phpleague).
I'm not familiar with StackPHP but how agnostic is it? The first middleware listed (HttpCache) relies heavily on Symfony.
You don't need to download the entire Symfony framework
Re: Show HN: PHP Code Generator – A scaffolding framework
#15Re: Show HN: PHP Code Generator – A scaffolding framework
#16Earlier quoted context omitted.
This isn't really anything new. Yii and Symfony have been doing code generation for years. Someone simply decided to create a library that's not framework specific.
The problem is that everyone is creating every library, over and over. It is a real problem in PHP that there is no single, polished solution and every framework is being reinvented (and breaking BC) constantly.
Competition between frameworks and libraries ensures that there are multiple solutions to meet multiple needs, and also that consensus, where it exists, exists due to the popularity of a package, not the dictate of someone setting an arbitrary "standard" for the community. You can guarantee that Laravel is going to be updated because people use it and contribute to it, not because it's the only option.
And there's no guarantee that a single solution is going to keep backwards-compatibility. That is always entirely at the whim of the developer. Removing room to innovate only guarantees stagnation, it doesn't guarantee the standard.
Re: Show HN: PHP Code Generator – A scaffolding framework
#17This framework would not solve a single problem I have had. None of the frameworks do, which is why I'm not using one of them. The only thing I really found lacking in core PHP was a way to manage the urls. (In this case, query strings.) I believe this would have been difficult on any platform, as the data is deeply hierarchical so the urls would be gnarly no matter what. So I wrote a class that understands the entity hierarchy and can generate query string sets that are needed for each level in the scope.
I wish the PHP community would spend less effort trying to be rails and more effort on simply removing pain points of basic, idiomatic PHP development.
Re: Show HN: PHP Code Generator – A scaffolding framework
#18Earlier quoted context omitted.
The problem is that everyone is creating every library, over and over. It is a real problem in PHP that there is no single, polished solution and every framework is being reinvented (and breaking BC) constantly.
That's not a problem, that's a feature. Competition between frameworks and libraries ensures that there are multiple solutions to meet multiple needs, and also that consensus, where it exists, exists due to the popularity of a package, not the dictate of someone setting an arbitrary "standard" for the community. You can guarantee that Laravel is going to be updated because people use it and contribute to it, not beca…
92 pages of the same basic router implementation. That is a problem. A huge problem.
Re: Show HN: PHP Code Generator – A scaffolding framework
#19Earlier quoted context omitted.
I'm not familiar with StackPHP but how agnostic is it? The first middleware listed (HttpCache) relies heavily on Symfony.
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
#20Earlier quoted context omitted.
That's not a problem, that's a feature. Competition between frameworks and libraries ensures that there are multiple solutions to meet multiple needs, and also that consensus, where it exists, exists due to the popularity of a package, not the dictate of someone setting an arbitrary "standard" for the community. You can guarantee that Laravel is going to be updated because people use it and contribute to it, not beca…
https://packagist.org/search/?q=http%20router 92 pages of the same basic router implementation. That is a problem. A huge problem.
(Also, note that the problem is more with Packagist's search results, since most of them aren't even routing libraries)