This document is published under the terms of the MIT license: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
Pylons ãã¼ã¹ã® AppEngine ã¢ããªã®éçºãåéã Pylons ã 0.9.6 ãã 0.9.7rc4 ã«ä¸ãã AppEngine ã® SDK ã1.1.9 ãç¨ããã 以ä¸ã¯ãã¨ããããåä½ãããã¾ã§ã®ã¡ã¢ã Application & Sourcecode app: http://bia-hanoi.appspot.com/ source: http://bitbucket.org/junya/biahanoi/ source: http://code.google.com/p/bia-hanoi/ (å¾è¿°ã®çç±ã§ Bitbucketã«ç§»è¡ãããã) ã¾ã㯠Pylons 0.9.7rc4 ãåãã Mike Orr ã®æ¸ãã "Creating a Pylons application for Google App Engine" ã®éãã«è¡ãã°ããã åºæ¬ã¹ããã
社å åãã«æ¸ããããã¥ã¡ã³ãã§ãããæ±ç¨çã§å½¹ã«ç«ã¡ãããªã®ã§ãå°ãæãå ¥ãã¦å ¬éãããã¨ã«ãã¾ããã ãã°åºå ãã¡ã¤ã«ã®å é ã§ãã°åºåç¨ãªãã¸ã§ã¯ãããåæåãã以ä¸ã®ããã«ãã°ãæ¸ãåºãã¦ãã ããã import logging log = logging.getLogger(__name__) log.warn("Some Message") ããã©ã«ãã§ã¯ããµã¼ããå®è¡ãã¦ããã³ã³ã½ã¼ã«ã«ãã°ãæ¸ãåºããã¾ãããªãã development.ini ã«ãã°ã®è¨å®ãç´°ããæ¸ããã¨ãã§ãã¾ãã詳ãã㯠Logging ãåç §ãã¦ãã ããã ã¤ã³ã¿ã©ã¯ãã£ãããã㬠Pylons ã debug=true ã§å©ç¨ãã¦ããã¨ãã¨ã©ã¼ç»é¢ã«ãããã°ç»é¢ã表示ããã¾ããããã«ã¯ã¹ã¿ãã¯ãã¬ã¼ã¹ã表示ãããå種å¤æ°ãåç §ããããPython ã³ã¼ããå®è¡ãããã¨ãã§ããã¨ã¦ã便å©ã§ãã詳ããã¯
â routes Rubyã§æ¸ãããRailsç¨ã® mod_rewrite ã®ãããªURLæ¸ãæãæ©è½ã§ããå®ç¾©ãã¡ã¤ã«ã¯ config/routes.rb ã§ããRailsã¯1ãã¼ã¸(ã³ã³ãã³ã)ãåºæ¬çã«ãã³ã³ããã¼ã©ãã¨ãã¢ã¯ã·ã§ã³ãã¨ããçµã§ç®¡ç(表ç¾)ãã¾ããã³ã³ããã¼ã©ã¨ã¢ã¯ã·ã§ã³ã¯1æéRailsã¨éã¶ã¨å¤§ä½ãããã¾ãããç°¡åã«èª¬æããã¨ã¢ã¯ã·ã§ã³ãé常ã®CGI('foo.cgi')ã® 'foo' ã«å½ããèå¥åã§ãã³ã³ããã¼ã©ã¯ãããã®ããç¨åº¦ã®éã¾ãã ã¨æã£ã¦æ§ãã¾ããããã®éã¾ããé©å½ãªãã®ã§ãªããæ£ããã¯MVCã¨ããæ¦å¿µã«åºã¥ãã¦æ±ºã¾ãã®ã§ãã(DBã®ãããã¼ãã«ã«å¯¾ããä¸é£ã®æä½(ã¢ã¯ã·ã§ã³)åä½ã§ã¾ã¨ã¾ã)ãèªåã®å¥½ããªç²åº¦ã§ã¾ã¨ãã¦ãå®å®³ã¯ããã¾ãããããã§ã¯ãããã®2ã¤ã®çµã§ãã¼ã¸ãæå®ããããã¨ããç解ã ãã§OKã§ããä¾ã«æ¼ããããã® route (URLæ¸
ã¾ã ç解ãä¸éå端ãªãã ãã©ä¸åº¦ã¾ã¨ãã¦ããã WSGIã®ããã®ã³ã³ãã¼ãã³ã群ã¨WSGIã«æ²¿ã£ãéçºããµãã¼ããããã¼ã«ç¾¤ã®éã¾ããpaste. WSGIã¯ã¦ã§ããµã¼ãã¨ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ã®éã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãPEP333ã§è¦å®ããã¦ããã pasteã¯ãã¬ã¼ã ã¯ã¼ã¯ã®ããã®ãã¬ã¼ã ã¯ã¼ã¯ã¿ãããªãã®ã§ããã®ä¸ã«ãã¬ã¼ã ã¯ã¼ã¯ãå®è£ ãã¦ããã使ãããã¨ãã°Pylonsã¨ãã¯ãããããã¬ã¼ã ã¯ã¼ã¯ã ããã®ã¡ãªããã¯åºç¤é¨åã¯pasteãæä¾ãã¦ãããã®ã§ã³ã¼ããå°ãããªããã¨ãWSGIã«æºæ ããé¨åï¼ãã¨ãã°WSGIããã«ã¦ã§ã¢ï¼ã¯ãã¬ã¼ã ã¯ã¼ã¯ãå¤ãã£ã¦ãåå©ç¨å¯è½ãªãã¨ããã¬ã¼ã ã¯ã¼ã¯ãå¤ãã£ã¦ãè¦ãããã¨ãå°ãªããªããã¨ã paste script ããã¸ã§ã¯ããã³ãã¬ã¼ãã®ä½æ ã³ãã³ãã©ã¤ã³ãã¼ã« pasteãã¼ã¹ã®ãã¬ã¼ã ã¯ã¼ã¯ã§å ±éã«ä½¿ããã¼ã«ã®å ±æãä¿ã paste
ãã¦ãFormBuildã«ãããToscaWidgets(twForm) ã«ãããå ¥åãã§ãã¯ã«ã¯FormEncodeã使ã£ã¦ãã¾ãã FormEncodeã¯ãæååããpythonã®å¤(intããdatetimeãªã©)ã«å¤æã¨å ¥åãã§ãã¯ãåæã«ãã£ã¦ããã¾ãã å ¥åãã§ãã¯ã«éã£ãæååã¯å®å ¨ã«å¤æã§ããã£ã¦ãã¨ã§ããã æ¨æºã§ãå¤ãã®ããªãã¼ã¿ãå«ãã§ãã¾ãããæ¡å¼µããã®ãç°¡åã«ã§ããããã«ãªã£ã¦ãã¾ãã FancyValidatorã¨ãããã«ã¹ã¿ã ããªãã¼ã¿ãä½ãããã®åºåºã¯ã©ã¹ãç¨æããã¦ãã¾ãã æ¢åã®ããªãã¼ã¿ãç¶æ¿ãã¦ããã§ãã¯å 容ãå¢ããã®ãç°¡åã§ãã ãã¡ã¤ã«ã¢ãããã¼ãã®ããªãã¼ã¿ã«ãFieldStorageUploadConverterããã§ã«ããã¾ãã ãã®ããªãã¼ã¿ãæ¡å¼µãã¦ãã¤ã¡ã¼ã¸ãã¡ã¤ã«å°ç¨ã®ããªãã¼ã¿ãä½ã£ã¦ã¿ã¾ããã Python Imaging Li
TurboGears and Pylons are two popular web frameworks; TurboGears hit the scene about a year and a half ago, Pylons started picking up steam maybe six months ago. They are both modern MVC frameworks, targeting a similar style of development. Here's a description of the technical differences: Similarities Both are MVC-style frameworks. Neither is particularly CMS oriented in the framework itself (un
ãç¥ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}