Giter Site home page Giter Site logo

robozombie's Introduction

RoboZombie

RoboZombie /rō-bō'zŏm'bē/ noun. 1 A lightweight HTTP facade which simplifies network communication. 2 An endpoint proxy generator for web services. Build Status


##About

RoboZombie allows easy integration with remote services by allowing you to replicate an endpoint contract and generate a proxy to access it.

  • Contracts can be very flexible in terms of the resources they access. These could be vary from static html content or an RRS feed, to a RESTful web service endpoint.

* Each endpoint contract is specified on a single interface using annotations to provide the communication metadata. It is then wired into your code via an annotation, where it'll be created, cached and injected at runtime.

##Setup

1. For Maven Based Android Projects

Add the following dependency in your project's pom.xml.

<dependency>
   <groupId>com.lonepulse</groupId>
   <artifactId>robozombie</artifactId>
   <version>1.2.3</version>
   <type>jar</type>
</dependency>

For information on building Android projects using Maven here's Chapter 14 of Maven: The Complete Reference.

2. For Standard Android Projects

Download the RoboZombie + Gson jars and add them to your libs folder.

##Usage

Coding with RoboZombie is a breeze. It follows a simple annotation based coding style and adheres to a minimal intrusion policy. Kickoff with the quickstart and follow the rest of the wiki pages.

  1. Quickstart

  2. Defining Endpoint Contracts

  3. Working With Response Parsers

  4. Injecting Endpoint Proxies

  5. Accessing RESTful Services

  6. Executing Requests Asynchronously

RoboZombie requires the INTERNET manifest permission for network communication.

<uses-permission android:name="android.permission.INTERNET" />

##License This library is licensed under Apache License, Version 2.0.

robozombie's People

Contributors

sahan avatar

Stargazers

 avatar

Watchers

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