{"id":895,"date":"2012-08-10T09:56:44","date_gmt":"2012-08-10T15:56:44","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=895"},"modified":"2012-08-10T09:56:44","modified_gmt":"2012-08-10T15:56:44","slug":"simple-rest-database-solutions","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/895","title":{"rendered":"Simple REST database solutions"},"content":{"rendered":"<p>I&#8217;ve been looking for a simple solution to generate a REST api for a mysql database, with minimal to no coding.\u00a0 I need to be able to do simple inserts and updates, and some simple querying (including for number ranges and or clauses).<\/p>\n<p>The options are few and none seems to entirely fit the bill.<\/p>\n<ul>\n<li><a href=\"http:\/\/www.restsql.org\/\">RestSQL<\/a> is a java layer that has a simple XML configuration.\u00a0 It supports some advanced features (triggers for biz logic, table composition) but doesn&#8217;t yet have numeric comparisons for gets.<\/li>\n<li><a href=\"http:\/\/code.nytimes.com\/projects\/dbslayer\">DBSlayer<\/a> is a C program that doesn&#8217;t do REST, but does JSON results for SQL queries over HTTP<\/li>\n<li><a href=\"http:\/\/phprestsql.sourceforge.net\/\">PHPRest<\/a> is a RESTful interface.\u00a0 From the docs, it is not clear if it supports JSON or any queries more complex than by primary key.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been looking for a simple solution to generate a REST api for a mysql database, with minimal to no coding.\u00a0 I need to be able to do simple inserts [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28,4,33],"tags":[],"class_list":["post-895","post","type-post","status-publish","format-standard","hentry","category-mysql","category-technology","category-useful-tools"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=895"}],"version-history":[{"count":1,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/895\/revisions"}],"predecessor-version":[{"id":896,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/895\/revisions\/896"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}