oRestE

oRestE (odbc Rest Erlang) is a scalable and flexible web service gateway for any databases

~

oRestE built on top of ERLANG, MOCHIWEB and WEBMACHINE (webmachine.pdf)

~

oRestE gives you a fast way to expose your databases with a REST interface (no need to write code for building SOAP requests)

~

You can easily and fast expose your SQL data as XML or CSV or fixed TEXT formats.

SQL -> CSV

SQL -> TEXT

SQL -> XML

~

You can easily create and expose SQL statements with parameters

~

See the following examples how to CALL oRestE web services

  • http://localhost:8000/moodle/learninglab/user.xml?username=matteo
  • http://localhost:8000/moodle/learninglab/user.csv?username=matteo
  • http://localhost:8000/moodle/learninglab/user.txt?username=matteo&lengths=30

~

You just need to add in a configuration file a SQL statement like the following

  {user,
        "select *
        from
                mdl_user
        where
                username='{username}'"
  }.
~

Erlang oRestE project is hosted at http://code.google.com/p/oreste/

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>