0.0
No commit activity in last 3 years
No release in over 3 years
Unirer (UNIfied Resource Representation) is a series of resource representation engines. The Dosser (DOmain-Specific SEmantic Representation) resource representation engine includes JSON and XML resource representation templates. Unirer (统一资源表现)是一系列的资源表现引擎。Dosser (领域特定语意表现) 资源表现引擎包括JSON和XML表现模版。
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 4.2
 Project Readme

Unirer Dosser 领域特定语意表现引擎

License Gem Version

Unirer (UNIfied REsource Representation) is a series of resource representation engines. The Dosser (DOmain-Specific SEmantic Representation) resource representation engine includes JSON and XML resource representation templates. Unirer (统一资源表现)是一系列的资源表现引擎。Dosser (领域特定语意表现) 资源表现引擎包括JSON和XML表现模版。

Why Use Unirer Dosser

Dosser pre-defined some glossaries for RESTful Web API, which follows the Template Method design pattern. Dosser 预定义了一些适用于 RESTful Web API 的词汇,并且采用了“模版方法”设计模式。

Recent Update

Check out the Road Map to find out what's the next. Check out the Change Log to find out what's new. This gem is deprecated. Please use repres-dosser instead.

Usage in Gemfile

gem 'unirer-dosser'

Include the Concern in Controllers & Respond the Calls

include Unirer::Dosser::Concerns::ResourceRepresentation

def index
  criteria = { page: params[:page] }
  render_ok [ { name: 'Topbit' }, { name: 'Roland' } ]
end