Coder Social home page Coder Social logo

zebra-lite's Introduction

Build Status

zebra-lite

zebra

Overview

This is a light version of Zebra that allows users to log into their accounts, view their forms, and view the data in their forms. It uses the Clojure(Script) Ona client milia to connect to the Ona API. It connections to Ona Production by default but can be configured to connect to any server running Ona or an Ona-compatible API.

Component Architecture

  • Login
  • Forms View
  • Submission View (using hatti)
    • table-page
    • map-page
    • chart-page
    • details-page

Configuration

Remote host configuration is handled by milia using environ. Set the keys :ona-api-server-host and :ona-api-server-protocol to specify the host and protocol, respectively.

Dependencies and Installation

Building and running require java and leiningen, the install instructions for leiningen are here.

Running

Run the development server with:

lein up

Build a deployable production JAR with:

lein uberjar

Then run that JAR with:

java -jar target/zebra-lite-SNAPSHOT-standalone.jar

NB: your JAR path may differ if you have altered the configuration.

License

zebra-lite is copyright 2015 Ona Systems Inc. and is released under the AGPL License.

zebra-lite's People

Contributors

royrutto avatar geoffreymuchai avatar pld avatar

Stargazers

Dale Kunce avatar  avatar Jubal Harpster avatar

Watchers

 avatar Matt Berg avatar Ukang'a Dickson avatar Prabhas Pokharel avatar Kelvin Jayanoris avatar Simon Kiarie avatar Wambere avatar Margaret Ndisha avatar Morris Mukiri avatar James Cloos avatar Roy Rutto avatar  avatar Rodgers Andati avatar  avatar Carolyn Footitt avatar Emmanuel Tarus avatar Conor Kelly avatar Njagi Mwaniki avatar  avatar  avatar Tychus avatar  avatar Antonate Maritim avatar Brian Mwasi avatar  avatar Winnie Kiragu avatar  avatar Lincoln Simba avatar L≡ZRS avatar Isabel Shaw avatar  avatar Ephraim (Keyman) Muhia avatar kahammer avatar Doris Njihia avatar Bella avatar Rosalia Lorenzen avatar hngondoki avatar Kipchirchir Cheroigin avatar Kelvin Muchiri avatar  avatar  avatar Henry Wambugu avatar

Forkers

slamonega

zebra-lite's Issues

Form Submissions View

Ability to visualise form submissions using:
* table-page
* map-page
* chart-page
* details-page

Use url helpers

Use url helpers from urls namespace instead of hard-coded urls.

I18n the lite

Use the established convention from Zebra to i18n the lite

Add Ona Community logo

@rowo can make an Ona Community logo for this?

We might also want to change the font and color scheme a bit. Right now it resembles almost exactly beta. Not sure if want that or not.

Clean up

This issue is for listing clean up tasks (feel free to add more is necessary):

  • Set up tests
  • Enable/remove links non-working links
  • Enable avatars

Prototype app to experiment with new SPA architecture

From @myguidingstar

After some research, here's my perspective on current situation:

  • Om Next is very near and its recommended architecture is not single
    app state but highly independent components. We shouldn't invest on
    single app state.
  • the transition to a new architecture is quite unclear b/c 1. the
    target architecture:
    despite its simplicity, the Om next's
    architecture is totally new in the industry 2. the origin
    architecture (aka current implementation):
    it's not obvious to
    semantically split into pieces to migrate to the new (unclear :) )
    architecture to work gradually.

disciplines: We need to keep these in mind

  • don't be confident of pre-defined the architecture. Instead, things
    need putting together and the pattern will emerge.
  • separation between data transformation and HTML representation
  • security. Note: should have a dedicated section in architecture doc
  • (Clojure/Clojurescript) portability. Use Bidi for routing

Goals:

  • wait for the architecture that fits our app to emerge :)

More details of the strategy:

  • don't start by looking at the code base. Look at the working app in
    a browser and and decide how to mimic it
  • Hatti is subject to mimic, too. It should have overlap with the app
  • For the speed of development (to see the architecture emerge soon),
    the prototype app will purely client side with mock data. That would
    result live coding
  • Functionality first. HTML representation remains plain dumb. Real HTML structure and CSS stuff will be replaced in later stages.
  • After that, as patterns emerge, we create ad-hoc server side
    endpoints ("data bundlers for server response") for optimal purpose
    (hence cljc portability)

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.