Just here to vent a bit. So, I wanted to find how is the password reset functionality tied to a field called email on the user model. First off, sending. The documentation says that one can override the sendPasswordNotification method on the user. Okay then, it must be calling the method, so let's l...
I somehow hadn't noticed anything special about this community, but this thread today is so overwhelmingly positive... https://www.reddit.com/r/laravel/comments/hwf76b/failed_a_laravel_coding_exercise_for_a_job/ Everyone is so helpful and polite. OP is keen and takes every comment well even the one...
Sorry, but this just shows that you don't actually understand where are the performance costs on Eloquent.
If you do Transaction::sum('amount') it just gets passed to the underlying query builder and it's pretty much the same as doing what you did, just in a more proper way. The overhead is extremely tiny.
The performance is different if you do the opposite. If you load 50k rows with query builder, you just get a lot of data. If you load 50k rows with Eloquent, it will load the same data and then instantiate a Model object for each of the rows and that's what can be slow.
the underlying language is not evolving for 15 years
This is extremely dishonest. Have you even seen PHP of 2011?
Looks like whatever happens, someone will consider the "internals team" dunces that are wasting all the development money they're seemingly showered in. Regardless if BC is broken or something is rejected to preserve BC, it will always be clear that these academic dimwits are obviously only theoreticizing and working in C and have no idea about the real life PHP projects :D
:D
"the CVE"? There are like a dozen advisories released today, a couple of them critical.
Sorry, but this just shows that you don't actually understand where are the performance costs on Eloquent.
If you do
Transaction::sum('amount')it just gets passed to the underlying query builder and it's pretty much the same as doing what you did, just in a more proper way. The overhead is extremely tiny.The performance is different if you do the opposite. If you load 50k rows with query builder, you just get a lot of data. If you load 50k rows with Eloquent, it will load the same data and then instantiate a Model object for each of the rows and that's what can be slow.
This is extremely dishonest. Have you even seen PHP of 2011?
Looks like whatever happens, someone will consider the "internals team" dunces that are wasting all the development money they're seemingly showered in. Regardless if BC is broken or something is rejected to preserve BC, it will always be clear that these academic dimwits are obviously only theoreticizing and working in C and have no idea about the real life PHP projects :D
It brings 0.1 improvement to the version number.