ï½DMM inside
ã¯ããã« æ¬ç¨¿ã§ã¯ãJavaãPythonã«ãããµã¼ãã¼å´ã³ã¼ãã£ã³ã°ãä¸åå¿ è¦ã¨ããã«Google App Engineã«ããéçºãå®ç¾ãããã¼ã«ãjsonengineãã«ã¤ãã¦ç´¹ä»ãã¾ãã 対象èªè Google App Engineã«èå³ã¯ãããçµé¨ã®ãªãæ¹ãJavaScriptãActionScriptã«ããã¯ã©ã¤ã¢ã³ãéçºãã¾ãã¯iPhoneãAndroidã«ããã¹ãã¼ããã©ã³éçºã®çµé¨ã®ããæ¹ãJavaãPythonã®éçºçµé¨ã¯ä¸è¦ã§ãã å¿ è¦ãªç°å¢ æä½åä½ç°å¢ã¯æ¬¡ã®ã¨ããã§ãã Java SE 5 jsonengineã£ã¦ä½ï¼ ãjsonengineãã¯ãJavaãPythonã«ãããµã¼ãã¼å´ã³ã¼ãã£ã³ã°ãä¸åå¿ è¦ã¨ããã«Google App Engineã«ããéçºãå®ç¾ãããªã¼ãã³ã½ã¼ã¹ã®ãã¼ã«ã§ãããã®ãã¼ã«ã¯ãæ¨å¹´éå¬ããããMashup Awards 6ãã«ããã¦ã
ããããGAEä¸ã§ã¦ã¼ã¶ç»é²ãå¿ è¦ãªãµã¼ãã¹ãä½ãããã®ã§ãããã¦ã¼ã¶ç»é²å¨ãã®å®è£ ã¯ãããããªãã®ã§ãtwitterã®OAuthã代ããã«ä½¿ã£ã¦ã¿ãäºã«ãã¾ãããtwitterã®APIãå©ãã®ã«ããã¾ã§ã¯twythonã使ã£ã¦ããã®ã§ããï¼OAuthã«å¯¾å¿ãã¦ããªãã£ãã®ã§ãä»åã¯tweepyã使ãã¾ãã以å2-legged OAuthã試ãã¦ã¿ã¾ããããä»åã¯3-legged OAuthã§ãã twitterã®OAuthèªè¨¼ã«ãããã°ã¤ã³ããã°ã¢ã¦ãã¨ãã°ã¤ã³å¾ã«ã¦ã¼ã¶ã®ã¿ã¤ã ã©ã¤ã³è¡¨ç¤ºã¨ãtweetãå®è£ ãã¦ãã¾ãããã¸ãã¯ã®ã½ã¼ã¹ã¯ä»¥ä¸ã«ãªãã¾ãããã¾ãåä½ãã¦ãããµã³ãã«ãè¦ãã®ãæ©ãã¨æãã¾ãã # -*- coding: utf-8 -*- import os import cgi import logging from google.appengine.ext.webapp
App Engineã§ä½¿ããè¨èªã¯åºæ¬çã«ã¯Pythonã¨Javaã§ããããã§ã¯ãã©ã¡ããé¸ã¶ã®ãè¯ãã®ã§ããããã ãã以å¤ã®è¨èªã®äººåãã®è©±ã¯å¾ããåºã¦ããã®ã§ãã°ãããã®ã¾ã¾ãèªã¿ãã ããã 趣å³ãªãã°åã«å¥½ããªãã®ãé¸ã¶ã ãã§ããã®ã§ãããä»äºã§ä½¿ãããã«ã¯ãé·æã¨çæããã¡ãã¨ææ¡ããä¸ã§é¸ã¶å¿ è¦ãããã¾ããã¾ããããã§ã®è©±ã¯è¨èªã¨ãã¦ã®ä¸è¬çãªè©±ã§ã¯ãªãApp Engineã§ä½¿ãã¨ãéå®ã®è©±ã¨ãã¦ãèªã¿ãã ããã ã¾ãå®å®åº¦ã§ãããã¤ã³ãã©é¨åã®å®å®åº¦ã¯ãã©ã¡ããåºæ¬çã«åãã§ãããããããã¨ãã¾ã£ããåããã®ã使ã£ã¦ããã®ããããã¾ããã ãã®ä¸ã§åãAPIã®é¨åã¯ãã¤ã³ãã©ã¨ç´æ¥çµã³ã¤ãã¦ããä½ã¬ãã«ãªé¨åã¨ä½ã¬ãã«ãªAPIã®ä¸ã«æ§ç¯ãããé«ã¬ãã«ãªé¨åã¨ã«åãã¦èããå¿ è¦ãããã¾ãã ä½ã¬ãã«ãªAPIã¯LLAPIã¨å¼ã°ããããã¾ãããå®å®åº¦ã¯ãPythonã¨Javaãåã
ã¯ããã« æè¿ã æç³»ãç´ äººãmixiã¢ããªãéçºããªãªã¼ã¹ããã¾ã§ã®ã¾ã¨ã http://d.hatena.ne.jp/kazu0620/20100412/1271071223 ã¨ããã¨ã³ããªã¼ã話é¡ã«ãªãã¾ããããèªåãwebããã°ã©ãã³ã°ç´ 人ã§mixiã¢ããªãä½ã£ã¦ã¿ãã®ã§ãã¡ãã£ã¨ä¾¿ä¹ãã¦ãèªåãmixiã¢ããªãä½ãã¾ã§ã®ããã»ã¹ãã¾ã¨ãã¦ã¿ã¾ããã ããããã¢ããªãä½ã人ã®åèã«ãªãã°å¹¸ãã§ãã kazu0620ããã¯ãå人ã§ä½ã£ã¦ããã¿ããã§ãããèªåã¯ä¼ç¤¾ã§ä½ãã¾ãããä¼ç¤¾ã¨ãã£ã¦ããèªåå«ãå¾æ¥å¡æ°3人ã®è¶ é¶ç´°ä¼æ¥ã§ããªã¼ã©ã³ã¹ã®å»¶é·ç·ä¸ã¿ãããªããã¡ã§ãã£ã¦ããä¼ç¤¾ã§ããã ã¡ãªã¿ã«ä¼ç¤¾ã®ãµã¤ãã¯ãã¡ãã ä½ã£ãã¢ã㪠ããµãããªçãç©ããµã«ããããã http://mixi.jp/run_appli.pl?id=9443 ãªãªã¼ã¹æ¥ï¼3/23 å®è³ªéçºæéï¼8ã¶æ é±é
ã¢ãã¤ã«ããããªã¼ã¨ã¯å¼ã¹ãªãããã»ã¼ãã¿é»ããªã³ã¬1å°ã§æäºã®æãã¢ã¦ããã¢ã大活èº!ãAmazonã¹ãã¤ã«SALEã
å°ãåã®ã¨ã³ããªã§ãGAE/JRubyä¸ã§Rackã¢ããªãåããæé ãæ¸ãã¾ããã Google App Engineä¸ã§Rubyã¢ããªãåããæé - ãã°ãããã¼ã ãã®ã¨ãã®æé ã¯ãJava SDKãã¤ã³ã¹ãã¼ã«ãã¦ãGAE SDKããã¦ã³ãã¼ããã¦ãjruby-complete.jarãã³ã³ãã¤ã«ãã¦â¦ã¨ãããç ©éãªãã®ã§ããããã®å½æã¯ãããããããä¸è¬çãªææ³ã ã£ãã®ã§ã¯ãªããã¨æãã¾ãã ããããä»ãæ代ã¯å¤ããã¾ãããä»GAE/JRubyã§Rackã¢ããªãä½ãã®ã«å¿ è¦ãªä½æ¥ã¯ããã£ãã²ã¨ã¤ã®gemã®ã¤ã³ã¹ãã¼ã«ã ãã§ãã GettingStarted - appengine-jruby - Getting Started with JRuby on Google App Engine - Project Hosting on Google Code æå¿ã«ãã£ã¦GAE/JR
ç¡æãªã®ã¯ééããªãããï¼ããããï¼æéã«ãã¦ããã¨ããããã½ã éæ³ä½¿ãã«å¿ è¦ãªãã® åºæ¬çãªRubyã®ç¥è åºæ¬çãªhttp, htmlã«é¢ããç¥è Googleã¢ã«ã¦ã³ã éæ³ä½¿ãã«å¿ è¦ã§ãªããã® èªå® ãµã¼ã ã¬ã³ã¿ã«ãµã¼ã MVCã¨ãDBã¨ãã®ç¥è åæ ã¢ããªã±ã¼ã·ã§ã³ã¯Google App Engine(Java)ã®ä¸ã§åãã JRuby+Sinatraã§æ§æãJRubyã¯Javaä»®æ³ãã·ã³ä¸ã®Rubyå®è¡ç°å¢ã®ãã¨ã§ãSinatraã¯Rubyã®è¶ ãæ軽ã»è»½éWebãã¬ã¼ã ã¯ã¼ã¯ã ãããããå§ãã¾ãã俺ã®ç°å¢ãLinuxãªã®ã§ãWinãMacã使ã£ã¦ãæ¹ã¯é©å®èªã¿æ¿ãã¦ãã ï¼ãã¾ãGoogle App Engineã®ã¢ã«ã¦ã³ããåå¾ãããã¢ããªã±ã¼ã·ã§ã³ãé©å½ã«ç»é²ããã Googleã®ã¢ã«ã¦ã³ãããªã人ã¯ã¾ããããããæ¢ã«æã£ã¦ã人ã¯Google App Engineã«ç»
Cloud Computing ã®è©±ã注ç®ãããããã«ãªã£ã¦ãã°ããçµã¤ããåç¨ã§ã®æ¬æ ¼å¿ç¨ã¨ããæå³ã§ã¯ã¾ã ã¾ã æªçãªå¸å ´ã§ãããPhotoShareã¯å»å¹´ã®ï¼æãµã¼ãã¹éå§æãã Amazon ã® ec2ï¼S3 ã¨ããçµã¿åããã§éå¶ãã¦ãããç§ããè¦ãã°å½ç¶ã®é¸æã ã£ãããã ãããã®ã¿ã¤ãã³ã°ã§åç¨ãµã¼ãã¹ã¸ã®æ¡ç¨ã«è¸ã¿åã£ãä¼ç¤¾ãå°ãªãã£ãã®ããä½ä»¶ãã¤ã³ã¿ãã¥ã¼ã®ç³ãè¾¼ã¿ãæ¥ãããã¦å°ãé©ãã¦ããï¼åç §ï¼ã ããã«é³è åãããã¼ãã¦ã§ã¢ã®è³ç£ã¯ã§ããã ãæã¡ãããªãããèªåã§ãã¼ã¿ã»ã³ã¿ã¼ã«ã©ãã¯ãåãããªãã¦ãã¨ã¯ã³ã¹ãçã«è¦åããªãããã¨ãã£ã¦ãé常ã®ã¬ã³ã¿ã«ãµã¼ãã¼ã¯åæè²»ç¨ãã°ãã«ãªããªãï¼ä»ã¯å°ãã¯æ¹åããã¦ããã®ããç¥ããªãããå»å¹´ã®æ®µéã§ã¯ãããããããã¼ããèªåã§è²·ããããããã¨è¨ããããããã®åæè²»ç¨ãè«æ±ããä¼æ¥ãã»ã¨ãã©ã§ãã£ãï¼ãããã«å ãã¦ãã©ã®ãããã®
ç®æ¬¡ 2009å¹´9æ30æ¥ - ãæ¸ããã¨ãã«ã¤ãã¦æ¸ãã¾ããã / 2009å¹´9æ28æ¥ - ãæ°å¦ã¬ã¼ã«ï¼ã²ã¼ãã«ã®ä¸å®å ¨æ§å®çã表ç´ãå°çãã¾ããï¼ / 2009å¹´9æ27æ¥ - æ¥ææ¥ / 2009å¹´9æ25æ¥ - ãæ°å¦ã¬ã¼ã«ï¼ã²ã¼ãã«ã®ä¸å®å ¨æ§å®çãç¡æãã¬ã¼ã³ãæ½é¸å®æ½ãã¾ãã / 2009å¹´9æ24æ¥ - æ¨ææ¥ / 2009å¹´9æ23æ¥ - æ°´ææ¥ / 2009å¹´9æ22æ¥ - ç«ææ¥ / 2009å¹´9æ21æ¥ - æææ¥ / 2009å¹´9æ20æ¥ - æ¥ææ¥ / 2009å¹´9æ18æ¥ - #onwriting: æ¸ããã¨ã«ã¤ãã¦è©±ãã¾ããã / éææ¥ / 2009å¹´9æ17æ¥ - æ¨ææ¥ / 2009å¹´9æ16æ¥ - æ°´ææ¥ / 2009å¹´9æ15æ¥ - åºç£ / 2009å¹´9æ14æ¥ - å¿åã¡ã¼ã« / 2009å¹´9æ13æ¥ - æ¥ææ¥ / 2009å¹´9æ11æ¥ -
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}