« 奥多摩BBQ | メイン | 牡蠣カキ JackPot »

2010/11/22

開発メモ:slim3 + mixi app

makeRequest の検証

servlet filterにて実施する。
具体的には↓のライブラリを利用 

http://code.google.com/p/opensocial-oauth-filter/

 

slim3での共通処理

Navigator Controller#setUp();
をoverrideしたベースクラスを用意

遷移(redirect etc)を伴う共通処理はservlet filterで行いなされ by @higayasuo とのこと。
http://d.hatena.ne.jp/coolstyle/20090810/1249906393

続く。 

 

setUpで何をするか。というとこですが、
PHP + Kohanaで作ってたときはここで

  • opensocial_viewer_id
  • opensocial_app_id
  • userエンティティ

をセットしていました。

同じでいいかなと。

参考
http://d.hatena.ne.jp/aki-rs/20100513/1273726150 

コメント

フィード You can follow this conversation by subscribing to the comment feed for this post.

この記事へのコメントは終了しました。