Giter VIP home page Giter VIP logo

simple's Introduction

Aim

To provide simple means to write thin JSON REST/RPC server with built-in security based on Object Capability. Most of existing similar projects are about providing sugar to do routing and/or template rendering, paying no or little attention to security.

Simple is written in pure CoffeeScript and uses:

Simple can be run as single process, or as robust multiple processes farm similar to multi-node or cluster

Simple talks just JSON REST/RPC. All rendering is drawn as client-side task. I strongly suggest to look at Backbone as client-side MVC.

Simple uses Resource Query Language and provides very flexible and powerful way to semantically map URLs to DB queries.

Simple uses JSON-Schema to describe entities and validation rules. Changes are made to vanilla JSON-Schema so that it could express per-property access rules.

Simple uses facets to expose entity accessor methods to both web and internal business logic.

...More info to come...

Install

Run:

./install

Example and test

coffee test.coffee

and point your browser to http://127.0.0.1:3000

or here

License

Copyright 2011 Vladimir Dronnikov.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

simple's People

Contributors

dvv avatar

Stargazers

 avatar

Watchers

James Cloos 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.