GithubHelp home page GithubHelp logo

gitter-badger / siesta Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mtford90/siesta

0.0 1.0 0.0 8.91 MB

Object mapping for Javascript

Home Page: http://mtford.co.uk/siesta

License: Apache License 2.0

JavaScript 89.02% CSS 10.98%

siesta's Introduction

Siesta

Build Status

BIG FAT WARNING: This library is in beta and is under development. Whilst efforts are being made to keep master/releases stable there are no guarantees on this.

Siesta is an object mapping framework for Javascript. It makes it easier to model, consume and interact with RESTful web services.

Siesta is inspired by:

Similar projects:

  • EmberJS-Data: Similar to Siesta however abstraction heavy in the typical Ember manner... ;)

Roadmap

The below lists ongoing and suggested features. Ideas and contributions are most welcome.

0.1

  • Stability.

0.2

  • Paginated APIs
  • More powerful queries
    • Contains
    • OR/AND

0.3

  • Persistence
    • Indexeddb
    • WebSQL (Probably via Indexeddb shim, as w3 has discontinued websql however required for backwards compat with safari/safari iOS etc)
    • Possibly PouchDB (The sync-to-couchdb features are pretty awesome)

Later

  • NodeJS support.

Contributing

Note that if you intend to make a pull request you should fork and clone your own repo.

# git clone https://github.com/<username>/siesta.git if you're cloning your own repo.
git clone https://github.com/mtford90/siesta.git 
cd siesta
npm install 
bower install 
# Siesta depends on forks of some Javascript projects, and the gh-pages branch is also a submodule.
git pull && git submodule init && git submodule update && git submodule status

To make sure that all is well, run the tests:

grunt test

We can automatically run tests when changes are detected by running the following commands:

grunt watch

Website/Documentation

# Watches for changes to the documentation/website and also serves the site at localhost:4000
grunt watch
# Build the documentation/website for use locally.
grunt build-jekyll
# Build the documentation/website for use on gh-pages, commit and push the website (will be in production)
grunt compile-jekyll 

Build/Compilation

We can build and compile siesta using:

# Generate build/siesta.js, build/siesta.http.js... etc
grunt build
# Generate build/siesta.*.js as well as build/siesta.*.min.js and build/siesta.*.min.js.gz
grunt compile

Release

The following commands will perform a version bump, compile, commit, push and release to NPM/bower:

grunt release-pre # e.g. 0.0.6 -> 0.0.6-1
grunt release-patch # e.g. 0.0.6 -> 0.0.7
grunt release-minor # e.g. 0.0.6 -> 0.1.6
grunt release-major # e.g. 0.0.6 -> 1.0.6

siesta's People

Contributors

mtford90 avatar

Watchers

 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.