Flutter Clean Architecture Visual Explanation

Поділитися
Вставка
  • Опубліковано 29 гру 2024

КОМЕНТАРІ • 61

  • @FlutterMapp
    @FlutterMapp  Рік тому +1

    🔥Complete Free Clean Architecture Course Available Here: ua-cam.com/video/SmJB8cy8emU/v-deo.html

  • @glitchlover260
    @glitchlover260 Рік тому +14

    for first time I fully understood the concept of clean code

  • @maxc9432
    @maxc9432 Рік тому +4

    I was literally just thinking about to find a Flutter Clean Architecture with diagram visualization, and here we are!

    • @FlutterMapp
      @FlutterMapp  Рік тому

      If you need more info, you can find the full course available for free here: ua-cam.com/video/SmJB8cy8emU/v-deo.html . Thanks Maxc

  • @adimardev1550
    @adimardev1550 10 місяців тому +1

    one million thanks for our guy here. very clear, concise and effective.

  • @krisnaerlangga8998
    @krisnaerlangga8998 7 місяців тому

    One of the best visualization of clean architecture. Thank you

  • @demonocrazi7264
    @demonocrazi7264 7 місяців тому

    The way you teach is very understandable. Thanks!

  • @BioInASec
    @BioInASec 3 місяці тому

    So helpful, you really put your time into this! May God Bless you!

  • @Asafo-AdjeiJensenKwekuSedem
    @Asafo-AdjeiJensenKwekuSedem 5 місяців тому

    I really appreciate you guys taking your time to explain this to us. Thanks so much.🙏🏾🙏🏾

  • @bhaaratkrishnan7075
    @bhaaratkrishnan7075 Рік тому +7

    Amazing video 🔥 post more videos on clean architecture using bloc and riverpod

  • @AdityaBolt
    @AdityaBolt Рік тому

    This is the best way to explain clean architecture!

  • @ThePilli41
    @ThePilli41 Рік тому

    Oh boy! Im not gonna lie, I missed you! its great to see you are back. Cant wait for more content coming

    • @FlutterMapp
      @FlutterMapp  Рік тому

      Much appreciated 🙏 Feel free to send video ideas at info@fluttermapp.com ✌

  • @YuriyShevtsov
    @YuriyShevtsov 11 місяців тому

    They completely changed the approach, and again everyone’s favorite anti-pattern of the anemic model

  • @medch1750
    @medch1750 Рік тому +11

    For the data update step, shouldn't the presentation layer and the data layer ever talk to each other directly and use the domain layer instead?

    • @manfredkernMK
      @manfredkernMK 8 місяців тому +1

      I share the same opinion. The data should bubble up thru the domain layer to the presentation layer.

    • @ThwjxisnIsJusbctAPrcnijv-rl8lp
      @ThwjxisnIsJusbctAPrcnijv-rl8lp 29 днів тому

      I was surprised when I heard it, though I'm a bit new to this field 😂

  • @nipunshah1373
    @nipunshah1373 Рік тому +3

    How datasoudrce directly talk to providers?
    It needs to pass back via usecase only, correct ?

    • @FlutterMapp
      @FlutterMapp  Рік тому

      Full course available for free here: ua-cam.com/video/SmJB8cy8emU/v-deo.html . I hope this will help you 🙏

  • @SamoThreeSixty
    @SamoThreeSixty 2 місяці тому

    Great work!

  • @yusufmuhammad9866
    @yusufmuhammad9866 Рік тому

    nice explanation, I feel more understood from your explanation rather than the other, thanks

  • @NikiRahmadiWiharto
    @NikiRahmadiWiharto 5 місяців тому

    I like this video, it simple to understand the hole of clean architecture things

  • @myst.youtube
    @myst.youtube 4 місяці тому

    now I can be able to use this in all my projects.

  • @kirill4531
    @kirill4531 Місяць тому

    Hold on. The flow depicted incorrectly.
    The Data does not go from the DataSource to Provider.
    Pages contain (depends on) Providers.
    Provider contain UseCase.
    UseCase contain Repository.
    Repository contain DataSource.
    And when the UI needs data to render - the Provider asks it from the UseCase, it in turns asks the Repository, and repo asks DS and then the Data returns ALL THE SAME WAY up to the UI in reverse order.

  • @frankmwale1580
    @frankmwale1580 Рік тому +2

    Because I never understood usecases, from the source I was reading, I'm using riverpod(my provider) as a bridge between the UI and the repositories in the domain layer. I would love to see an implementation of the usecases and see how I can refactor my code if need be

    • @FlutterMapp
      @FlutterMapp  Рік тому

      Hi Frank, You can find the full course available for free here: ua-cam.com/video/SmJB8cy8emU/v-deo.html ✌✌

    • @kirill4531
      @kirill4531 Місяць тому

      In most of the cases you don't need UseCases, only when the logic is really complicated or it's reused in different places of the app.
      In most of the cases your business logic lives in your Cubits/Provders and is needed only on one specific page so no need to move this stuff into a separe UseCase class

  • @holi906
    @holi906 Рік тому +4

    Good video!👍 Easy to understand the concept with visual
    It will be great if you can make an extra video to explain the concept with code example
    Good job!

    • @billiardoxx
      @billiardoxx Рік тому +1

      I support this request, long time ago I tried to implement this approach in my project but it was confusing because shared tasks like datasource and utils. Some people uses actions/events instead of pages, because a page can be a composition of other pages. so I hope that a moderately complex project is developed that covers these cases

    • @tristangrobler4950
      @tristangrobler4950 Рік тому

      Would also like this

  • @Kot4san
    @Kot4san Рік тому +6

    This video is a lot of work but, without concrete code examples, I don't understand.
    I'm using Flutter, Provider and Riverpod daily. Can you please show me the folder architecture and an example with dart files?
    Thank you for your work!

    • @FlutterMapp
      @FlutterMapp  Рік тому +1

      You can find the full course available for free here: ua-cam.com/video/SmJB8cy8emU/v-deo.html

  • @HudaHuda-i8n
    @HudaHuda-i8n Рік тому

    What a great video, thanks alot !!😄

  • @arslanaliwarsi6309
    @arslanaliwarsi6309 6 місяців тому

    Perfect dude ❤❤

  • @abdulrahmanadeyemi1491
    @abdulrahmanadeyemi1491 Рік тому

    thanks, this was very helpful

  • @MrIcontrol
    @MrIcontrol Рік тому

    Where would you put the reactive logic ? for example you send a request to the server, the server respond OK now you want to show a toast and navigate where would you do that?

  • @marufhassan634
    @marufhassan634 5 місяців тому

    Can someone explain what Repositories (Entities) do and why then it goes to Repositories (Models)? Why doesn't it go directly from Repositories (Entities) to DataSource? What does Repositories (Models) do?

    • @kirill4531
      @kirill4531 Місяць тому

      I think he tried to explain the Interface usage.
      On the Business layer we should use an Interface of the Repository which uses the business entities.
      But the actual implementation of the Repository lives in the Data layer.
      There should be no Repositories which operate with rae models (DTO)

  • @joshuabumanlag396
    @joshuabumanlag396 Рік тому

    Amazing Video as always! I hope you still remember me HAHA! Been here since Day 1

    • @FlutterMapp
      @FlutterMapp  Рік тому

      Yoo Joshua, for sure I remember you, It's been a while man! 🙏

    • @joshuabumanlag396
      @joshuabumanlag396 Рік тому

      @@FlutterMapp I still been an avid fan of your work! Im super proud and happy about your growth and work!

  • @lesptitsoiseaux
    @lesptitsoiseaux Рік тому

    Tu fais tu UA-cam a temps plein? J'adore tes videos en passant. C'est grace a toi en parti que mon application progresse bien!

    • @FlutterMapp
      @FlutterMapp  Рік тому

      Letsgooo! UA-cam for fun only yet lol 🙏 C'est quoi ton app?

    • @lesptitsoiseaux
      @lesptitsoiseaux Рік тому

      @@FlutterMapp elle résous le problème de confiance entre inconnus.

  • @sifodev8180
    @sifodev8180 7 місяців тому

    Thanks !

  • @SerdarPolat21
    @SerdarPolat21 4 місяці тому

    where is domain layer?

    • @kirill4531
      @kirill4531 Місяць тому

      Domain is the business layer

  • @chomanthapa
    @chomanthapa Рік тому

    Man! this thing was causing me a headache, thank for simplifying it. Nice circle tho

  • @codewithroman8180
    @codewithroman8180 Рік тому

    Sir clean architcure playlist make

  • @nobodydoe
    @nobodydoe Рік тому +6

    Well, this is just yet another opinionated view, I would suggest to take it with a grain of salt. Do your own research.

  • @Xenonandplutonium
    @Xenonandplutonium Рік тому

    😇👍

  • @lynnboyd1109
    @lynnboyd1109 Рік тому

    'Promosm'

  • @shrek95372q
    @shrek95372q Рік тому

    Why do all this pain when you can write javascript code? Also react faster than flutter, it's proven many times, why do this bro?

    • @kirill4531
      @kirill4531 Місяць тому

      Flutter apps are faster then React native apps

    • @shrek95372q
      @shrek95372q Місяць тому

      @kirill4531 do not pizdi