Lets talk about the future of Laravel
TL;DR Laravel remains my framework of choice, and I intend to experiment with the Rust version. However, recent developments in AI and software security are changing how at look at frameworks in general. This is my perspective, based on years of software development and DevOps experience. I'd just l...
I don't mean to be rude, but the more I look at this, the less sense it has.
create.php, edit.php? Where are these files even located? Don't you use named routes?
Update points to all posts? Do you redirect on update/create or?
I did this for an old PHP 5.6 project to upgrade it to 7.4 I believe. The project has more than 10 000 references to mysql_query(), so instead of rewriting the whole thing, I made one file that made checks if mysql_query() is set as a function and, if not, make it.
Then, I made the rest of the old functions in PDO and also mapep the outputs to be the same.
It was a dirty fix but improved the performance by a huge margin.
This is what I meant when I wrote about me using my custom LLM skills to guide the agent to use Auth::company() instead of copy/paste the same query over and over. And it works flawlessly.
Yes, they can't reason these things by themselves, but for how long?
That's a terrible name.
but that's my whole point, only a few months ago we were at the point where people would say
"well sure, agents can write good boilerplates for specific methods, but we're not there yet to expect them to build full features".
Yet here we are.
Routes, Models, Controllers... these things arent some abstract ideas, they are defined principles that are, in fact, language agnostic.
So what is there to say that AI will not be able to make you a complete framework from scratch if you just prompt:
"build me an app that does XYZ in this language".
Again, muting the whole point of using any public framework.