Fantastic video! I haven’t seen anyone separate their backend into packages for clean architecture before. I love how it simplifies the lib folder structure!
design a playlist in which we use cleaan architecture + bloc + rest api complete app also splash screen that provide flutter for cross platform app.....in which we cover platform target internet connectivity + clean code + chaaatt aapp and profile section localization you can use this stuff to make a awsome playlist and reached more subcriber because this is aaawsome course track
Great video ! One remark, I believe it should be the other way around: the MyUser class should be the one having a toEntity method, the entity method, is the inner most layer of the domain in the clean architecture, it should not know about a firebase document, those are details of your persistence layer which the myUser Model is a part of
It's very interesting Architecture. Theses day i study flutter Clean Architecture, Traditional Clean Architecture Format is 'Presentaion - Domain - Data' But your video does not take traditional.... honestly your architecture is more intuition for me(i don't know why need Domain layer...) so i have some question. 1. why do you seperate package? i think package folder similar data layer . so it can locate lib folder isn't it? 2. Are folders within the modules folder added per screen? If so,i'm wondering if they should be structured in a screen - widget - bloc format for each page
1. So the reason why I keep the packages not inside the lib folder is because it's more convenient for me to have them there but the point of separation is that you can then have multiple GitHub repo for the backend team and the frontend team for example. As well, keeping a separation like this is essential in the clarity of the code since that will have a direct impact on your ability to maintain the code. 2. Yes for each new screen I create those folders. You can module it as you prefer really, the point is to have the views, blocs and components (or widgets) that are dedicated to this screen right here. Glad you liked it ! Good luck in your learning journey, you got this 🔥
This is a great video can you please create a project following architecture be it a minimalist e-commerce app or anything that will cover this whole architecture in real life . Thanks
Great! This is what I needed at the moment. I will deal with it now. But it would be interesting to hear about Pattern Design. I'm wondering what a Junior Flutter Developer should be able to do besides Basic Flutter? I just want to do some pet projects so that I can confidently go to work.
Wow. Just what I was about to ask. I have one question. In your last firebase auth video you used bloc. Can we make a project with riverpod in future? Eagerly waiting for discord server. 😁
Thx for awesome explanation Romain! Now I am trying to build an app by using your pattern that i like, and have a question. Lets say i need to create a some initial transaction(payment) on creation of user, and i will get the id of the transaction on transaction creation, and then i need to store this id in the user model. Question is - where should i do connection between repositories, just create an instance in on repo for another and do all of this on user creation , or should I do it on the Bloc level and call few methods in a row (create user -> create transaktion -> put transaktion id in to user). Can you please help with that?
You can create connection between repo the same way you create the connection in your "top level" pubspec.yaml file. Lets say you have a user_repo and a event_repo, you can add the reference of the user_repo in the pubspec.yaml file of the event_repo (adding the reference means writing : "user_repo: path: ../user_repo"
@@Romain_Girou Thank you very much. I just thought that it’s not a good idea to depend on another repository and that it’s better to move it out to the bloc. And now I remember, you did it in your demo Insta app…
thanks for the great tutorial brother, 🤟🤟🤟 I am requesting the firebase phone auth with bloc I like your teaching any subscription that will be up am ready you're a great teacher
@@Romain_Girou like location, storage, camera etc releted permission. How we can manage proper file structure with this? Can we do it ib packages folder just like you did it here and all in your other videos? What's the best approach in your opinion
Fantastic video! I haven’t seen anyone separate their backend into packages for clean architecture before. I love how it simplifies the lib folder structure!
Glad you liked it!
design a playlist in which we use cleaan architecture + bloc + rest api complete app also splash screen that provide flutter for cross platform app.....in which we cover platform target internet connectivity + clean code + chaaatt aapp and profile section localization you can use this stuff to make a awsome playlist and reached more subcriber because this is aaawsome course track
This was amazing!
Great video !
One remark, I believe it should be the other way around:
the MyUser class should be the one having a toEntity method, the entity method, is the inner most layer of the domain in the clean architecture,
it should not know about a firebase document, those are details of your persistence layer which the myUser Model is a part of
yah that was what i was thinking as well.
Thank you & continue this series.🎉
🫶
A real clean explanation of Clean Architecture! I think it would be nice to know your pattern with Riverpod in the future.
Noted! Thanks 👌
Your english is so clean!
very helpful, i finally understood the concept :))
It's very interesting Architecture. Theses day i study flutter Clean Architecture, Traditional Clean Architecture Format is 'Presentaion - Domain - Data' But your video does not take traditional.... honestly your architecture is more intuition for me(i don't know why need Domain layer...) so i have some question.
1. why do you seperate package? i think package folder similar data layer . so it can locate lib folder isn't it?
2. Are folders within the modules folder added per screen? If so,i'm wondering if they should be structured in a screen - widget - bloc format for each page
1. So the reason why I keep the packages not inside the lib folder is because it's more convenient for me to have them there but the point of separation is that you can then have multiple GitHub repo for the backend team and the frontend team for example. As well, keeping a separation like this is essential in the clarity of the code since that will have a direct impact on your ability to maintain the code.
2. Yes for each new screen I create those folders. You can module it as you prefer really, the point is to have the views, blocs and components (or widgets) that are dedicated to this screen right here.
Glad you liked it ! Good luck in your learning journey, you got this 🔥
🎉🎉🎉 great video
The much awaited one at this moment ❤
This is a great video can you please create a project following architecture be it a minimalist e-commerce app or anything that will cover this whole architecture in real life . Thanks
Yor are my hero🎉😊
Thank you thank you thaaaank you 😘 ❤ 🙏
No problem 😊
where is bloc video? can i get link of that?
Great! This is what I needed at the moment. I will deal with it now. But it would be interesting to hear about Pattern Design.
I'm wondering what a Junior Flutter Developer should be able to do besides Basic Flutter? I just want to do some pet projects so that I can confidently go to work.
Follow the videos on the channel and once you can create those pet projects without assistance, you'll be at the junior level
A W E S O M E !
Would you make MVVM with GetX version?
Thanks in advance.
Wow. Just what I was about to ask. I have one question. In your last firebase auth video you used bloc. Can we make a project with riverpod in future? Eagerly waiting for discord server. 😁
Very glad to heat it !
Yes and I'll cover others as well
Can you show the full app created with this pattern?
You have a lot of other videos on the channel that use this pattern ! Go check them out 🔥
@@Romain_Girou I will watch all! Thank you
Enjoy ☺️
Thx for awesome explanation Romain!
Now I am trying to build an app by using your pattern that i like, and have a question.
Lets say i need to create a some initial transaction(payment) on creation of user, and i will get the id of the transaction on transaction creation, and then i need to store this id in the user model.
Question is - where should i do connection between repositories, just create an instance in on repo for another and do all of this on user creation , or should I do it on the Bloc level and call few methods in a row (create user -> create transaktion -> put transaktion id in to user).
Can you please help with that?
You can create connection between repo the same way you create the connection in your "top level" pubspec.yaml file.
Lets say you have a user_repo and a event_repo, you can add the reference of the user_repo in the pubspec.yaml file of the event_repo (adding the reference means writing :
"user_repo:
path: ../user_repo"
@@Romain_Girou Thank you very much. I just thought that it’s not a good idea to depend on another repository and that it’s better to move it out to the bloc. And now I remember, you did it in your demo Insta app…
thanks for the great tutorial brother, 🤟🤟🤟 I am requesting the firebase phone auth with bloc I like your teaching any subscription that will be up am ready you're a great teacher
Hi sir most of company using tdd,can you do video tdd and bloc
Gonna look into that !
bro can you tell me how I handle permissions using this clean architecture ?
what do you mean ?
@@Romain_Girou like location, storage, camera etc releted permission. How we can manage proper file structure with this? Can we do it ib packages folder just like you did it here and all in your other videos? What's the best approach in your opinion