github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

rjbs / rx

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 10
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (9)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • master ✓
    • struct-fail
  • Tags (9)
    • rx-spec-1
    • perl-0.100110
    • perl-0.007
    • perl-0.006
    • perl-0.005
    • perl-0.004
    • perl-0.003
    • perl-0.002
    • perl-0.001
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

the Rx schema and validation system — Read more

  cancel

http://rjbs.manxome.org/rx

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

excise JSON::XS 
rjbs (author)
Mon Jan 11 19:46:58 -0800 2010
commit  d3c341d9356eec6cdb4a70b91cb866099e2d04a1
tree    c13f70067c22ae1e05758a34fc8c2ddbf63b93dd
parent  f419131d36f5af6732db91f9bc961aad39763152
rx /
name age
history
message
file .gitignore Sun Aug 31 10:33:20 -0700 2008 making distable [rjbs]
file LICENSE Thu Nov 13 19:57:14 -0800 2008 license [rjbs]
file README Fri Dec 18 19:13:04 -0800 2009 for the benefit of git-fingerd (cherry picked f... [rjbs]
directory js/ Sat Aug 30 19:03:40 -0700 2008 python, js uri [rjbs]
directory perl/ Mon Jan 11 19:42:57 -0800 2010 bump changelog [rjbs]
directory php/ Wed Sep 03 20:24:34 -0700 2008 __construct instead of ClassName to make superc... [rjbs]
directory python/ Sat Aug 30 19:03:40 -0700 2008 python, js uri [rjbs]
directory ruby/ Tue Nov 11 05:50:42 -0800 2008 unbreak test suite [rjbs]
directory spec/ Sat Aug 30 10:06:51 -0700 2008 taguri [rjbs]
file todo.txt Mon Sep 01 11:09:57 -0700 2008 scribble some notes [rjbs]
directory util/ Mon Jan 11 19:46:58 -0800 2010 excise JSON::XS [rjbs]
directory www/ Mon Jan 11 19:46:58 -0800 2010 excise JSON::XS [rjbs]
README
What is Rx?

When adding an API to your web service, you have to choose how to encode the
data you send across the line. XML is one common choice for this, but it can
grow arcane and cumbersome pretty quickly. Lots of webservice authors want to
avoid thinking about XML, and instead choose formats that provide a few simple
data types that correspond to common data structures in modern programming
languages. In other words, JSON and YAML.

Unfortunately, while these formats make it easy to pass around complex data
structures, they lack a system for validation. XML has XML Schemas and RELAX
NG, but these are complicated and sometimes confusing standards. They're not
very portable to the kind of data structure provided by JSON, and if you wanted
to avoid XML as a data encoding, writing more XML to validate the first XML is
probably even less appealing.

Rx is meant to provide a system for data validation that matches up with
JSON-style data structures and is as easy to work with as JSON itself.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server