Advanced Laravel Code Review: Daybreak - Complex Jetstream-Based Structure

preview_player
Показать описание
Today we have a code review of quite a complex and advanced-level Laravel repository called Daybreak.

00:00 Intro
00:48 Fortify: CreatesNewUsers Advanced
03:43 Model Traits: HasXXXXX
05:48 Fortify: doSomethingUsing Class
07:03 Enable/Disable Features
08:13 Create Blade Components
08:56 Translations Done Well
09:47 Great Complex One-Liner
12:14 Date Formatter Class

Related videos:

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

Hi Pavilas - I had to look twice.. but yeah it's really my code! :D You picking up my little project for a code review is really an honor. I learned a lot from your videos about Laravel in the past! You nailed it with the date formatter class - it's my take to make this little timesheet tool available to others outside of germany! And yeah in some cases the code might feel a bit overengineered. However, you already spotted a few cases where the abstraction makes sense - Dateformatter, Feature flags, Testing - and hopefully during future development. Additionally, I would say people familiar with Jetstream might find the code more "expectable" if that makes sense.. The feature flags are used to disable some parts of the code - the implementation of those is also not public yet. I am trying to focus on the feature set the application has at this moment and polish it in order to release a version 1.0 in the closer future.. A little spoiler: If you look more closely in the code you might find even more examples where I put your tips into practice! :D

erikporsche
Автор

That ... was awesome! Seeing how your client used the dependency injection changed my world forever. Never again any singleton pattern per class. And this makes testing stuff so much easier if you can just swap the injected dependencies while testing. I may repeat myself: awesome. AWESOME!

zkabadu
Автор

It's excellent to see how others solve often common problems. Keep up these reviews. I agree, breaking them into smaller, contained examples would be helpful.

dclindner
Автор

Please make more of this. I love it. A bit overwhelming maybe but it's the challenging stuffs that makes us better.

karlebh
Автор

I love seeing real-world code examples. Great work.

randak
Автор

Thanks for your review on Laravel advance features. It's very interesting and helpful for future projects. Please continue reviewing more features

JG-kmct
Автор

This is a whole course by itself. Real advance

targetx
Автор

This is very valueable content, i will love to see more advanced videos like this, Thank you💙💙

tarekalhalabi
Автор

Your videos are invaluable, your efforts and hard work is appreciated more then you may ever know. THANK YOU FOR BEING WHO YOU ARE!!!

mikethetreeclimber
Автор

Povilas, thanks for another great video. And yes, if you can, I would like to see more of your analysis from this repository. As I said before, you have a gift for teaching. English is not my native language but when I hear you explaining a topic, it sounds perfectly natural to me!

Claudio_Pereira
Автор

😂 now I am felling that I am using laravel in wrong way
Thanks everything was absolutely amazing and new

hemantbhardwaj
Автор

This very revealling review. Please continue with more features like this.

f.azmanali
Автор

It's a bit overwhelming. As you suggested it would be great if you break it down in smaller pieces, and discuss 1 piece in a separate video

leonvanrijswijk
Автор

As always, this is a great video.
If you could give us a list of packages in the order of intermediate to advance level so that we can do analysis and improve our skill, it would be really helpful.

Thank you for your hard work.

jannatulnayeem
Автор

This is very valuable content, As you suggested it would be great if you break it down into smaller pieces.
Thankyou

muhammadkaleem
Автор

For sure, it seems a awesome project!

thisisthelogic
Автор

Awesome video, sounds like a really intelligently thought out project

popplestones
Автор

to be honest I'm not a fan of using feature toggles this way, imo these should be pushed outside of repo - to env - so you can easily deploy different variants from the same code, but I'm assuming it wasn't made to be feature toggles per se but to just let you disable things you don't need in your system at all?

ZKIUS
Автор

Thanks for great video!
Are there pros / cons of json vs php translations in Laravel?

NoOorZ
Автор

This has a lot of the features I am trying to implement in my project. Please breakdown the time with calendar, and location parts. Please! Please! Please!
Pretty Please!

richardhoyle