GithubHelp home page GithubHelp logo

licong / restprovider Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ntoll/restprovider

0.0 2.0 0.0 11.45 MB

Automatically parse RESTful API responses into a Provider in Android

Home Page: http://novoda.com

License: Other

restprovider's Introduction

What is it?

The RESTProvider aims to make it easy to access REST service (or any online data format through mainly HTTP calls) and cache it locally into a SQLite database. It permits offline usage and some sort of syncing mechanism against a snapshot of user data.

Motivation

The need for a framework to access the net is more apparent on mobile devices due to the instability of network connections and its cost. Accessing online information in an offline manner is essential for best user experience. Similarly, offline actions can be pushed back to online services when a connection becomes available.

Structure

The RESTProvider relies on 2 submodules:

  • HttpService - making HTTP calls via a Service asynchronously
  • SQLiteProvider - helper project for various SQLite methods behind a ContentProvider

The idea is that the HttpService provide the framework for calling online data while the SQLiteProvider populate the data from the previous call into SQLite. The RESTProvider itself maps the calls to corresponding tables. For more information, visit the 2 projects individually.

How to install

TODO

Simple usage

TODO

License

Otherwise noted, RESTProvider is free and open source and may be used under the terms of the Apache License, Version 2.0

restprovider's People

Contributors

charroch avatar gnorsilva avatar ntoll avatar akshaydashrath avatar

Watchers

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