#4 - BLoC Architecture - Presentation, Business Logic & Data Layer + Model, Repository, DataProvider

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

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

  • @Flutterly
    @Flutterly  3 года назад +15

    Hello, everyone!
    The entire course is now live on Udemy too, get it while it's hot --> www.udemy.com/course/bloc-from-zero-to-hero/?referralCode=E689592633984B34DBEF
    Also I have just managed to finally finish the entire BLoC - From Zero to Hero Complete Course, based on this tutorial series. You can check it out here -> ruclips.net/video/THCkkQ-V1-8/видео.html

  • @nidalbakir4720
    @nidalbakir4720 4 года назад +56

    I see high-quality RUclipsr here 😍

    • @Flutterly
      @Flutterly  4 года назад +3

      Thank you so much!

    • @TechyDiscGolf
      @TechyDiscGolf 4 года назад +2

      I vouche for that! Please keep making videos! @Flutterly

  • @sargamagarwal4544
    @sargamagarwal4544 3 года назад +7

    How can someone explain such complex concepts with such ease and clarity 🔥🔥🔥

  • @yldz9435
    @yldz9435 4 года назад +29

    Thanks to your tutorials I've corrected lots of my mistakes and made my project more efficient. Thanks for the tutorials, keep it up!

    • @Flutterly
      @Flutterly  4 года назад +4

      I'm really glad to hear that, thanks!

  • @fanusgebrehiwet6286
    @fanusgebrehiwet6286 4 года назад +35

    It's just amazing how much effort you put into these videos - Impressive.

    • @Flutterly
      @Flutterly  4 года назад +1

      Thank you so much! I appreciate it!

  • @muhammadanas7502
    @muhammadanas7502 3 года назад

    you are best teacher of Flutter that i have ever see...keep it up...

  • @delmontee
    @delmontee 9 месяцев назад

    This is the first group of tutorials that I have watched that actually makes sense. Thanks for this, I might finally be able to code properly now.

  • @phantomcodes1023
    @phantomcodes1023 2 года назад +1

    This is the best bloc tutorial ever..I'm so grateful

  • @victoradepoju5510
    @victoradepoju5510 2 года назад +2

    This is GOLD! Every single tutorial has been very brilliantly dealt with so far! Thank you!

  • @csharpification
    @csharpification 3 года назад +2

    Whenever I am learning new technology, I'm struggling to find tutorials like these. Great tutorials.

  • @rohantaneja3861
    @rohantaneja3861 3 года назад +3

    After watching the ResoCoder TDD with Flutter BLoC series, I thought nobody would be able to match that quality of content. I have to admit that I was wrong. The quality of content in your entire BLoC series is amazing! 🔥

    • @Flutterly
      @Flutterly  3 года назад +1

      Thank you so much for your kind words! I appreciate it! ResoCoder has put more accent on TDD rather than BLoC on that series, but it's still an amazing series nonetheless!

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

    the best bloc course ever in the internet thanks a lot

  • @shehreyarkhan.
    @shehreyarkhan. 4 года назад +1

    Awesome, I think no one has explained it the way Mr. WCKD has. Simple, intuitive, and complete.

    • @Flutterly
      @Flutterly  4 года назад

      Thank you so much! ✨

  • @elsaiedsamaka7373
    @elsaiedsamaka7373 4 года назад +2

    no way! even the creator of bloc flex didn't explain it the way u did
    KEEP GOING U R AWESOME

    • @Flutterly
      @Flutterly  4 года назад +1

      Thank you so much! Actually, Felix, the creator of BLoC is one of the best and most helpful people I have ever had a chance to talk too! He helped me a lot with these videos and overall with all the concepts back then when I firstly encountered bloc and Flutter. ♥ Thank you for your feedback though! I appreciate it!

  • @SIDDARTHBHURA
    @SIDDARTHBHURA 3 года назад +1

    I guess No one has ever explained such things in such simple manner. Thank You for taking out your time and creating such videos.

    • @Flutterly
      @Flutterly  3 года назад

      You are most welcome!

  • @fidamuntaseer1989
    @fidamuntaseer1989 4 года назад +7

    I was literally waiting for your next video in the series...good work!

    • @Flutterly
      @Flutterly  4 года назад +2

      Thank you, more to come!

  • @danieldey
    @danieldey 3 года назад +3

    This channel is gonna blow up for sure!

    • @Flutterly
      @Flutterly  3 года назад +1

      Haha, hopefully it will, man, I really appreciate it!

  • @dhaveb.4335
    @dhaveb.4335 2 года назад

    Yesterday i searched google "understanding flutter bloc for beginners" and this video came out and today i am watching from the beginning because it gives me what I was looking for as a newbie in flutter bloc. Amazing explaination, a newbie like me understand it very well lol. Keep it up please. Btw i also want to understand flutter clean architecture in laymans terms or how you are explaining it here. Thanks, done subscribing. 👍🏻

  • @aakashr79
    @aakashr79 3 года назад +2

    Loved the architecture comparison between the human body and code. Can't humanize tech more than that. Great work!

  • @budiharyonoo
    @budiharyonoo 3 года назад +1

    The most simple and comperhensive tutorial about BLoC. Thanks Man! I appreciate your work

  • @MrEvansjethro
    @MrEvansjethro 3 года назад +3

    I immediately subscribed without hesitation. I've learned a lot in just 15 minutes, man you are great!

    • @Flutterly
      @Flutterly  3 года назад

      Thank you for your feedback! ✨ I am glad you like my content!

  • @nandomkumchi4377
    @nandomkumchi4377 4 года назад +1

    I love your tutorials... I had dreaded BLoC pattern for some time now... But with these tutorials I can conquer the world

    • @Flutterly
      @Flutterly  4 года назад

      Thank you so much! I am really pleased and happy that you find them easy to understand and learn. Keep going!

  • @ivanyoed
    @ivanyoed 3 года назад +1

    Perfect diagram for the bloc architecture workflow.

  • @tevinmorake8924
    @tevinmorake8924 3 года назад +1

    I am literally unlearning what l thought I learnt properly through other content creators. Thank you, and keep it up! I am binge-studying and making changes to my apps

    • @Flutterly
      @Flutterly  3 года назад

      Thank you so much! ✨

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

    i just cant thank you enough.
    you have made it so clear and concise for a beginner like me !!
    lots of love and respect for you & your hard work !!
    Thanks a lot !!

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

    Best explanation I have ever seen. Thank you for your hard work. Bravo !!!

  • @ale27379
    @ale27379 2 года назад

    Thank you so much! I've finally learned these difficult concepts after many months of reading and watching videos over the entire internet with no results. And you in 15 minutes explained, in an understandable way, what others couldn't do in hours! From now on, you are my idol! 👍

  • @admincreatives4242
    @admincreatives4242 4 года назад +11

    Bro, I fell in love with your content

    • @Flutterly
      @Flutterly  4 года назад +1

      Thank you so much!

  • @hasan_eke
    @hasan_eke 2 года назад

    Sir you are just amazing. I can`t believe these videos are free. Thank you so much for these valuables videos.

  • @alvin3171997
    @alvin3171997 4 года назад +4

    Finally clear up my doubts on where to implement try - catch.
    So i should now wrap all my blocs functions in try- catch now

    • @Flutterly
      @Flutterly  4 года назад

      Yes, it's a great solution to take care of problems caused by the data layer. You should also wrap the repositories and data providers too

    • @alvin3171997
      @alvin3171997 4 года назад

      Flutterly you mean I have to wrap try - catch for ALL layers?

    • @Flutterly
      @Flutterly  4 года назад

      Yeah, I meant you should wrap any operation that you know may cause issues into a try/catch

  • @alpsavasdev
    @alpsavasdev 4 года назад +3

    A clear explanation, indeed. Bravo!

  • @oliveryt7168
    @oliveryt7168 4 года назад +1

    I have no idea of Flutter, was only looking for videos that describe business logic. You put so much work into it and explained it very well!

    • @Flutterly
      @Flutterly  4 года назад

      Thank you so much, I appreciate it!

  • @guylianwashier4583
    @guylianwashier4583 3 года назад +1

    Only 2 minutes in and my current way of developing webapps is being called a complete failure, this is going to be good :D

    • @Flutterly
      @Flutterly  3 года назад +1

      Haha, thanks for the feedback, man! ✨

  • @sibulelemboyi
    @sibulelemboyi 3 года назад +2

    You are a king man, thank you so much for this BloC series

  • @ShehabRamyCodoo
    @ShehabRamyCodoo 3 года назад +1

    I think I will be back for this channel, Good work!

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

    very clear and from what i can tell this will immensely useful... What i need is to make my code maintainable

  • @GabrielCosta-xr5vr
    @GabrielCosta-xr5vr 4 года назад +2

    Great video as always! Loving this series! It's like a introduction to the DDD of ResoCoder but teaches more easily somethings that aren't said there. Really glad that the next video will be about bloc testing!

    • @Flutterly
      @Flutterly  4 года назад +1

      I'm glad I could help. ResoCoder's TDD series is also amazing and well structured! Lots of things to be learned from that too!

    • @GabrielCosta-xr5vr
      @GabrielCosta-xr5vr 4 года назад +2

      @@Flutterly man, I don't know if you know that but Feliz (creator of bloc) posted this video on the bloc discord channel. Congratulations! I think your videos will be very helpful to the community!

    • @Flutterly
      @Flutterly  4 года назад

      Thank you so much! Didn't know, but I know Felix is an amazing and helpful person! 🌟

  • @tec3051
    @tec3051 4 года назад +1

    Thank you. The best tutorial I saw about how it works Bloc.

  • @mouadz1065
    @mouadz1065 4 года назад +2

    Let's fucking go , I finnaly found someone that explains bloc very well :))))))))

  • @gerardsimons3757
    @gerardsimons3757 3 года назад +1

    Excellent videos dude, I keep coming back to certain frames of the video to get that one overview, just to refresh my memory. Keep up the good work!

    • @Flutterly
      @Flutterly  3 года назад +1

      Thank you so much! I appreciate it!

  • @ChioWong-q1n
    @ChioWong-q1n Год назад

    Your course on Bloc is really good!

  • @raymolide
    @raymolide 11 месяцев назад

    So amazing, zero to hero for real.

  • @thiemoimgraben1915
    @thiemoimgraben1915 3 года назад +1

    Amazing Tutorial Series 🔥

  • @joaquinalanalvidrezsoto5054
    @joaquinalanalvidrezsoto5054 2 года назад

    Excellent and super clear explanation

  • @napo5730
    @napo5730 3 года назад +1

    Fantastic!! This is by far the best tutorial I have seen on bloc and application architecture. Amazing. Thanks a lot 😃😃🙏

    • @Flutterly
      @Flutterly  3 года назад

      Thank you so much, I appreciate your feedback!

  • @satishraizada5207
    @satishraizada5207 4 года назад +1

    Wonderful, composite easy to understand with pictorial presentation, Can't wait for the coding part.

  • @PaRaDoX50
    @PaRaDoX50 3 года назад +1

    Perfectly explained man! Way to go!

  • @arnaudduquenoy2061
    @arnaudduquenoy2061 3 года назад +1

    I only there could have only intermediate-advanced Dart-Flutter tutos like these on the internet and not basic ones that are so easy to find 👍

  • @solaymanmousa5083
    @solaymanmousa5083 3 года назад +1

    WOW !!! amazing and high quality content !! Thanks

  • @ayushagrawal2473
    @ayushagrawal2473 3 года назад +1

    BEST EXPLANATION EVER!!!!

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

    If youtube alows me: HOLY DDDDAANNNG FKKK!!! THIS IS GOLD! I understood more in this video than in LITTERALLY 3 hours of my flutter teacher on Udemy.

  • @drankou
    @drankou 3 года назад +1

    Great combination of illustrations and clear explanation. Keep it up! :)

  • @senakahraman2715
    @senakahraman2715 2 года назад

    i swear my god i am so happy to find your videos you r the best mannn !

  • @svenschroder9781
    @svenschroder9781 4 года назад +1

    This is absolutely amazing! Perfectly explained. Well done!

    • @Flutterly
      @Flutterly  4 года назад

      Thank you so much! ✨

  • @KenWhipday
    @KenWhipday 4 года назад +4

    Thanks - it explains the purpose of the different layers really well - I'm going to refactor some of my existing code and try it out now :-)

    • @Flutterly
      @Flutterly  4 года назад +1

      Thanks so much for your extensive feedback, let me know how the refactoring works for you in the end, looking forward

    • @KenWhipday
      @KenWhipday 4 года назад +1

      @@Flutterly The refactoring went ok, getting error messages from APIs back to the bloc was a bit tricky (eg working out which technique to use), but the overall structure looks tidy and should scale well, as I add more features. Looking forward to the next vid -)

    • @Flutterly
      @Flutterly  4 года назад

      I'm really happy that it went amazing for you, more real world app examples will come in the near future so that you can practice the architecture even more!

  • @satishraizada5207
    @satishraizada5207 4 года назад +1

    Simply amazing video, could not wait for the real coding part 👍🏻

  • @Orinshwift
    @Orinshwift 4 года назад +2

    Your content has helped me a ton! Thank you for the time and effort that you put into these. Keep up the good work, I’m sure more viewers will come!!

    • @Flutterly
      @Flutterly  4 года назад +1

      Thank you so much for your kind words! I appreciate it! I'll keep the content coming!

  • @ryanle6442
    @ryanle6442 3 года назад +1

    This is BEAUTIFUL!

  • @webghost2009
    @webghost2009 3 года назад +1

    Great explanation with clear illustrations, I can say I didn't see something like this before. Keep doing the great job, and please make real, really real application apps, even if it is paid I am the first subscriber.

    • @Flutterly
      @Flutterly  3 года назад

      Thank you so much, I will! They'll be free, I want everyone to have access to my content! ✨

  • @codejournalbysyahrin
    @codejournalbysyahrin 3 года назад

    Nice, you help me a-lot on understanding the concept of Bloc. Thanks, Great video BTW.

  • @rahulwarule2812
    @rahulwarule2812 3 года назад +2

    Hi, Thanks to your tutorials and It's amazing.
    I've corrected lots of my mistakes and made my project more efficient.

    • @rahulwarule2812
      @rahulwarule2812 3 года назад

      one suggestion bro.. pls make real time code in video.

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

    Amazing video, everything was well explained, thanks!

  • @aryanchauhan6671
    @aryanchauhan6671 2 года назад

    Awesome explanation!

  • @firuzjuraev5383
    @firuzjuraev5383 3 года назад +1

    Thank you soo much! Amazing explanations !!!

    • @Flutterly
      @Flutterly  3 года назад +1

      Thank you, brother 🤍

  • @fatorange
    @fatorange 3 года назад +1

    Thank you! I can understand easier.

  •  4 года назад +1

    Hi. Thank you so much. I'm looking forward to the 5th video.

    • @Flutterly
      @Flutterly  4 года назад +1

      Thank you so much! It will come soon

  • @ahmedal-mubarak3706
    @ahmedal-mubarak3706 4 года назад +1

    Thank you very much, I understood all the concepts, your explanation is beautiful and understandable ، I wish u all the best 💙

    • @Flutterly
      @Flutterly  4 года назад +1

      Thank you for the positive feedback! Seeing that everyone understands and learns something I am trying to explain is the best reward for me!

  • @AJ-dy2bt
    @AJ-dy2bt 2 года назад

    Awesome! Thanks! I just notice that on 13m58s there is a small error in the Weather class. Dart language doesn't have float type) Anyways this is brilliant video and I'm full of respect for the author.

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

    Thanks a lot, these videos are beneficial, I don't know how do I thank you

  • @lobosayshello
    @lobosayshello 4 года назад +1

    Great video! Like you said, need to watch it at least 2 or 3 times. :) Thanks!

    • @Flutterly
      @Flutterly  4 года назад

      You're welcome! Glad it helped

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

    very good explanation, thanks!!
    You should do more architectural courses!

  • @vishalverma8641
    @vishalverma8641 3 года назад

    Perfect Explanantion Thanks

  • @lenzpaul2205
    @lenzpaul2205 3 года назад +1

    Question: at 8:19, you have calls to 2 different APIs (one of them is commented out). How can you safely do something like ‘Weather.fromJson(rawWeather)’ considering that (as you mentioned earlier) the JSON responses might be completely different from one API to the next?
    I feel like I missing something here @Flutterly?
    Also, thank you for making awesome series. It is really quality content!

  • @Kimmmmm08421
    @Kimmmmm08421 3 года назад +1

    Thank you so much! It's super clear :D

    • @Flutterly
      @Flutterly  3 года назад

      You're welcome, man, thanks! 🌟

  • @WorldSmu
    @WorldSmu 5 месяцев назад

    awesome! thanks for the sharing

  • @swift3807
    @swift3807 2 года назад

    thankyou for this essential knowledges. new subscriber here 💗

  • @ahmedshalaby-lp5cj
    @ahmedshalaby-lp5cj Год назад

    you are amazing !
    thanks for your effort.

  • @DungHoang-ph1sy
    @DungHoang-ph1sy 3 года назад +1

    Thanks a alot. Your video is very great!

    • @Flutterly
      @Flutterly  3 года назад

      Thank you so much! ✨

  • @jamavocorp
    @jamavocorp 3 года назад

    Thanks you! It's really useful

  • @trungledang5225
    @trungledang5225 3 года назад

    sir! you're god, thank you

  • @abanahmed4683
    @abanahmed4683 4 года назад +1

    Man you your so amazing, Thanks a lot❤️

  • @notfound521
    @notfound521 4 года назад +1

    Really appreciated these videos, really clear and clever even for a flutter beginner like me, been looking around for something like that for weeks;
    anyway when will the full data layer explanation video be available?

    • @Flutterly
      @Flutterly  4 года назад +1

      Thank you for your kind feedback! The full data layer explanation will make and and will be available right when I get into developing real apps with flutter and bloc! That's going to be the next series on this channel, so stay tuned!

    • @notfound521
      @notfound521 4 года назад

      @@Flutterly looking forward for it, can't wait😁

  • @srjlove2102
    @srjlove2102 4 года назад +1

    Nice explanation

  • @tagirakhmadeev6102
    @tagirakhmadeev6102 4 года назад +1

    good video, thank you. waiting from you practice lessons

  • @rishabhone5083
    @rishabhone5083 3 года назад +1

    Absolutely stunning course!! A must watch for any flutter and bloc noob like me, I know :D
    I have one question tho. Here you have split the architecture into three layers: Presentation, Business Logic & Data layers.
    However, in Clean Architecture tutorials, they always split the layers in Presentation, Domain & Data layers! So is the domain layer same as the business logic layer? Am I supposed to put my bloc & cubits in the domain package in my project? Or the Domain layer is some completely different concept you've skipped over to reduce complexity?

    • @Flutterly
      @Flutterly  3 года назад

      Yes, mostly yes. However, I'll recommend you watch my latest video on very good cli and notice the structure I'll be using from now on on my projects! ✨

  • @abba5102
    @abba5102 9 месяцев назад

    Very very nice. Thank yo so much.

  • @fenacango
    @fenacango 4 года назад +2

    Wow wow wow. You are extraordinary. Are you a teacher or something?

    • @Flutterly
      @Flutterly  4 года назад

      Haha, thanks, man! No, I'm not a teacher, I just like sharing my knowledge with others, just like others shared their knowledge with me. Thanks!

  • @techvevo814
    @techvevo814 Месяц назад

    The best ever

  • @Shakl-e
    @Shakl-e 3 года назад

    Best explanation on the web.
    I've also seen that people do an abstract Repo or ApiClient class and then like implement repoImpl or ApiClientImpl for different sources and mocking. Don't remember what class exactly, can you please explain this part also? Thanks

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

    Amazing! Thank you so much for this.
    It would be wonderful if you could implement an actual weather app. I very much would appreciate how it works!

  • @DMinh-rk4od
    @DMinh-rk4od 4 года назад +2

    Thank you Wckd for the clear and easy to understand video. I was wondering if my application uses sqlite for data storage, then the data provider is the thing that makes the SQL query to the database, right? I see somewhere people create another kind of class called DAO (data access object I guess) but I'm not sure that is really needed.
    Btw, may I ask what is the plugin you used to display the tree structure of the widgets?

    • @Flutterly
      @Flutterly  4 года назад

      You're welcome! Yes, the data provider makes the connection with the internet/databases or whatever data sources you might have. What do you mean by showing the widget tree? It was an animation I overlayed over the video.

    • @DMinh-rk4od
      @DMinh-rk4od 4 года назад

      @@Flutterly Ah I mean the Vscode plugin that display the child elements of a class like in ruclips.net/video/NqUx-NfTts4/видео.html

  • @AshrafZarkani
    @AshrafZarkani 3 года назад

    thank you Wikd for this amazing series and helping out the flutter community. is there a possibility that we can get the slides used through the course !

  • @ahmedadnan5875
    @ahmedadnan5875 4 года назад +1

    i see some good stuff over there

  • @ritafromheart
    @ritafromheart 4 года назад +1

    Excellent presentation and material!!! Thanks a lot for your work!
    Could you share the code of the test app to see the implementation details?

    • @Flutterly
      @Flutterly  4 года назад +1

      Thank you! There is no implementation for this tutorial unfortunately, it was just a topic walk-through. A proper code sequence will be available when I'll start building real apps for you.

  • @shef9192
    @shef9192 3 года назад +1

    nice :) thanks for not asking to subscribe or to like your video. Liked and subscribed

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

    it's was too good, thanks

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

    I have a question about The models. You mentioned about independency. So all your models should have actually dependent. when you parsing data, you can not change "temp" key value to "temperature". Can you explain that what I'm missing there?

  • @sanjais4205
    @sanjais4205 6 месяцев назад

    Hello @Flutterly I have one doubt Bloc Architecture which pattern are you using? like mvc or mvvm

  • @mrutyunjayagiri982
    @mrutyunjayagiri982 3 года назад +1

    I am Addicted.

  • @reanitchannel
    @reanitchannel 4 года назад +1

    so thank you 🙏

    • @Flutterly
      @Flutterly  4 года назад

      You're welcome, man!