Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Simplest API Server "miq"

804 views

Published on

miqを作った話
2017/4/2 Good Coding Friends LT (#フレンズLT)
acomagu

Published in: Engineering
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Simplest API Server "miq"

  1. 1. Simplest API Server “miq” Good Coding Friends LT Yuki Ito / @publmag1 / acomagu / s1230004
  2. 2. みなさん
  3. 3. RDBは好きですか
  4. 4. そこそこ好き: 11人 嫌い: 0人
  5. 5. なるほどね。
  6. 6. じゃあ、
  7. 7. SQLは好きですか?
  8. 8. そこそこ好き: 0人 ふつう: 5人 嫌い: 5人
  9. 9. なるほどねー
  10. 10. めっちゃわかるぅ〜☆(ゝω・)v
  11. 11. 3日前に陥った状況 - WebサーバーにちょっとしたDBが必要 - NoSQL微妙 - RDB使いたいけど、SQL書きたくない - 書いてもいいけど、サーバーのロジックと混ぜたくない - できることならHTTP/JSONで通信したい - でもFirebaseとかは使いたくない - 今回のアプリケーションにはちょっと大げさかな...
  12. 12. だから一昨日からつくった
  13. 13. だから一昨日からつくった miq
  14. 14. miq: micro query-runner server - コンパクトなAPIサーバー - YAMLの設定ファイルにしたがって動作 - SQLを実行して結果をJSONにして返すのみ - (現状)できること - クエリの実行 - Pathパラメータ、URLクエリ、POST Body(JSON)から変数を受け取 れる - トランザクション - 複数クエリの実行 - できないこと - 認証 - なのでそのまま外部には公開できない - データになんらかの処理をしてからJSONを返却
  15. 15. つかいどころ
  16. 16. つかいどころ - SQLをコードに書きたくない人 - Microservicesごっこしたいひと
  17. 17. それ、単に二度手間なだ けじゃね?
  18. 18. Benefits
  19. 19. Benefits - SQL Injectionのリスクが減る(必ず静的プレース ホルダが使用される) - SQLの事前コンパイルし忘れがない - そのアプリケーションがどんなSQL オペレーショ ンをするのかひと目でわかる - やっぱり生のSQL実行よりJSONから読むほうが 簡単
  20. 20. github.com/acomagu/miq Thank you!

×