Starter Architecture for Flutter & Firebase Apps

Опубликовано: 20 Октябрь 2024
на канале: Andrea Bizzotto
40,685
1.2k

Written tutorial here: 👇👇
https://codewithandrea.com/videos/202...

In this tutorial I give a detailed overview of a production-ready architecture that I've fine-tuned over the last two years. You can use the included starter project as the foundation for your Flutter & Firebase apps.

Part 1 - Intro to Architecture:

what is architecture and why we need it.
the importance of composition in good architecture.
good things that happen when you do have a good architecture.
bad things that happen when you don't have a good architecture.

Part 2 - Good architecture for Flutter & Firebase apps

application layers
unidirectional data flow
mutable and immutable state
stream-based architecture

Part 3 - Important principles and desirable properties that we want in our code, with practical examples.

HIGHLIGHTS

00:00 - Intro
01:56 - What is architecture?
02:45 - Composition in theory and practice
03:27 - Good Architecture
05:00 - The Application Layers
06:05 - Unidirectional Data Flow
06:51 - The Publish/Subscribe Pattern in practice with Provider
07:54 - Mutable and Immutable State + Difference between Services and View Models
09:12 - Stream-based Architecture: Realtime apps & Reactive widgets
10:28 - Desirable code properties
10:47 - Clear code
12:06 - Reusable code
13:00 - Scalable code
15:07 - Testable code
15:58 - Performant code
17:36 - Maintainable code
18:04 - Wrap Up

GitHub project here: 👇👇
https://github.com/bizz84/starter_arc...

Join my FREE email course to become a Flutter expert with the best resources, at your own pace: https://codewithandrea.com/newsletter/

Want more? Check out all my Flutter courses: 👇👇
https://codewithandrea.com/courses/

Happy coding!