MVPArt

[Chrome Web Store]() License API

A New Android MVP Architecture

qq群:301733278 有什么问题可以直接问我

请参阅传统MVP用在项目中是真的方便还是累赘?

master分支是一个不含网络层的简易框架,complete分支是一个含有网络层的完整框架

Introduction

  • 此框架是一个轻量级框架,比较适合中小型项目,大型项目请使用MVPArms
  • 此框架指在解决传统MVP类和接口太多,并且PresenterView通过接口通信过于繁琐,重用Presenter代价太大等问题
  • 传统MVP每个页面对应一个presenter,而大多数presenter只有一两个方法,这样导致存在大量代码寥寥无几的Presenter,此框架指在解决复用Presenter时需要实现过多多余接口方法的问题,鼓励开发者将相近的逻辑写在一个Presenter中,不断重用Presenter,减少大量类文件
  • 当然很多不同的逻辑都写在一个Presenter中,虽然可以少写很多类,但是后面的扩展性肯定不好,所以这个粒度需要自己控制,但是对于外包项目简直是福音

Architectural

About Me

License

 Copyright 2017, jessyan

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Related Repositories

awesome-machine-learning-python

awesome-machine-learning-python

Machine and Deep Learning in Python ...

awesome-machine-learning

awesome-machine-learning

A curated list of awesome Machine Learning frameworks, libraries and software. ...

awesome-machine-learning

awesome-machine-learning

A curated list of awesome Machine Learning frameworks, libraries and software. ...

awesome-machine-learning

awesome-machine-learning

A curated list of awesome Machine Learning frameworks, libraries and software. ...

awesome-machine-learning

awesome-machine-learning

A curated list of awesome Machine Learning frameworks, libraries and software. ...