This document is for a version of CakePHP that is no longer supported. Please upgrade to a newer release! REST¶ Many newer application programmers are realizing the need to open their core functionality to a greater audience. Providing easy, unfettered access to your core API can help get your platform accepted, and allows for mashups and easy integration with other systems. While other solutions
ちょっと次のアプリの為にこちらでAPIを作成する必要が出てきました。 ので、APIの作成をAWSで行うことにしました。 サーバサイドはPHPかPerlしか書けないし、 frameworkはcakeしか使えないというダメエンジニアの為、 cakeでREST APIを作成する事にいたしました。 その作成手順をご紹介 まず、RESTとはなにか…とは私も良くわかりませんのでググってください。 HTTP通信のGET/POST/PUT/DELETEによって返す内容を変えるって事と理解しています。 ちなみに、cakeのREST APIは マニュアル»CakePHPによる作業の定石»REST»単純なセットアップ ここで解説されております。 まずはroutes.phpの設定 Router::mapResources('controller_name'); Router::parseExtensions();
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く