Coder Social home page Coder Social logo

mobile-invoicer's Introduction

casist2

  1. Where to handle failures? (usecase/repo) Probably usecase because it is basically service role.

  2. Should data sources be just general interface to the data source? Or Include business methods? How to use SQLite repository to get/writes different objects? Create one abstract with get/post/put/delete methods and then children will be more business oriented?

Storage SecureStorage UserStorage https://github.com/ResoDev/oauth2_client/blob/master/lib/src/token_storage.dart

CasistApiClient (has http.client) CasistApiClient passed to RemoteDataSource

RefreshToken https://github.com/ResoDev/oauth2_client/blob/master/lib/access_token_response.dart

https://github.com/piggyvault/piggyvault/blob/main/src/Mobile/piggy_flutter/lib/utils/rest_client.dart https://github.com/piggyvault/piggyvault/blob/main/src/Mobile/piggy_flutter/lib/repositories/piggy_api_client.dart

  1. When multiple reads/writes need to be called, where to called them? (block/raise multiple events) We should probably raise multiple events. Each piece of logic should be single purposed and doesn't do multiple things at once. BlockListener dispatches another event?

  2. Bloc should only call use case and map success/failures to state.

  3. Where to switch between model and entity? In repository

  4. Should models be more composed based or entities? Probably entities and also stored in the storage.

7 Create a themes and use them https://github.com/hungps/flutter_pokedex/tree/master/lib/configs

  1. core vs app directory?

Everything has to be production ready before, I will move to the home package. TODO:

  1. Logic between model and entity https://github.com/svprdga/Flutter-Data-Layer-Repository-Pattern-V2/blob/master/lib/data/mapper.dart https://github.com/ResoCoder/finished-flutter-firebase-ddd-course/blob/master/lib/infrastructure/notes/note_repository.dart
  2. Translations https://github.com/appditto/natrium_wallet_flutter/tree/master/lib/l10n
  3. Refactoring / Search for inconsistencies
  4. Tests
  5. Use themes and remove duplicated styles in the presentation layer

mobile-invoicer's People

Contributors

filipbudac avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.