/ActiveService

Grape + Goliath + ActiveRecord High concurrency API framework

Primary LanguageRubyMIT LicenseMIT

             +++++++++++++++++++++++++++++++++++++++++++++++++++
             +                   GGA Framework                 +
             +          (Grape + Goliath + ActiveRecord)       +
             +                                                 +
             +                 Authored by geekerzp            +
             +                                                 +
             +                    //=====                      +
             +                   //                            +
             +                   ||  *****?                    +
             +                   \\      //                    +
             +                    \\====//                     +
             +++++++++++++++++++++++++++++++++++++++++++++++++++

License

The MIT License (MIT)

Copyright (c) 2013 geekerzp

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALwL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

TODO

Rails作为一个全栈式web框架,适合于开发web应用,但是如果使用Rails提供API接口, Rails太过于重量级,同时,使程序的性能下降。GGA框架通过ActiveRecord提供数据持久化, 通过Grape提供HTTP路由,通关Goliath作为web服务器,可以提供更加轻量级,响应迅速, 高并发的API服务。

As a full-stack web framework, Rails is the best choice for developing web applications. But if you use Rails as the API interfaces, Rails is too heavyweight that it will reduce the program's performance. GGA framework provided more lightweight, fast response, high concurrency API services through the ActiveRecord provided data persistance, the Grape provided HTTP route, the Goliath as a EventMachine web server.

Install

git clone git@github.com:geekerzp/gga.git

Usage

Reference the README.rdoc