Giter Club home page Giter Club logo

flutter-quanttide's Introduction

flutter-quanttide

量潮Flutter工具箱

flutter-quanttide's People

Contributors

guo-zhang avatar

Watchers

 avatar

flutter-quanttide's Issues

BLoC相关模块划分及主要类设计

BLoC相关模块划分:

  • schemas/: 领域模型。主要包括基础类Schema/DomainModel,也许可以报考三类DomainModel,即EntityValueObjectService
  • providers/: 数据提供者。
    • api: 主要包括ApiService基类、RestApiMixin类(或者实现一个生成它的工具)
    • cache: 网络缓存
    • db/storage/local: 本地存储。区别于上述,是本地的持久化缓存方案。
  • repositories/: 数据仓库。可能会根据上述provider实现不同的排列组合,比如纯网络应用带缓存、本地同步云端等等。
  • blocs/: BLoC组件,主要包括BLoC类、State类、Event类。
  • views/: 视图组件。根据需要做必要的改造和封装,比如ListView、Form等。一个最终暴露的组件大体可以概括为 View = BLoC + View1 + View2 + ...

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.