{"id":928,"date":"2010-02-05T13:32:05","date_gmt":"2010-02-05T18:32:05","guid":{"rendered":"http:\/\/bitpost.com\/news\/?p=928"},"modified":"2010-02-05T13:32:44","modified_gmt":"2010-02-05T18:32:44","slug":"kicking-the-tires-of-the-recess-restful-php-toolkit","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2010\/kicking-the-tires-of-the-recess-restful-php-toolkit\/","title":{"rendered":"Kicking the tires of the Recess RESTful PHP toolkit"},"content":{"rendered":"<p>This toolkit was written by a guy down the road over in Chapel Hill, it seems.  The idea seems to be to generate and configure MVC-structured PHP code with RESTful web access.  Supports multiple apps with one installation.  Works for me.<\/p>\n<p>I grabbed the 0.20 release.  It comes with a web-based front end that will mock up your initial application code.  Unfortunately the javascript wasn&#8217;t working and it looked like it had a bad path to the embedded jquery library.  Rather than kill myself researching, I switched to the git &#8220;edge&#8221; branch:<\/p>\n<pre><code>cd development\/git\r\ngit clone http:\/\/github.com\/recess\/recess.git\r\n  Initialized empty Git repository in \/home\/m\/development\/git\/recess\/.git\/\r\ngit checkout master \r\n  Already on 'master'<\/code><\/pre>\n<p>Now it seems to be able to find its css and javascript.<\/p>\n<p>Next problem was with mod_rewrite.  It just wouldn&#8217;t work.  Time to <a href=\"http:\/\/bitpost.com\/news\/2010\/02\/05\/troubleshooting-apache-mod_rewrite\/\">troubleshoot<\/a>&#8230; and fixed.  In Recess&#8217; defense, this was probably the reason the 0.20 release didn&#8217;t work well.<\/p>\n<p>Next, I went to create an app.  I had to change the permissions on the apps directory, as instructed, since I unzipped recess under a group for which apache did not have write access.<\/p>\n<p>Next, I cranked through a model for one of my apps.  WOW, now I have a full set of &#8220;routes&#8221;, URL&#8217;s with which to RESTfully access my model.  This is looking nice&#8230; to be continued&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This toolkit was written by a guy down the road over in Chapel Hill, it seems. The idea seems to be to generate and configure MVC-structured PHP code with RESTful web access. Supports multiple apps with one installation. Works for me. I grabbed the 0.20 release. It comes with a web-based front end that will [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[24,9],"tags":[],"class_list":["post-928","post","type-post","status-publish","format-standard","hentry","category-php","category-websites"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-eY","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/928","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=928"}],"version-history":[{"count":7,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/928\/revisions"}],"predecessor-version":[{"id":941,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/928\/revisions\/941"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}