Code Review. Laravel Versions by Tighten: 10+ Things to Learn

preview_player
Показать описание


- - - - -
Support the channel by checking out our products:
Рекомендации по теме
Комментарии
Автор

At 2:43 you're talking about Cache::remember and didn't catch the bug that key and ttl are in the wrong order, so probably nothing is cached here 😂 maybe your next video could be how you make a PR to fix this little bug

_RafaelKr
Автор

It's nice to do something and you can see the effects + engaging other people... you can see my implementation, i.e. preparing the translation code and implementing it... Polish translation is my work :)
A week later, apart from my Polish language, there were 6 more other languages :D.

OlszaOlszak
Автор

Long back when I used to work with Symfony __toString in Model was used to get the default data when you call an object.

Eg: When you have

User.php

function __toString() {
return $this->unique_id
}

And when you directly display as $user object then it will display the unique_id of the user instead of dumping the whole user object details

channaveerhakari
Автор

Thanks to this video I sent a Pull Request and it was just accepted 🎉

vzlamrbeastfan
Автор

thank you i'm learning a lot from your videos, keep from algeria

imedtech
Автор

thanks so much really
I learned a lot keep going

rahafmoute
Автор

3:03 - as to LaravelVersionFromPath class which returns array, I'd better do it a a way, where each variable of that array could be returned with get method, eg getVersion() getSanitizedPath() getSegments().
Because what I see is that in controller show() method the controller somehow should know that LaravelVersionFromPath returns an array of three particular elements in particular order.

which fires private __construct($path) to me is a much clearer solution.

Adam Wathan toughed me that, I believe he'd do exactly the same way.

poplach
Автор

Hi Povilas, do you have more repos/code that you can share with us to review/check/learn from?

ran_velo
Автор

__toString() is being used about 15 lines above on line 84 in your video

CarMoves
Автор

How can I do this kind of translation on a content in a div? I want to place two flag buttons in a div top corner to make the translation. Any help?

guilhermemoraes
Автор

Could you make a video on transactions in combination with observers and jobs. DB::beginTransaction();

Michielofzo
Автор

any idea to create a websocket or long pool in laravel. because I need something like that for automatic data update to Android

menma
Автор

What extensions would you recommend for vs code

thimeshsasanka
Автор

Pov, I like the idea of "code learning" instead of "code review" although they are closely related. Simply looking at other code with an opinionated commentary is a good way to learn.

rosselliot