Giter VIP home page Giter VIP logo

slimrepo's Introduction

Slim Repo

Build Status Maven Repository License Android Arsenal Join the chat at https://gitter.im/slim-gears/slimrepo

Light-weight modular ORM for Java and Android

The library was inspired by GreenDAO and Microsoft Entity Framework Code First

Slim Repo is intended to completely decouple data persistence logic in your application from the underlying storage. CRUD operations performed using simple, readable, intuitive and type safe syntax. Because of Slim Repo's modular design, it's possible to add any other SQL, NoSQL or In-memory storage support, without changing the user code.

Features (design goals)

  • Ease of use - intuitive, type-safe and highly readable syntax
  • Performance - annotation processing based, fast, no reflection usage in run-time, proguard-friendly
  • Bulk operations support - Bulk update and bulk delete are supported
  • Light-weight - simple and has a low package footprint
  • Modularity - Underlying storage providers (e.g. SQLite) are extensions. Other SQL or NoSQL storage providers can be used without changing the user code

Gradle configuration for Android project

Step 1. Enable annotation processing for your project (if not enabled yet)

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
    }
}

apply plugin: 'com.neenbedankt.android-apt'

configurations {
    apt
}

Step 2. Add jCenter repository (if not added yet)

repositories {
	jcenter()
}

Step 3. Add dependencies

dependencies {
    compile 'com.slimgears.slimrepo:slimrepo-android:0.9.0'
    apt 'com.slimgears.slimrepo:slimrepo-apt:0.9.0'
}

Usage

Architecture

Layer diagram

License

This project is distributed under Apache License, Version 2.0

slimrepo's People

Contributors

denis-itskovich 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.