KarriMvc -- 以TurboGears 的大框架的思路快速利用现有的软件组合成自个儿的 MVC 框架!

::-- ZoomQuiet [2006-12-14 05:16:01]

啄木鸟项目::

(!) KarriMvc

{o} Karrigell快速使用

1. 缘起

描述项目是如何发起的

1.1. 项目日志

<< <  2011 / 8 >  >>
Mon Tue Wed Thu Fri Sat Sun
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

CPUG联盟::

CPUG::门户plone

BPUG

SPUG

ZPUG

SpreadPython Python宣传

提要

1.2. 构想

{{{Moyan <[email protected]> hide details 12:14 pm (27 minutes ago)

}}} 近来,web开发热的不得了!quixote,pylons,django,turbogears,web.py还有什么simple web难怪有人说<<Why so many Python webframeworks?>>

另外一边,这些frameworks的平台也开始发热cgi,fastcgi,scgi,wsgi等

1.2.1. 独爱karrigell

万般中我独爱karrigell既然mvc那么好,那我也体验下了:

1.2.1.1. 在ks中

{{{... ... data=....select() print kid.serialize(file=,coding='utf-8',**locals()) }}}

显然,用这个真正作个开放在internet上的站点还差很多东西,包括karrigell的性能也是要考虑的.

1.2.2. 题外话

我以为一个web frameworks应该具有的功能包括

  1. Authentication 身份识别
  2. session management
  3. 获取环境变量值(Enviroment variblity)
  4. 18in
  5. url dispatch
  6. ORM
  7. template (这年头没有mvc你都不敢说自己是web frameworks!哈哈)

1.2.3. 中文处理

最后所说,上面(sqlobject+kid+karrigell)中使用中文的问题 首先,你得使用一个可以将源代码保存为utf-8编码的代码编辑器(比如我使用的editplus2.30,其他版本就不清楚了)

{{{#-*-coding:utf-8-*- 也可以 # coding:utf-8 }}}接下来的代码中凡中文,就u'...'或unicode('....')

<head>
       <meta http-equiv="content-type" content="text/html; charset='utf-8'">
       <title></title>
</head>

关键是<meta http-equiv="content-type" content="text/html;charset='utf-8'">

outputEncoding='utf-8'

encodeFormDate=1

1.3. 项目管理

1.3.1. 目标

1.3.2. 计划

1.3.3. 成员

1.3.4. 成果

2. 反馈

项目讨论

KarriMvc (last edited 2009-12-25 07:15:25 by localhost)