Im writing next article about architecture: everything you need to know about data layer.
It will be about data sources/ repositories. Their main objectives: caching, mapping, offline first.
I will also provide best practices and common mistakes.π«΅
It will be about data sources/ repositories. Their main objectives: caching, mapping, offline first.
I will also provide best practices and common mistakes.π«΅
π₯11π9β€2β€βπ₯2π’1
I was not a huge fan of books
Frankly, even a year ago I didn't read anything
But things have changed! Two months ago I found out that it is a thrilling activity.
I started with a book about Stoicism(how to be a stoic) that gave me a fire.
Later, I read Eugene Onegin and recently finished Hamlet.
Currently, I'm reading the Divine Comedy and "Designing data-intensive applications". It is a dashing combination, isn't it? π
Frankly, even a year ago I didn't read anything
But things have changed! Two months ago I found out that it is a thrilling activity.
I started with a book about Stoicism(how to be a stoic) that gave me a fire.
Later, I read Eugene Onegin and recently finished Hamlet.
Currently, I'm reading the Divine Comedy and "Designing data-intensive applications". It is a dashing combination, isn't it? π
π10β€4
I will probably host a broadcast where I develop a small application for myself using Flutter, are you interested? π
π₯28π8
A bit about data layer and architecture using android documentation "mistakes" as an example.
https://twitter.com/michael_lazebny/status/1745769550161788930
https://twitter.com/michael_lazebny/status/1745769550161788930
X (formerly Twitter)
Michael Lazebny (@michael_lazebny) on X
Mistakes in Android Architecture Docs about data layer
The Android Developer website (https://t.co/7mmfn51el7) is an invaluable resource, packed with accurate insights.
In this discussion, I want to address three areas in the documentation that seem a bitβ¦
The Android Developer website (https://t.co/7mmfn51el7) is an invaluable resource, packed with accurate insights.
In this discussion, I want to address three areas in the documentation that seem a bitβ¦
π8β€2π₯2
I have recently updated RestClient code a bit so that it is possible to handle custom exceptions thrown by the backend
Do you use similar wrappers or other approaches?
Do you use similar wrappers or other approaches?
π6π₯4
I'm updating article about Error Handling and it will be public tomorrow
Michael Lazebny
Mastering Error Handling in Dart
Explore Dart error handling essentials: exceptions vs. errors, try/catch best practices, stack trace management and why either is bad.
π₯8π6
Enhance Your Flutter Apps with Autofill!
Autofill significantly boosts your app's user experience by allowing users to effortlessly complete forms (like credit card details, addresses, and login credentials).
To integrate autofill in Flutter, encase your input fields within an AutofillGroup widget. Then set up autofillHints in textfields.
For a seamless connection between your website and app, remember to configure associated domains for both Android and iOS platforms.
#flutterdev #tip
Autofill significantly boosts your app's user experience by allowing users to effortlessly complete forms (like credit card details, addresses, and login credentials).
To integrate autofill in Flutter, encase your input fields within an AutofillGroup widget. Then set up autofillHints in textfields.
For a seamless connection between your website and app, remember to configure associated domains for both Android and iOS platforms.
#flutterdev #tip
π15β€3
I'm working on intercepted client for http library (like in dio)
From my perspective http library is much better due to these factors:
- Much cleaner and predictable code and behavior, maintained by dart team.
- It doesn't parse "error" responses to DioException-like type.
- It supports different platform implementations (like cupertino_http or cronet_http) that enable HTTP3 & caching & supports VPNs and proxies.
From my perspective http library is much better due to these factors:
- Much cleaner and predictable code and behavior, maintained by dart team.
- It doesn't parse "error" responses to DioException-like type.
- It supports different platform implementations (like cupertino_http or cronet_http) that enable HTTP3 & caching & supports VPNs and proxies.
π12
In 20 minutes we will start the profile logic for stoic way project!
https://www.youtube.com/live/htipD88PgAw?si=TfsQ6T8FMVmVNMwK
https://www.youtube.com/live/htipD88PgAw?si=TfsQ6T8FMVmVNMwK
YouTube
Stoic Way #8 - Implementing profile logic
Adding profiles.
Source code: https://github.com/thestoicway/backend
My Blog: https://lazebny.io/
X: https://twitter.com/michael_lazebny
LinkedIn: https://www.linkedin.com/in/michael-lazebny/
Source code: https://github.com/thestoicway/backend
My Blog: https://lazebny.io/
X: https://twitter.com/michael_lazebny
LinkedIn: https://www.linkedin.com/in/michael-lazebny/
π8
formsf.png
648 KB
Implemented extremely simple forms for #Flutter that support asynchronous validators π
π7π₯4