9 Quick Tips about Laravel Blade

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ม.ค. 2025

ความคิดเห็น • 57

  • @whitestrabbit
    @whitestrabbit 3 ปีที่แล้ว +1

    Small note, can't find it in the comments anywhere, but @auth is paired with @elseguest and @guest is paired with @elseauth, in the showcase you used them like @auth-@elseauth-@endauth

  • @KumbaIvor
    @KumbaIvor 3 ปีที่แล้ว +2

    @forelse made my code so much easier to write. Thank you so much.

  • @DerickMasai
    @DerickMasai 3 ปีที่แล้ว +3

    Wow. I am barely 5 months old in Laravel development but practice all of these. Code With Dary & Andre Madarang if you ever see this, thank you for teaching best practices even in your beginner tutorials and thank you Laravel Daily for these junior dev friendly videos you constantly put out to help us improve. You are kings! 👑

  • @aladdin2912
    @aladdin2912 3 ปีที่แล้ว +1

    All your tips and lessons are amazing.....I am really grateful to you for your help

  • @turbokev3772
    @turbokev3772 3 ปีที่แล้ว +1

    Nice little quick reference. Much easier to reference quickly than some other more involved blade tiplets.

  • @kieran4338
    @kieran4338 3 ปีที่แล้ว +3

    Great video, these tips are very helpful and this presentation is a lot faster than reading multiple articles covering the same thing

    • @victorcalvin1557
      @victorcalvin1557 3 ปีที่แล้ว

      pro trick: you can watch series at flixzone. I've been using them for watching all kinds of movies during the lockdown.

    • @axtonlionel8841
      @axtonlionel8841 3 ปีที่แล้ว

      @Victor Calvin yup, I have been watching on flixzone} for since november myself =)

  • @abdelbarimessaoud242
    @abdelbarimessaoud242 3 ปีที่แล้ว +2

    can we have a tutorial about gates and permissions / policies ? how to protect certain forms and parts of our blade files and do they replace middlwares or not ?
    Thanks!

    • @LaravelDaily
      @LaravelDaily  3 ปีที่แล้ว +1

      I've done it multiple times already, search the channel for gates or roles or permissions

    • @abdelbarimessaoud242
      @abdelbarimessaoud242 3 ปีที่แล้ว

      ​@@LaravelDaily oh yes I've seen all o those, but I was thinking something simple without admin panel. Like a fresh project and just a couple of examples, maybe based on Laravel Breeze ?
      again very grateful for the whole channel I've already learned more than I could have ever dreamt off, keep up the good work can't wait for your next video and the tips today were amazing and I didn't know most of them.

  • @olamidefalowo1407
    @olamidefalowo1407 3 ปีที่แล้ว

    Very helpful tips, thanks.

  • @Tolga20
    @Tolga20 3 ปีที่แล้ว +4

    VIDEO IDEA: Series on how Laravel works under the hood - more technical information about the framework. :)

    • @LaravelDaily
      @LaravelDaily  3 ปีที่แล้ว +4

      Not sure if that would be popular. People mostly need to know how to deliver projects with Laravel, not how it works under the hood.
      And those who do want to know that, they just go into the source and look inside :)

    • @Tolga20
      @Tolga20 3 ปีที่แล้ว

      @@LaravelDaily true true, thanks :)

    • @mateuszbedzinski9798
      @mateuszbedzinski9798 3 ปีที่แล้ว +1

      th-cam.com/play/PLpzy7FIRqpGD5pN3-Y66YDtxJCYuGumFO.html

    • @PìnnedbyWorldCryptoNetwork
      @PìnnedbyWorldCryptoNetwork 3 ปีที่แล้ว

      @ +1 2013380401
      W**h*a**t*s*a*p*p

  • @poplach
    @poplach 3 ปีที่แล้ว

    Not only title is worth mentioning, I guess many would like to know about best SEO practices on laravel, so a good idea for upcoming videos or even course

    • @LaravelDaily
      @LaravelDaily  3 ปีที่แล้ว

      SEO practices have nothing to do with Laravel, and those tech-things like keywords now bring less and less value for SEO, from what I know.

    • @poplach
      @poplach 3 ปีที่แล้ว

      @@LaravelDaily I know that keywords do not do anything, at least for google. But since you've mentioned a 'title' which you have to assign for every page, there's also a 'description', some basic 'open graph' properties like image for sharing in social networks etc. I think people would appreciate your video about some SEO packages for laravel and showing how to do the trick.

  • @Ehsankhan0577
    @Ehsankhan0577 3 ปีที่แล้ว

    always your tips are amazing

  • @vikrantrana1751
    @vikrantrana1751 3 ปีที่แล้ว

    VIDEO IDEA - Please create a video on advance filters that'll include select box , check-boxes etc based on livewire.
    P.S. - This video was amazing and to the point.

    • @LaravelDaily
      @LaravelDaily  3 ปีที่แล้ว +1

      I think I've covered such filters more or less, on this channel in other videos, search for "livewire" on this channel, or check my components on livewirekit.com

    • @vikrantrana1751
      @vikrantrana1751 3 ปีที่แล้ว

      @@LaravelDaily I guess I'll be buying the course maybe🙂

  • @lucasj.pereira4912
    @lucasj.pereira4912 3 ปีที่แล้ว +2

    The view cache happens all the time with me, sometimes I just change a number in a class, like: mt-4 to mt-5 and the view does not reload. It would be great to have a option in the .env to set "NO_VIEW_CACHE" or something while in development.

    • @gaffygaffy6539
      @gaffygaffy6539 3 ปีที่แล้ว +3

      php artisan route:clear, will both clear the cache and disable it, and then just run php artisan route:cache on the prod server

    • @DerickMasai
      @DerickMasai 3 ปีที่แล้ว +1

      Aaah a fellow TailwindCSS user. You are a man of culture 😎

  • @logudotcom
    @logudotcom 3 ปีที่แล้ว

    Very useful, Thanks

  • @ilyesmilyesm2576
    @ilyesmilyesm2576 2 ปีที่แล้ว

    thank you so much, I'm following your laravel-roadmap and I'm learning a lot from these videos
    I have a question though, what's the tech stack that's in demand in global tech companies to get a remote contract?
    is it laravel + vue or the mern stack
    Hope someone will answer me

    • @LaravelDaily
      @LaravelDaily  2 ปีที่แล้ว +1

      There's no single stack, there are jobs for every stack if you're good at it

    • @ilyesmilyesm2576
      @ilyesmilyesm2576 2 ปีที่แล้ว +1

      @@LaravelDaily Okay, so "so good so they can't ignore you" is our slogan

  • @hamzaeegale215
    @hamzaeegale215 3 ปีที่แล้ว

    great videos please what's font you use in this tutorial?

    • @LaravelDaily
      @LaravelDaily  3 ปีที่แล้ว +1

      Material Darker theme of PhpStorm

  • @MJacksi
    @MJacksi 3 ปีที่แล้ว

    Great video, thank you 🌹

  • @hemantbhardwaj17
    @hemantbhardwaj17 3 ปีที่แล้ว +4

    Felling good that I know all of them 😎😀

  • @AmeerHamza-cy6km
    @AmeerHamza-cy6km 3 ปีที่แล้ว +1

    3:50 there is better way to do that instead of publishing and editing errors blades files, you can use
    abort(404, 'custom error message here');

  • @drevendyharianto1259
    @drevendyharianto1259 3 ปีที่แล้ว

    Cool tips.

  • @Elelalem
    @Elelalem 3 ปีที่แล้ว +1

    Hello,
    I used Laravel Shift and it turned out that they want to use $casts instead of $dates. $dates is the outdated one they said. Maybe you or someone in the comments can explain the difference between them.

    • @iukhan2015
      @iukhan2015 3 ปีที่แล้ว +1

      You are right! $date is outdated after laravel 8. So use $casts instead. Its better and manageable. $casts is used for all types of type casting where as $date was only being used to typecast date to carbon object

    • @Elelalem
      @Elelalem 3 ปีที่แล้ว

      @@iukhan2015 Do you know if you use casts with datetime it will be a carbon object like the old $date? I did not try this because I'm fixing other things in my project at the moment. Would be nice to hear :) Thanks for your answer anyway!

    • @iukhan2015
      @iukhan2015 3 ปีที่แล้ว

      @@Elelalem yes! Its the same

  • @alifallahrn
    @alifallahrn 3 ปีที่แล้ว

    Thanks 🙏

  • @ahmadalshame7803
    @ahmadalshame7803 3 ปีที่แล้ว

    thank you .

  • @tarekalhalabi8776
    @tarekalhalabi8776 3 ปีที่แล้ว

    Thank you💙💙

  • @sumonchandrashil8406
    @sumonchandrashil8406 3 ปีที่แล้ว

    Thanks

  • @L-A-O-S
    @L-A-O-S 3 ปีที่แล้ว

    Add link in description to this separate video

  • @thisaruwithanachchi8009
    @thisaruwithanachchi8009 3 ปีที่แล้ว

    what about "@php" & "@endphp" tags?

    • @vladimirhoriainov4379
      @vladimirhoriainov4379 2 ปีที่แล้ว

      It's not considered as a good practice, because you should separate a business logic from view files as much as possible :)

  • @aurelianspodarec2629
    @aurelianspodarec2629 2 ปีที่แล้ว

    Nice!

  • @MahbubTonoy
    @MahbubTonoy ปีที่แล้ว

    Thanks

  • @codingsense
    @codingsense 3 ปีที่แล้ว

    greate video keep up

  • @MustafaBirsoz
    @MustafaBirsoz 3 ปีที่แล้ว

    great

  • @ah-rasel
    @ah-rasel 3 ปีที่แล้ว

    First view and First like ❤️

  • @princeparaste5659
    @princeparaste5659 3 ปีที่แล้ว +1

    How many of these tricks you guys know?
    ME : all of them😎

  • @sherwalichd
    @sherwalichd 3 ปีที่แล้ว

    best

  • @amitdev1485
    @amitdev1485 3 ปีที่แล้ว

    Watching second