Implement Authorization Using Doctrine Filters - Build Expense Tracker App With PHP 8

Поделиться
HTML-код
  • Опубликовано: 1 май 2023
  • In this video, we explore the fundamentals of implementing basic authorization using Doctrine filters. Learn how to create and configure filters, manage their state with the EntityManager, and apply authorization rules to your application effectively. Improve the security and efficiency of your application by following this step-by-step guide on using Doctrine filters for basic authorization.
    SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
    👍 Smash the like button
    🤝 Subscribe to the channel & turn the notifications on
    💬 Post comments, any feedback is greatly appreciated
    ⭐ Become a Patreon: / programwithgio
    THANK YOU!
    🛠️ TOOLS & SERVICES I USE
    Digital Ocean Hosting - Get 100$ credit - m.do.co/c/38b935ad74e5
    Domains on Namecheap - namecheap.pxf.io/rnRjdQ
    Envato Elements - 1.envato.market/c/2937311/298...
    LESSON P.28
    Doctrine Filters - www.doctrine-project.org/proj...
    Starting Source Code - github.com/ggelashvili/expenn...
    Ending Source Code - github.com/ggelashvili/expenn...
    Course Outline - github.com/ggelashvili/learnp...
    Course Playlist - • Learn PHP The Right Wa...
    ** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.

Комментарии • 12

  • @user-jz2kl1iv6d
    @user-jz2kl1iv6d Год назад +1

    Thank you so much, Gio. I really enjoy for your lessons. I hope you, Php frameworks(Yii2, Laravel, Symfony and etc.) or Go programming language lessons. Keep it on

    • @ProgramWithGio
      @ProgramWithGio  Год назад

      Thank you 🙏. Yes once we are done with this series we'll start with Laravel

  • @walayat_khan
    @walayat_khan Год назад

    Thanks for one more good video. I was struggling with authorization issue, now it will really help me in upcoming projects.

  • @Zubbee
    @Zubbee Год назад

    Hi Gio. I was really thinking about how authorization and access will work. Thought of different ways to do it but I didnt know about doctrine filters. Its eye opening. Thanks alot.
    This is also making me know that reading up on documentation is really important. Thank you for always pointing us to documentation. I need to dive into that more. Especially when I'm trying to understand things more or solve a problem.
    I'm curious about how page view authorizations are handled on an advanced level(like frameworks) too. Like different user authorization levels.
    Thanks Gio, this lesson is great. I'm now up to speed.

    • @ProgramWithGio
      @ProgramWithGio  Год назад

      Yup, most frameworks offer authorization out of the box making implementing user permission based access much easier. There are also third party packages that provide that functionality

  • @mibSuperStar
    @mibSuperStar 3 месяца назад

    Hi, thanks for nice video. I think that using cascade removal for receipts doesn't solve problem. Receipts files after this are still present on the hard drive

    • @ProgramWithGio
      @ProgramWithGio  2 месяца назад

      Yes that is correct, which is why you would need to have that logic built into the receipt removal to actually remove the physical file

  • @Sathiyapriyan_j
    @Sathiyapriyan_j Год назад

    Hello sir could you upload the video about how to upgrade version in php & frameworks laravel

    • @ProgramWithGio
      @ProgramWithGio  Год назад

      I think I replied to your question in previous video. We will be updating this project to 8.2 later on, so when we get to it, I'll upload. Haven't gotten to that point yet :). As for Laravel, we are not working on Laravel in this series.

  • @SazianNULL
    @SazianNULL Год назад

    5:39 This query looks awfully, seriously two subqueries for counting data from one table? It looks like a nightmare.
    And that's one of the reasons why I don't like orms.

    • @ProgramWithGio
      @ProgramWithGio  Год назад +3

      That's for pagination, but yea in general I agree some queries ORMs generate are not the best. Though it usually is not the bottleneck for performance issues, and if it becomes an issue it can be optimized by writing it manually. The benefit outweighs the risk in this case because of convenience & easy to set up pagination.