Simpleweb

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
 
(未显示1个用户的2个中间版本)
第1行: 第1行:
 +
{{top news}}
 +
 
simpleweb: A simple python [[WSGI]] compliant web framework, inspired by [[Django]], [[TurboGears]] and [[Web.py]]
 
simpleweb: A simple python [[WSGI]] compliant web framework, inspired by [[Django]], [[TurboGears]] and [[Web.py]]
  
第14行: 第16行:
 
......
 
......
 
==Install==
 
==Install==
 +
easy_install
 
  Once [[setuptools]] and [[easy_install]] are working, installing simpleweb is as simple as:
 
  Once [[setuptools]] and [[easy_install]] are working, installing simpleweb is as simple as:
 
  easy_install simpleweb
 
  easy_install simpleweb
第19行: 第22行:
 
  easy_install Cheetah
 
  easy_install Cheetah
 
  easy_install SQLObject or easy_install SQLAlchemy
 
  easy_install SQLObject or easy_install SQLAlchemy
+
 
 +
Manual Installation
 +
 
 
http://simpleweb.essienitaessien.com/
 
http://simpleweb.essienitaessien.com/
 +
 +
[[Category:Framework]]
 +
[[Category:Python]]

2010年9月27日 (一) 05:58的最后版本

simpleweb: A simple python WSGI compliant web framework, inspired by Django, TurboGears and Web.py

[编辑] Functions

  • db_plugin

support for two ORMs, SqlObject and SqlAlchemy.

from simpleweb.plugins import dblayer
db_plugin = dblayer.SqlObjectDB('mysql://foouser:foopass@localhost/foodb')
  • template_plugin
from simpleweb.plugins import template
template_plugin = template.Cheetah()
  • auth_plugin
from simpleweb.plugins import auth
auth_plugin = auth.SimpleAuth()

......

[编辑] Install

easy_install

Once setuptools and easy_install are working, installing simpleweb is as simple as:
easy_install simpleweb
easy_install flup
easy_install Cheetah
easy_install SQLObject or easy_install SQLAlchemy

Manual Installation

http://simpleweb.essienitaessien.com/

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱