GithubHelp home page GithubHelp logo

elphinkuo / lightdroid Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 245 KB

An independence injection framework, which is created for building lighter faster Android app in a more agile way. There are 2 new concepts:Page and Task, just like the Fragment and Activity in Android normal develop, but with many optimization.

License: Apache License 2.0

Java 100.00%

lightdroid's Introduction

lightDroid

This is an independence injection framework, which is created for building lighter faster Android app in a more agile way. There are 2 new concepts:Page and Task, just like the Fragment and Activity in Android normal develop, but with many optimization.

The main purpose and achievements of this repo are:

1 Self-managed UI stack, independet from native design of Android system

2 Explicit MVC mode. The original Activity in Android system contains both View and Controller, lightDroid decoupled the View and Controller in Android Activity, as Page and Controller.

3 Based on the decoupled Page and Controller, improve the launching time of Page, than Activity. Effectively reduce the response time of Android UI.

4 More efficient monitor and statistics for Andorid Application.

5 Improve stability and robustness

6 Unit test.

Whole Structure as:

App Architecture

UI stack: Implementation is in /framework/app/fpstack

fpstack figure

fpstack framework architecture

MVC Implementation is in /framework/app/mvc中

MVC Map

Design Principles

1 Rely on abstraction rather than concrete implementation Low coupling, extensible, high flexibility

2 True MVC, UI decoupled with Controller

3 Follow a single responsibility design, simple logic, improve testability

4 Consider maintainability

lightdroid's People

Contributors

elphinkuo avatar fumingg avatar

Stargazers

南波湾 avatar yescpu avatar Jiajun Wang avatar Liangju Li avatar  avatar

Watchers

James Cloos avatar  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.