Laravel Pennant: first-party feature flags

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024

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

  • @TheMoonWatcher
    @TheMoonWatcher 3 หลายเดือนก่อน +30

    Maybe this will be weird, but YAY ADS! I'm not being sarcastic - getting sponsorships increases the likelihood that we will continue seeing this amazing well-crafted content and I'm stoked for that ❤
    Also, thank you both for another great video!

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน +1

      Whew 🥰 wasn't expecting that!

    • @brianochieng5904
      @brianochieng5904 3 หลายเดือนก่อน +1

      And he should now get some sleep. I could see how tired he was. Maybe it was just me.

    • @TheMoonWatcher
      @TheMoonWatcher 3 หลายเดือนก่อน

      @@brianochieng5904 might be the whole dad of many kids thing 😂 I saw him taking a nap at a play center once on Twitter 😁

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน

      🎯

  • @smithallengroup
    @smithallengroup 14 วันที่ผ่านมา

    Really enjoying your way of teaching!!

  • @nm6x
    @nm6x 3 หลายเดือนก่อน +32

    I'm a 41 years old guy, I started programming in PHP with 16 years old, landed my first job as a programer at 21, I did amazing thing with PHP. Now, it's been almost 12 years that I don't use it anymore, but my brain still finds it easier to learn thing in PHP than using my current stack, funny how that works....

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน +9

      Come back! Join us!

    • @SebastianMares
      @SebastianMares 3 หลายเดือนก่อน +1

      Even though many people hate or make fun of PHP, I still think modern PHP doesn't need to shy away from competition. I have a similar vita as you, and while I often use Go for new projects, coming back to PHP and especially Laravel or Symfony is a joy. And with Octane, you can even combine PHP with Go.

    • @ridiculoushot3691
      @ridiculoushot3691 3 หลายเดือนก่อน

      12 years using most php hoping that will get better. And here we are.

    • @captaincavemonkey
      @captaincavemonkey 3 หลายเดือนก่อน +3

      45 here started with php at 19 and still at it. People have been telling me it was a dead language since I was 25

    • @nm6x
      @nm6x 3 หลายเดือนก่อน

      @@aarondfrancis I wish I could, I didn’t wanted to stop using it, it’s just the industry, hype, whatever you want to call it. Never the less I still enjoy the content, core concepts such as IoC, are transferable to any tool, so let’s keep at it!

  • @HusseinAli-ih7tk
    @HusseinAli-ih7tk 3 หลายเดือนก่อน +14

    Awesome content Aaron 👍 Your super educational way of teaching got me into php and Laravel after years of hesitating to try it, and now there is no way back. Thanks for sharing your knowledge mate ♥

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน

      You're welcome! Thanks for saying so

  • @rodjenihm
    @rodjenihm 3 หลายเดือนก่อน +36

    First party? That's sucks. I wanna pay $20 per month for SaaS subscription to do that.

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน +1

      😂

    • @ShaunEk1
      @ShaunEk1 3 หลายเดือนก่อน +2

      Ha, yeah if your system is very simple and Laravel only this is kinda cool. As soon as you have heterogeneous systems that need to work together this simple, free solution will fall down

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน +2

      Or you can write your own storage driver! Honestly just using the database driver is probably good enough. You can read it from anywhere

    • @mattmotionpix
      @mattmotionpix 3 หลายเดือนก่อน

      A subscription and a network dependency (point of failure)

  • @nicgeorge6126
    @nicgeorge6126 3 หลายเดือนก่อน +4

    I’m so glad to see you making content on your own channel. To the moon my friend, to the moon!

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน

      Thank you! 🚀👨‍🚀

  • @Alex_online
    @Alex_online 3 หลายเดือนก่อน +5

    Another banger, though dark mode would make it a lot easier to watch at night 🔥👀

  • @GuRuGeorge03
    @GuRuGeorge03 3 หลายเดือนก่อน +1

    Currently building a quite complex meta search engine and Laravel makes it so easy. Probably launching production this year. If i did it in another stack it'd probably take me more than a year

  • @jagadishk
    @jagadishk 3 หลายเดือนก่อน +1

    Woah .. this is so much better than what I have had to do in Node.js and Next.js applications!!

  • @yeapea
    @yeapea 3 หลายเดือนก่อน

    Simply so great and clearly explained! Thank you!

  • @nulljeroka
    @nulljeroka 3 หลายเดือนก่อน

    It's great to have first-party FF, nice video man.

  • @alexandersix_
    @alexandersix_ 3 หลายเดือนก่อน

    "That seems....pretty ~dumb~" - Aaron Francis, looking at his own code.
    Love the video! Bookmarking literally all of these to send to people when they ask me why I still use PHP/Laravel in 2024

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน +1

      Hahaha I wrote that code and that was my immediate, unfiltered thought 😂

  • @rationalityfirst
    @rationalityfirst 3 หลายเดือนก่อน

    Aaron, a tip for the artisan cli: if you type `artisan ` you will get all the commands in that namespace. For a shorter display you can make it error out adding the : after the namespace.

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน

      Oh nice! Smart

    • @rationalityfirst
      @rationalityfirst 3 หลายเดือนก่อน

      @@aarondfrancis The Laravel team thought of everything!

  • @ihzakarunia2408
    @ihzakarunia2408 3 หลายเดือนก่อน

    If not because of subscribing to you, i would not have known about this neat feature flags in laravel. I usually use spatie permission and sometimes it just too granullar for my use cases, maybe the thing i need for my past projects was this feature flags. Thank you Aaron!
    Maybe for future topics, is there an Alert System in Laravel to notify developer if some user encounter error in their production apps?
    Keep up the good works, your videos is very pleasant to hear!

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน +1

      Thank you so much!

  • @kohlkohlbrenner3349
    @kohlkohlbrenner3349 3 หลายเดือนก่อน

    You rock Aaron!

  • @DanielDogeanu
    @DanielDogeanu 3 หลายเดือนก่อน +1

    I don't use Laravel, and last time I touched PHP was over 6 years ago... Why am I here? 😂
    PS: Awesome video, as always! 😊

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน +2

      We'll get you back!

    • @DanielDogeanu
      @DanielDogeanu 3 หลายเดือนก่อน

      @@aarondfrancis I wouldn't mind, I heard you guys have Lambos! 😆

  • @dashcharger24
    @dashcharger24 3 หลายเดือนก่อน

    Thanks for sharing!

  • @ThePandaGuitar
    @ThePandaGuitar 3 หลายเดือนก่อน

    awesome video!

  • @biomorphic
    @biomorphic 3 หลายเดือนก่อน +2

    Pennant looks great. The problem I have with feature flags is that people abuse it. I have seen codebase with hundreds of feature flags, a thousands of dead lines of code, never been deployed/used. Also I have seen deployments failing because of too many if/then. Because when you develop a feature you have code regarding that feature everywhere. So feature flags should be only used when strictly necessary,, and not as development approach. Having only the master branch and relaying exclusively on feature flags is a (very) bad idea. Trunk development is a bad idea. Use branches, gitflow, and eventually feature flags, when you are rolling out features that require to be tested by a restricted number of users. This is not the case for all the features, this is the case for just a small percentage of you develop. Abusing feature flags will make your code unreadable. Also flags should be removed when the feature is released for all. Does Pennant have something for that?

    • @rand0mtv660
      @rand0mtv660 3 หลายเดือนก่อน

      Both gitflow and trunk based development have their own tradeoffs, as everything in programming. I worked with both patterns and cannot really decide which one I like more. Although I do have to agree feature flags do get abused a lot in trunk development. People are like "Oh I have to change this page title to say something else, I'll put it behind a feature flag" and proceed to create a feature flag for most useless of things. Hiding larger features or chunks of logic behind feature flags I think is nice, but going too granular is a maintenance nightmare.
      I've seen people introduce feature flags into code only to remove them literally 24-48 hours later, which is pointless and just unnecessary overhead.

  • @fromvega
    @fromvega 3 หลายเดือนก่อน

    Hi Aaron, me too I prefer light mode to work but I find that dark mode more versatile for videos for two reasons: first, white is too bright when watching at night 😅 and two, switching from full frame video to white editor is too harsh. Anyway, just my 2 cents. Keep up the good work.

  • @vdemcak
    @vdemcak 3 หลายเดือนก่อน

    Can you sometimes share your PHP Storm config? Looks pretty neat.

  • @Torbikini
    @Torbikini 3 หลายเดือนก่อน

    These videos make me want to use Laravel more and more. I wonder how hard it’d be to swap now. I have been working on a Vue 3 front end and just started the backend portion. Express is proving to be a headache for logging in with Steam 💀
    I might have to learn more and see if this is the perfect fit, I’m just not too sure how to best connect existing data or if I can define models for an existing schema. I’ll have to investigate 🕵️‍♂️

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน

      You might like this video, particularly the inertia part! th-cam.com/video/gRtv-BVkwA4/w-d-xo.html

    • @rand0mtv660
      @rand0mtv660 3 หลายเดือนก่อน +1

      If you just started working on your backend and didn't do much work, just switch to Laravel. In Express you'll end up connecting 10 different libraries for things that Laravel provides out of the box and that all integrate nicely in Laravel because they are officially supported. And also Express is outdated and isn't really maintained for a few years now.

  • @edventuretech
    @edventuretech 3 หลายเดือนก่อน

    I'm curious what is the Database management tool you use in this video?
    Is that DB Browser?

    • @alcymn
      @alcymn 3 หลายเดือนก่อน +2

      He’s using TablePlus

    • @edventuretech
      @edventuretech 3 หลายเดือนก่อน

      @@alcymn Thank you 🥰

  • @rajeshbudhathoki7888
    @rajeshbudhathoki7888 3 หลายเดือนก่อน

    What's the name of white theme of phpstorm? I liked it.

  • @radui7468
    @radui7468 3 หลายเดือนก่อน +1

    Can you do the same thing with Gates?

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน

      Maybe! Not super sure.

  • @dissomedia
    @dissomedia 3 หลายเดือนก่อน +3

    Sneaky finger at 5:23 😋

  • @lpanebr
    @lpanebr 3 หลายเดือนก่อน

    Great! Would this also be recommended for user preferences that they choose themselves?

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน

      Hmmm I don't know if I've ever seen anyone use Pennant for that. I bet you could make it work, but it feels like a little bit of an unsupported use case

    • @lpanebr
      @lpanebr 3 หลายเดือนก่อน

      @@aarondfrancis cool, I'll look into it. I'm new to Laravel. Thank you for the reply! I love your content! ❤️

  • @Ashish_singh_dev
    @Ashish_singh_dev 3 หลายเดือนก่อน

    Do we have any good lsp of laravel for vscode?

  • @anesu6184
    @anesu6184 3 หลายเดือนก่อน

    light theme was a horrible idea

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน

      Besides that, what'd you think

  • @sabinmaharjan3971
    @sabinmaharjan3971 3 หลายเดือนก่อน

    I'm thinking why do we actually need that feature?

  • @MesheeKnight
    @MesheeKnight 3 หลายเดือนก่อน

    light theme console? you must be a psycho :D

  • @muzakirnur7069
    @muzakirnur7069 3 หลายเดือนก่อน

    okay, but why light mode ?

    • @aarondfrancis
      @aarondfrancis  3 หลายเดือนก่อน +7

      same reason I do almost everything I do: I like it

    • @ahmad-murery
      @ahmad-murery 3 หลายเดือนก่อน

      @@aarondfrancis Finally found someone who is not trend-driven👍

    • @mike-2342
      @mike-2342 3 หลายเดือนก่อน +3

      Because he wants this information to be seared into your retinas so you retain it

  • @IndaQLV
    @IndaQLV 3 หลายเดือนก่อน

    first

  • @33sprog5min2
    @33sprog5min2 3 หลายเดือนก่อน

    i like the way you make the explanations more easier
    Thanks