August 2011 (1) July 2011 (1) June 2011 (2) April 2011 (2) March 2011 (2) February 2011 (2) January 2011 (6) December 2010 (6) November 2010 (5) October 2010 (8) September 2010 (2) August 2010 (3) July 2010 (9) June 2010 (4) March 2010 (1) February 2010 (7) January 2010 (2) ã¯ããã« GAE/Python ã§ã¯ã¹ã¬ãããåããã»ã¹çã«ãã並ååãåºæ¥ãªãã®ã§ãã¿ã¹ã¯ãã¥ã¼ã使ãã®ãä¸è¬çã§ãã ããããURLãã§ããã«ã¤ãã¦ã¯ãéåæãªã¯ã¨ã¹ããå©ç¨ãããã¨ã§ãã¿ã¹ã¯ãã¥ã¼ã使ããã«è¤æ°ã®HTTPéä¿¡ãåæå®è¡åºæ¥ã¾ãã
AppEngineã¯ãã¢ã¯ã»ã¹ããã£ãã¨ãã«ã¢ããªã±ã¼ã·ã§ã³ãèµ·åãããã°ããã¢ã¯ã»ã¹ãç¡ããã°ã¢ããªã±ã¼ã·ã§ã³ãçµäºãããã¾ã次ã®ãªã¯ã¨ã¹ãã§åèµ·åããã¨ããä»çµã¿ãå°å ¥ãã¦ãã¾ãã ãã®ãããã¢ããªã±ã¼ã·ã§ã³ãèµ·å(spin-up)ããæéãã¨ã¦ãéè¦ã«ãªã£ã¦ãã¾ãããã®spin-upã®æéã¯python(webapp)ã§60cpu_ms以ä¸ã(cpu_msã¯cpuã使ãä»®æ³çãªæéã§ããmsã¨åãæãã§æãã¦ããã£ã¦ãã¨ããããã¯å¤§ä¸å¤«ã§ã)Javaã®Servletã ã¨600cpu_msãããã§ããPythonã§ãDjangoãããªå¤§ããªãã¬ã¼ã ã¯ã¼ã¯ã ã¨1000cpu_msããã(ã¢ããªã«ãã)ãããã¾ããã許容ç¯å²å ãJavaã ã¨Slim3ã§1300cpu_msãSpringã ã¨æ©ãã¦7000cpu_msã¨ããæãã§ãSlim3ãã®ãªã®ãªè¨±å®¹ç¯å²å ã§ãããããã»ãã¨ãã¯ã1000
AppEngineã¯ãä¸è½ãªãã©ãããã©ã¼ã ã§ã¯ããã¾ãããããããããªã使ãéã¯éå®ããã¦ããã¨è¨ã£ã¦ãããã§ãããã åãã¦ããªãã¢ããªã§ä½¿ãã¨ããªãã¯ã¾ã£ã¦ãã¢ããªãå®æããªããªã¹ã¯ãããã¾ãã ä¸æ¹ãåãã¦ããã¢ããªã§ä½¿ãã¨ããã¾ã§ããããªãè²»ç¨ãç¯ç´ã§ãããã¨ããå²ãã«ã¤ãªãããã¨ãã§ãã¾ãã AppEngineã«ã©ã®ãããªã¢ããªãåãã¦ãããã¨ããã¨ãAppEngineãGoogleã®æ¢åã®ã¤ã³ãã©ããã®ã¾ã¾å©ç¨ãã¦ãããã¨ãã¾ãç¥ã£ã¦ããå¿ è¦ãããã¾ãã Googleã®ã¤ã³ãã©ã¯ã(極端ã«åç´åããã¨)大éã®ãã¼ã¿ãå¤ãã®äººã«åæã«è¦ããããã«æé©åããã¦ãã¾ãã AppEngineãåæ§ã§ã大éã®ãã¼ã¿ã«å¤§éã«ã¢ã¯ã»ã¹ããã£ã¦ã大ä¸å¤«ãªããã«ãBigtableã¨ããKVSã使ã£ã¦ãã¾ããã¾ããèªåã§ã¹ã±ã¼ã«ã¢ã¦ãããWebã®Front Endãæ¢åã®ã¤ã³ãã©ããã®ã¾ã¾ä½¿ã£ã¦
GAE/Pyã§bulkloaderã使ã£ã¦ãã¼ã¿ãã¢ãããã¼ããã - ãããã¼ãã¡ã¢ã®ãããããGAE/Pyãã»ã¨ãã©è§¦ã£ã¦ãªãã¦æè¿ã®äºæ ãç¥ããªãã£ãã®ã ãã©ãæè¿ä¹ ã ã«è§¦ã£ã¦ã¿ãããã®ã¸ããã¡ãã£ã¨å¤ãã£ã¦ããããã§ã Backing Up and Restoring  | Python  | Google Cloud Platform 以åã¯bulkloader.Loaderãç¶æ¿ããã¯ã©ã¹ã®.pyãä½ã£ã¦ããã使ããã¨ããããæ¹ãããªãã£ãã¨è¨æ¶ãã¦ããã®ã ãã©ãä»ã¯ãã®ã¸ãã®å¤ææ¹æ³ãyamlã§æå®ãããã¨ã§ä»£æ¿å¯è½ã«ãªã£ã¦ããããã§ã #!/usr/bin/env python from google.appengine.ext import db class Tweet(db.Model): date_time = db.DateTimeProperty(requir
GAEã«ã©ãã©ãæ©è½ã追å ããã¦ããä¸ããªããªãå®è£ ãããªãã®ãå ¨ææ¤ç´¢ãåè©ãã¨ããã»ã°ã¡ã³ã¿ã¼ã ãã§ãæä¾ãã¦ããããå ¨ç¶ä¾¿å©ã ã¨æããã ãã©ãããªã¢ãã¦ã³ã¹ã¯ã¾ã æãã¾ããã ãªããä½ãã°ãããããã¨ããäºã§ãå ¨ææ¤ç´¢ãã©ããå®è£ ãã¦ã¿ã¾ãããã²ã¨ã¤åã®ã¨ã³ããªã¼éãTriGramã§ãã 以åãæµæ¯å¯¿ã®ã¤ã±ã¡ã³ ã¤ã¢ã³ããã¨ä¸ç·ã«ä½ã£ãmisopotetoã¨ããã¢ã¸ã¥ã¼ã«ããã¼ã¹ã«ãã¦ãã¾ãã ä»åã®ãã¤ã³ãã¯ã転置ã¤ã³ããã¯ã¹ãredisãµã¼ãã«éã£ã¦ããã¨ãããGAEï¼ã¨ããDBå ¨è¬ï¼ã¯ãã¤ã³ãµã¼ãããã¡ããã¡ãé ãã®ã§ãNgramã§gramæ¯ã«ã¨ã³ããªã¼IDãappendãã¦ããã¨ããã®ã¯è¾ãã§ããTwitterã®æ¤ç´¢çµæ15åï½100æåä½ãTriGramã§ã¤ã³ããã¯ã¹ãä½ããã¨ããã¨ã1500åããããgetãã¦appendãã¦ãputããå¿ è¦ãããã¾ãã以åã¯ãTaskQ
Django ãã³ãã¬ã¼ãã® ã«ã¼ãæå ã§ãå¶æ°ï¼å¥æ°ãå¤å®ãããã£ãã®ã§ããã %æ¼ç®åã使ç¨ã§ããªãããã«ã以ä¸ã®ãããªãã¨ãã§ãã¾ããã --- {% for item in items %}  {% if (forloop.counter0 % 2) == 0 %}    {{ forloop.counter0 }}  {% endif %} {% endfor %} --- ããã§ãèªåã§ãã£ã«ã¿ã¼ãæ¸ãã¦å©ç¨ãã¾ãã ï¼ï¼custom_filter.py ãç¨æãã--- from google.appengine.ext import webapp from google.appengine.ext.webapp import template register = webapp.template.create_template_register() def isOdd
ã³ã³ãã³ãã¸ã¹ããã ç¡æã§ä½¿ããï¼HubSpotã®é¡§å®¢ãªã¹ãã®æ´»ç¨æ³ ç¡æã®ã¢ã³ã±ã¼ãä½æãã¼ã« æ¯è¼ï¼ã¾ã¨ã ç¡æãExcelã ãã³ãã¬ã¼ã æ¯è¼ï¼ã¾ã¨ã ç¡æã§ä½¿ãããã¼ãã¢ããªæ¯è¼ (Evernote / OneNote / Google Keep) ããããã®ç¡æWebä¼è°ã·ã¹ãã 5é¸ WebP Converter å¾¹åºè§£èª¬ï¼åå¿è ã§ãç´ãã«ä½¿ãã HubSpot ã¯ããã¼ã±ãã£ã³ã°ãã»ã¼ã«ã¹ããµã¼ãã¹ã®ããã®CRMï¼Continue reading å¤ãã®äººã®å£°ãèããã¨ã§æ¹åã§ãããã¨ãå¤ã ä¼æ¥ãå£ä½ãªã©éå¶ãã¦ãContinue reading å°±è·ã»è»¢è·ã«ã¯å¿ é ã¨ãªãå±¥æ´æ¸ã»è·åçµæ´æ¸ ããããå°±è·æ´»åãã¹ã¿ã¼ãContinue reading 便å©ãªãã¼ãã¢ããªã§å¹ççãªä»äºãããã ãã¤ã®æ代ãä»äºããã¦ãã¦ã¡Continue reading è¿å¹´ããªã¢ã¼ãã¯ã¼ã¯
Using Django 1.0 on App Engine with Zipimport Dan Sanderson September 2008 Introduction Using a Python web application framework with your App Engine application is usually as simple as including the files for the framework with your application's code. However, there is a limit to the number of files that can be uploaded for an application, and the standard distributions for some frameworks exce
Unleash Django with app-engine-patch This article was written and submitted by an external developer. The Google App Engine team thanks Jesaja Everling for his time and expertise. Jesaja Everling February 2009 Introduction The Django framework can make your life as a web developer a lot easier. It takes care of a lot of common problems web developers have to deal with, and offers many "reusable a
ã¯ãã㫠「人é¡ã使ããã¹ã¦ã®æ å ±ãéãæ´çããï½£ ãã®å£®å¤§ãªããã·ã§ã³ãæ²ãè¨ç«ãããGoogleã¯ããã®ããã·ã§ã³ãéè¡ããã¹ãããã·ã³ã»ãããã¯ã¼ã¯ãªã©ã®ã¤ã³ãã©ç°å¢ã«è«å¤§ãªéé¡ãæè³ããç¬èªã®æè¡ãéçºãç¶ãã¦ãã¾ããGoogleã¯æ¤ç´¢ã¨ã³ã¸ã³ã ãã«ã¨ã©ã¾ãããGmailãGoogle CalendarãGoogle MapsãGoogle AnalysticsãYoutubeãGoogle AppsãGoogle Earthãªã©ããã¾ãå ¨ä¸çã®ã¦ã¼ã¶ã¼ã使ç¨ãããµã¼ãã¹ããªãªã¼ã¹ãã¦ããããã®æ±ããã¼ã¿éãã¢ã¯ã»ã¹æ°ã¯å¤©æå¦çãªæ°ã«ãªããã¨ãäºæ³ããã¾ããGoogleã¯ãããã®ãã¼ã¿éãã¢ã¯ã»ã¹æ°ãé«éã«ãã°ãããªããã¤èé害æ§ã®é«ãã¹ã±ã¼ã©ãã«ãªå¤§è¦æ¨¡åæ£ã·ã¹ãã ãæ§ç¯ãã¦ãã¾ãã ãããªä¸ã2008å¹´4æã«Google App Engineããªãªã¼ã¹ããã¾ãããGoogleã
JRuby Google AppEngine Service ã©ãã㼠注æäºé ã§ãæ¸ããããã«ãGoogle AppEngineã§JRubyã使ãã«ã¯ãã¾ãã¾ãªå¶ç´ã¨ã¨ãã«ãé常ã®(J)Rubyã§ã¯ä½¿ãããµã¼ãã¹ã使ç¨ã§ããªããªã£ã¦ãã¾ãããã®ãããGoogle AppEngineã§æä¾ããã¦ãããµã¼ãã¹ãJRubyãã使ãããã®ã©ããã¼ãåå¨ãã¾ãã ãããã©ããã¼ã®ä¸è¦§ã§ãã bumble DBã®ãããã«ãGoogle DataStoreã«ã¢ã¯ã»ã¹ããããã®ã©ã¤ãã©ãªã dm-datastore-adapter DatamapperããGoogle DataStoreã«ã¢ã¯ã»ã¹ããããã®ã¢ããã¿ beeu Google ã®ã¦ã¼ã¶ã¢ã«ã¦ã³ãã使ãããã®ã©ã¤ãã©ãª image-gae ImageScienceã®ä»£æ¿ãGoogleç¬èªã®ç»åå¦çã©ã¤ãã©ãªã®ã©ããã¼ p
å æ¥Google App Engineã®SDKã1.2.6ã«ãã¼ã¸ã§ã³ã¢ããããã¢ããªã±ã¼ã·ã§ã³ãã¡ã¼ã«ãåä¿¡ã§ããããã«ãªãã¾ããã Google App Engine Blog: App Engine SDK 1.2.6 Released with Incoming Email, App Deletion, and more! Twitterã®èªåãã©ãã¼è¿ããå®ç¾ããã«ã¯ãããã¾ãã«åã㦠ãã©ãã¼éç¥ã®ã¡ã¼ã«ãåä¿¡ããã¿ã¤ãã³ã°ã§ããã°ã©ã ãå¼ã³åºã å®æçã«ã¡ã¼ã«ãµã¼ãã«ãã©ãã¼éç¥ã¡ã¼ã«ã確èªãã«è¡ã å®æçã«followingã¨followersã®å·®åããã§ãã¯ãã ã¨ãã3ãã¿ã¼ã³ãããã¨æãã¾ãã GAEã®ã¡ã¼ã«åä¿¡æ©è½ã使ãã°ããã®ä¸ã®1çªãæ軽ã«å®ç¾ã§ãããã§ãã ã¨ãããã¨ã§ãããç°¡åãªèªåãã©ãã¼è¿ãã®ä»çµã¿ãGAE/JRubyã§ä½ã£ã¦ã¿ã¾ããã ä¸æºå GAE/
åç½®ã Google App Engine(以ä¸GAE)ã§ã¯ãå ¬å¼ã«ã¯ç¾å¨ã®ã¨ããPythonã¨Javaãããµãã¼ãããã¦ãã¾ããããJRubyã¨ããç´ æ´ããããããã¯ãã®ãããã§Java VMä¸ã§Rubyã¹ã¯ãªãããå®è¡ã§ãããããèãããã«ãã£ã¦ã¯Rubyãæ¢ã«ãµãã¼ã対象ã«ãªã£ã¦ããã¨è¨ããªããããã¾ããã å®éã«ã°ã°ã£ã¦ã¿ã¦ãæ¢ã«çµæ§ãªéã®æ å ±ãåå¨ããã®ã§ãããã©ããJRuby on Railsã対象ã¨ããæ å ±ãå¤ããç´ ã®Rubyã¢ããªã±ã¼ã·ã§ã³ãåããããã®æ å ±ããã¾ãç¡ãããã«æãã¾ããã Railsããã¡ããåªãããã¬ã¼ã ã¯ã¼ã¯ãªã®ã§ãããã¡ãã£ã¨ããã¢ããªã±ã¼ã·ã§ã³ãä½ãã®ã«ã¯å°ã ééãã¾ãããâ¦ã ã¨ãããã¨ã§ãéRailsãªããã£ã¨ã·ã³ãã«ãªRubyã¢ããªãGAEä¸ã§åããããã®æé ã調ã¹ã¦ã¿ã¾ããã ãã¤ã³ã ä»åã¯ä»¥ä¸ã®åæã§ä½æ¥ãé²ãã¦ããã¾ãã Railsãªã©
åç½®ã ç¶ãã§ããååãGoogle App Engineï¼ä»¥ä¸GAEï¼ä¸ã§Rubyã¹ã¯ãªãããåä½ãããã¨ããã¾ã§ã§ãã¾ããã次ã®ãµã³ãã«ã¨ãã¦ãç°¡åãªTwitterã®botãä½æãã¦ã¿ããã¨æãã¾ãã â¦ã©ããã¦æ®éã®Webã¢ããªã±ã¼ã·ã§ã³ãããªãã®ãã£ã¦ï¼ããã¯ã¾ãâ¦è²ã ããã¾ãããå ã ç§ãGAEã«è§¦ã£ã¦ã¿ããã¨æã£ããã£ãããããããèªä½botã®åä½ãã©ãããã©ã¼ã ã«ã§ããªãããªã*1ãã¨æã£ããããã¨ãããã¨ãããã¾ãã¦ã ããã«ãä¸åº¦URLãã§ããããGAEãã¼ã¿ã¹ãã¢ãã¿ã¹ã¯ã®ã¹ã±ã¸ã¥ã¼ãªã³ã°ãªã©ãGAEç¬èªã®æ©è½ãããã¤ãå¿ è¦ã¨ãªã£ã¦ãã¾ãã®ã§ãæ軽ãªãµã³ãã«ã¨ãã¦ãæªãã¯ãªãããªãã¨ã ãµã³ãã«ã³ã¼ãã ããã§å°ã é·ãè¨äºã¨ãªã£ã¦ãã¾ãã¾ããããã©ãããä»ãåãä¸ããã ä½æããbotã®ã¿ã¤ã ä¸è¨ã§Twitterã®botã¨è¨ã£ã¦ããæ§ã ãªã¿ã¤ããåå¨ãã¾ããä»åã¯ã·ã³ãã«
Google App Engineåãã®ã¢ããªãä½ãéã«æåã«æ©ãã ã®ã¯ãã¬ã¼ã ã¯ã¼ã¯ã®é¸æãGoogle App Engineã«ã¯webappã¨ããæä½éã®æ©è½ãæã£ããã¬ã¼ã ã¯ã¼ã¯ãä»ãã¦æ¥ãããPython使ãã®äººãã¡ã®éã§ã¯ãDJangoã¨ãããã¬ã¼ã ã¯ã¼ã¯ãåºã使ããã¦ããããããããã¨ãã£ã¦ããã¾ã大ããªãã¬ã¼ã ã¯ã¼ã¯ã使ãã¨ãããã©ã¼ãã³ã¹ã®ãã¥ã¼ãã³ã°ã¨ãããã«ãããªããããã¬ã¼ã ã¯ã¼ã¯ãã®ãã®ã®ãã°ãå¶éã«æ©ã¾ããããå¯è½æ§ãããã ãããªä¸ã§å¢äºåãè¦ã¤ãã¦ããã¦ã¾ã試ããã®ããJunoã¨ãããã¬ã¼ã ã¯ã¼ã¯ãDJangoã¨æ¯ã¹ãã¨é¥ãã«å°ãããWebappãããURLã®ã«ã¼ãã£ã³ã°ã®ã¡ã«ããºã ã¨ããå å®ãã¦ããã ããã§ä¸æ¦ã¯ã¢ããªãJunoã®ä¸ã§ä½ãå§ããã®ã ããJunoã®ã½ã¼ã¹ã³ã¼ããè¦ã¦ãããã¡ã«ããããã¨æ°ã«å ¥ããªãã¨ãããåºã¦æ¥ããä¸å¿ è¦ã«ãªãã·ã§ã³ãå¤ããã
Google App Engineã®éçºã§ã¯Pythonã使ãã¾ããGAEã使ã£ãWebã¢ããªã®éçºã§ãã¹ãé§åéçºãè¡ãéã«ãï¼Pythonçãªã¦ããããã¹ãã®æèãæ´»ç¨ã§ãã¾ãã ãã ãï¼GAEã§ã¦ããããã¹ããè¡ãããã«ã¯ããã¤ãã®ãã¼ã«ãããªãã¯ãå¿ è¦ã§ããããã§ã¯ï¼ãã®ãã¯ããã¯ãç°¡åã«ç´¹ä»ãã¾ãã ãã®1 : NoseGAEã使ã Pythonã®ãã¹ãç¨ãã¼ã«ã«Noseãããã¾ãããã®ãã¼ã«ã¯ï¼è¤æ°ã®ãã£ã¬ã¯ããªã渡ãæ©ãã¦ï¼è¤æ°ã®ãã¹ãã³ã¼ããä¸æ°ã«å®è¡ãã¦ããã便å©ãªãã¼ã«ã§ãã Noseã®ãã©ã°ã¤ã³NoseGAEãã¤ã³ã¹ãã¼ã«ãããã¨ã§ï¼GAEã¢ããªã®ãã¹ãã楽ã«è¡ããã¨ãã§ãã¾ãããnose --with-gaeãã¨ããããã«ãªãã·ã§ã³æå®ããããã¨ã§NoseGAEãå©ç¨ã§ãã¾ããNoseGAEã§ã¯ï¼ãã¹ãã³ã¼ãä¸ã§GAEã®ã¢ã¸ã¥ã¼ã«ãããã±ã¼ã¸ãã¤ã³ãã¼ãããããã«å¿
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}