| Gluino. BOTON, FLACK, PYRAMID, TORNADO, WSGIREF ¹× ±âŸ ÇÁ·¹ÀÓ ¿öÅ© |
Áö±Ý ´Ù¿î·Îµå |
Gluino. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Massimo Di Pierro
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://web2py.com/
Gluino. ű×
Gluino. ¼³¸í
Gluino´Â Bottle, Flask, Pyramid, Tornado ¹× WSGiref¿¡ ´ëÇÑ Web2py ¶óÀ̺귯¸®ÀÇ Æ÷Æ®ÀÔ´Ï´Ù. ÀÌ°ÍÀº Pycon 2012 Sprint.on Pypi Áß¿¡ ½ÃÀÛµÈ ÇÁ·ÎÁ§Æ®ÀÔ´Ï´Ù. Pypi : http://pypi.python.org/pypi/gluinothe Æ÷Æ® Æ÷ÇÔ; µ¥ÀÌÅͺ£À̽º Ãß»óÈ °èÃþ (DAL.PY) ¹®¼ - ÅÛÇø´ ¾ð¾î (ÅÛÇø´. PY) ¹®¼ (¾ç½Ä, PY) ¹®¼ - SQLFORMS (SQLHTML.PY) ¹®¼ (validators.py) ¼³¸í¼ - À§Á¬ ¹®¼ ¹®¼ ij½Ã (cache.py) documentationExamples- botter_example.py- flask_example.py- pyramid_example.py-tornado_example.py-wsgiref_example.pypyramid_example.py´Â Web2PyramID¶ó°íµµÇÕ´Ï´Ù. ±×°ÍÀº ¿À·¡Àü¿¡ ¿¹»óµÇ¾úÁö¸¸ Áö±Ý±îÁö´Â °áÄÚ Á¸ÀçÇÏÁö ¾Ê¾Ò½À´Ï´Ù! ¸ðµç ¿¹Á¦¿¡´Â µ¿ÀÏÇÑ °øÅë Äڵ尡 Æ÷ÇԵ˴ϴÙ. db = dal ( 'sqlite : //storage.sqlite') db.define_table ( 'person', field ( 'À̸§') = is_not_empty ())) ... form = sqlform (db.person) form.accepts (vars) : message = 'hello % s'% % form.vars.nameelse : message = 'hello anonymous'people = db (db.person). = cache.ram ( 'time', lambda : time.ctime (), 10) locals ()¸¦ ¹ÝȯÇÏ°í µ¿ÀÏÇÑ ÅÛÇø´À» ½ÇÇàÇÕ´Ï´Ù. {{È®Àå µÈ 'ÅÛÇø´ / layout.html'} }
{{= message}} {{= form}} people {{= people}} Å×½ºÆ® ij½Ì ½Ã°£ {{= now}} Á¤Àû À̹ÌÁö
Gluino. °ü·Ã ¼ÒÇÁÆ®¿þ¾î