Reduce Memory Consumption & Speed Up Imports - Build Expense Tracker App With PHP 8

Поделиться
HTML-код
  • Опубликовано: 5 июн 2024
  • In this video, we'll optimize our transaction importer, reducing memory consumption and increasing speed. Learn how to efficiently use Doctrine ORM's flush and clear methods to create a high-performance app.
    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.24
    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...
    Clockwork - underground.works/clockwork
    ** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.

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

  • @ArifBasri
    @ArifBasri 10 месяцев назад +2

    all the videos worth more than gold , I am subscribing to patreon to support Gio

  • @kgsint
    @kgsint 8 месяцев назад

    Look like I need to rewatch 3 or 4 times to consume the information. Honestly, a little bit overwhelming for me who has been learning web development and related technologies for (only) over a year. And also, Thank You, Gio. I've reached this far and I'm going to rewatch the entire playlist again.

    • @ProgramWithGio
      @ProgramWithGio  8 месяцев назад +1

      That is totally normal, take a break & go back to it. You got this

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

    Hi Gio. Thanks a lot for this. I was able to make my own 1k and 10k samples. It all worked like you said. I'm curious to see the refactor since we had to comment out the addTransaction on the set category and on the set user functions. These optimization techniques are very insightful Gio. You teach things that people hide. Thanks you so much

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

    Thanks Gio for your efforts. The playlist is going to be more interesting. We are waiting for Laravel playlist with impatience.

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

      Me too, can't wait to finish the series so I can get started on Laravel

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

    Wow this topic! I'm nothing but grateful for this channel mehn! I'll be back when I go through. Thanks Gio

  • @DaviMartins99
    @DaviMartins99 Год назад +1

    Great content as always

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

    Hi, could you cover multiple file/image upload with some server-side resizing and cropping etc? Basically what lacks is not the uploading, it's the optimization so that they upload fast. Without any special tweak, multi-image upload with ajax is really slow. Would love if that's covered. As always, great great series.

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

      Hey. Thanks for the suggestion, maybe as a separate video in future

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

      @@ProgramWithGio Thanks! This is like a very fundamental use case and I could not find any in PHP or Node community.

  • @testpurpose5161
    @testpurpose5161 Год назад +1

    Thank you

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

    Thanks

  • @KaydotOrigin
    @KaydotOrigin 10 месяцев назад

    Transactions create locks on tables, is this a good idea for large apps where the accessibility of data is critical?

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

      Answer is "it depends" :D. You can solve that using different types of locks, optimistic/pessimistic locks, again depending on the data you are trying to access. In most cases its a row-level locking so it locks that specific row so unless you have many concurrent transactions trying to do something with the same row there should be no issues. And if that becomes an issue there is solution for it too, but it again depends on the situation.