Python论坛  - 讨论区

标题:[python-chinese] 如何用python写网站程序?

2007年03月02日 星期五 18:08

Li Chunhui lich在dhc.com.cn
星期五 三月 2 18:08:57 HKT 2007

大家好! 我想请教大家:如何在不用别的框架情况下用python写网站程序?可选用哪些服务器做pyrhon网
站程序的容器?
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: http://python.cn/pipermail/python-chinese/attachments/20070302/6ec24291/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年03月02日 星期五 10:11

Alex Cheng chengxin1985在gmail.com
星期五 三月 2 10:11:11 HKT 2007

Äã¿ÉÒÔÓÃzope, ÎÒÓõÄÊÇzope2, µ«ÊÇÌý˵zope3 ¸üºÃ.

Òª»ñÈ¡×ÊÁÏ, Çëµ½ www.zope.org.

ÔÚ07-3-2£¬Li Chunhui <lich在dhc.com.cn> дµÀ£º
>
>  ´ó¼ÒºÃ! ÎÒÏëÇë½Ì´ó¼Ò£ºÈçºÎÔÚ²»ÓñðµÄ¿ò¼ÜÇé¿öÏÂÓÃpythonдÍøÕ¾³ÌÐò£¿¿ÉÑ¡ÓÃÄÄЩ·þÎñÆ÷×öpyrhonÍøÕ¾³ÌÐòµÄÈÝÆ÷£¿
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>



-- 
powered by python
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070302/953b2a6b/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年03月02日 星期五 18:23

Li Chunhui lich在dhc.com.cn
星期五 三月 2 18:23:03 HKT 2007

ÓÃzope¿ª·¢µÄ»°Ó¦¸ÃÔõôдÄØ?ÊDz»ÊÇÓÐÀàËÆservletµÄ¶«Î÷£¿¿É²»¿ÉÒÔ¸ø¸ö¼òµ¥µÄÀý×Ó£¿Ð»Ð»ÁË
  ----- Original Message ----- 
  From: Alex Cheng
  To: python-chinese在lists.python.cn
  Sent: Friday, March 02, 2007 2:11 AM
  Subject: Re: [python-chinese] ÈçºÎÓÃpythonдÍøÕ¾³ÌÐò£¿


  Äã¿ÉÒÔÓÃzope, ÎÒÓõÄÊÇzope2, µ«ÊÇÌý˵zope3 ¸üºÃ.

  Òª»ñÈ¡×ÊÁÏ, Çëµ½ www.zope.org.


  ÔÚ07-3-2£¬Li Chunhui < lich在dhc.com.cn> дµÀ£º
    ´ó¼ÒºÃ! ÎÒÏëÇë½Ì´ó¼Ò£ºÈçºÎÔÚ²»ÓñðµÄ¿ò¼ÜÇé¿öÏÂÓÃpythonдÍøÕ¾³ÌÐò£¿¿ÉÑ¡ÓÃÄÄЩ·þÎñÆ÷×ö
pyrhonÍøÕ¾³ÌÐòµÄÈÝÆ÷£¿

    _______________________________________________
    python-chinese
    Post: send python-chinese在lists.python.cn
    Subscribe: send subscribe to python-chinese-request在lists.python.cn
    Unsubscribe: send unsubscribe to   python-chinese-request在lists.python.cn
    Detail Info: http://python.cn/mailman/listinfo/python-chinese




  -- 
  powered by python


------------------------------------------------------------------------------


  _______________________________________________
  python-chinese
  Post: send python-chinese在lists.python.cn
  Subscribe: send subscribe to python-chinese-request在lists.python.cn
  Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
  Detail Info: http://python.cn/mailman/listinfo/python-chinese
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070302/38ede9c8/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年03月03日 星期六 08:41

大郎 iexper在gmail.com
星期六 三月 3 08:41:11 HKT 2007

***WEBÓ¦ÓÃϵÁÐ <http://wiki.woodpecker.org.cn/moin/PyWebFrameList>
http://wiki.woodpecker.org.cn/moin/PyWebFrameList

*
On 3/2/07, Li Chunhui <lich在dhc.com.cn> wrote:
>
>  ÓÃzope¿ª·¢µÄ»°Ó¦¸ÃÔõôдÄØ?ÊDz»ÊÇÓÐÀàËÆservletµÄ¶«Î÷£¿¿É²»¿ÉÒÔ¸ø¸ö¼òµ¥µÄÀý×Ó£¿Ð»Ð»ÁË
>
> ----- Original Message -----
> *From:* Alex Cheng <chengxin1985在gmail.com>
> *To:* python-chinese在lists.python.cn
> *Sent:* Friday, March 02, 2007 2:11 AM
> *Subject:* Re: [python-chinese] ÈçºÎÓÃpythonдÍøÕ¾³ÌÐò£¿
>
> Äã¿ÉÒÔÓÃzope, ÎÒÓõÄÊÇzope2, µ«ÊÇÌý˵zope3 ¸üºÃ.
>
> Òª»ñÈ¡×ÊÁÏ, Çëµ½ www.zope.org.
>
> ÔÚ07-3-2£¬Li Chunhui < lich在dhc.com.cn> дµÀ£º
> >
> >  ´ó¼ÒºÃ! ÎÒÏëÇë½Ì´ó¼Ò£ºÈçºÎÔÚ²»ÓñðµÄ¿ò¼ÜÇé¿öÏÂÓÃpythonдÍøÕ¾³ÌÐò£¿¿ÉÑ¡ÓÃÄÄЩ·þÎñÆ÷×öpyrhonÍøÕ¾³ÌÐòµÄÈÝÆ÷£¿
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
>
>
>
> --
> powered by python
>
> ------------------------------
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>



-- 
ÎÒ×ßµ½Ò»¸öÄ°ÉúµÄµØ·½
¸æËß±ðÈË ÎÒҪȥÁ÷ÀË

Ŷ£¬ÎÒҪȥÁÆÉË¡­¡­

http://www.iexper.com/blog/
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070303/2d94ddfd/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年03月03日 星期六 12:36

jejwe jejwester在gmail.com
星期六 三月 3 12:36:24 HKT 2007

Èç¹ûÄãÏëÒªJSPµÄÄÇÑùµÄ·ç¸ñ¿ÉÒÔʹÓÃWEBWARE,²»¹ý²»¹ÜZOPE»¹ÊÇWEBWARE£¬ÎҸоõ¶¼ÊÇ¿ò¼Ü£¨ZOPE±È½Ï¶ÀÁ¢£©£¬ÄÇôÄã²»Óÿò¼Ü£¬¾ÍÖ±½ÓÓÃMOD_PYTHON°É
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070303/4743f78b/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年03月03日 星期六 13:07

武长斌 chbin.w在gmail.com
星期六 三月 3 13:07:36 HKT 2007

zope的学习难度非常的高,可以选择一些轻量级的框架学起。

在07-3-3,jejwe <jejwester at gmail.com> 写道:
>
> 如果你想要JSP的那样的风格可以使用WEBWARE,不过不管ZOPE还是WEBWARE,我感觉都是框架(ZOPE比较独立),那么你不用框架,就直接用MOD_PYTHON吧
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>



-- 
武长斌
chbin.w at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://python.cn/pipermail/python-chinese/attachments/20070303/cb973a9d/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年03月03日 星期六 13:22

Neil(木野狐) chenrong2003在gmail.com
星期六 三月 3 13:22:35 HKT 2007

ÍƼö Django, ÎÒÏÖÔÚÒ²ÔÚÓà Django. ºÃ´¦ÊÇѧϰ×ÊÁ϶࣬Èç¹ûÓÐÆäËûÓïÑ﵀ web ±à³Ì¾­Ñ飬·Ç³£ÈÝÒ×ÈëÊÖ£¬ÉîÈëҲûÎÊÌâ¡£

ÔÚ07-3-3£¬Î䳤±ó <chbin.w在gmail.com> дµÀ£º
>
> zopeµÄѧϰÄѶȷdz£µÄ¸ß£¬¿ÉÒÔÑ¡ÔñһЩÇáÁ¿¼¶µÄ¿ò¼ÜѧÆð¡£
>
> ÔÚ07-3-3£¬jejwe <jejwester在gmail.com> дµÀ£º
> >
> > Èç¹ûÄãÏëÒªJSPµÄÄÇÑùµÄ·ç¸ñ¿ÉÒÔʹÓÃWEBWARE,²»¹ý²»¹ÜZOPE»¹ÊÇWEBWARE£¬ÎҸоõ¶¼ÊÇ¿ò¼Ü£¨ZOPE±È½Ï¶ÀÁ¢£©£¬ÄÇôÄã²»Óÿò¼Ü£¬¾ÍÖ±½ÓÓÃMOD_PYTHON°É
> >
> > _______________________________________________
> >
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070303/aa347b61/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年03月05日 星期一 09:30

Alex Cheng chengxin1985在gmail.com
星期一 三月 5 09:30:49 HKT 2007

Zope ÖеÄPython Script ¾ÙÀý:

# Import a standard function, and get the HTML request and response objects.
import string
from Products.PythonScripts.standard import html_quote
request = container.REQUEST
RESPONSE =  request.RESPONSE
session = context.REQUEST.SESSION

return "Hello world".

Èç¹ûpython script µÄÃû×ÖÊÇ hello, ±ã¿ÉÒÔÓÃhttp://localhost/hello URL À´·ÃÎÊ.

Zope ÖÐ DTML ¾ÙÀý:

This is the Document.

Çë´Ówww.zope.org ÏÂÔظüÏêϸ×ÊÁÏ. ÔÚ07-3-3£¬Neil(ľҰºü) <chenrong2003在gmail.com> дµÀ£º > > ÍƼö Django, ÎÒÏÖÔÚÒ²ÔÚÓà Django. ºÃ´¦ÊÇѧϰ×ÊÁ϶࣬Èç¹ûÓÐÆäËûÓïÑ﵀ web ±à³Ì¾­Ñ飬·Ç³£ÈÝÒ×ÈëÊÖ£¬ÉîÈëҲûÎÊÌâ¡£ > > ÔÚ07-3-3£¬Î䳤±ó <chbin.w在gmail.com> дµÀ£º > > > > zopeµÄѧϰÄѶȷdz£µÄ¸ß£¬¿ÉÒÔÑ¡ÔñһЩÇáÁ¿¼¶µÄ¿ò¼ÜѧÆð¡£ > > > > ÔÚ07-3-3£¬jejwe <jejwester在gmail.com> дµÀ£º > > > > > > Èç¹ûÄãÏëÒªJSPµÄÄÇÑùµÄ·ç¸ñ¿ÉÒÔʹÓÃWEBWARE,²»¹ý²»¹ÜZOPE»¹ÊÇWEBWARE£¬ÎҸоõ¶¼ÊÇ¿ò¼Ü£¨ZOPE±È½Ï¶ÀÁ¢£©£¬ÄÇôÄã²»Óÿò¼Ü£¬¾ÍÖ±½ÓÓÃMOD_PYTHON°É > > > > > > _______________________________________________ > > > > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -- powered by python -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070305/43e3191a/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年03月05日 星期一 14:31

klutz chump chumpklutz在gmail.com
星期一 三月 5 14:31:51 HKT 2007

ÍƼöʹÓÃ:Karrigell

ÔÚ07-3-5£¬Alex Cheng <chengxin1985在gmail.com> дµÀ£º
>
> Zope ÖеÄPython Script ¾ÙÀý:
>
> # Import a standard function, and get the HTML request and response
> objects.
> import string
> from Products.PythonScripts.standard import html_quote
> request = container.REQUEST
> RESPONSE =  request.RESPONSE
> session = context.REQUEST.SESSION
>
> return "Hello world".
>
> Èç¹ûpython script µÄÃû×ÖÊÇ hello, ±ã¿ÉÒÔÓÃhttp://localhost/hello URL À´·ÃÎÊ.
>
> Zope ÖÐ DTML ¾ÙÀý:
> 
> 

>

> This is the Document. >

> > > Çë´Ówww.zope.org ÏÂÔظüÏêϸ×ÊÁÏ. > > > ÔÚ07-3-3£¬Neil(ľҰºü) <chenrong2003在gmail.com> дµÀ£º > > > > ÍƼö Django, ÎÒÏÖÔÚÒ²ÔÚÓà Django. ºÃ´¦ÊÇѧϰ×ÊÁ϶࣬Èç¹ûÓÐÆäËûÓïÑ﵀ web ±à³Ì¾­Ñ飬·Ç³£ÈÝÒ×ÈëÊÖ£¬ÉîÈëҲûÎÊÌâ¡£ > > > > ÔÚ07-3-3£¬Î䳤±ó <chbin.w在gmail.com> дµÀ£º > > > > > > zopeµÄѧϰÄѶȷdz£µÄ¸ß£¬¿ÉÒÔÑ¡ÔñһЩÇáÁ¿¼¶µÄ¿ò¼ÜѧÆð¡£ > > > > > > ÔÚ07-3-3£¬jejwe <jejwester在gmail.com> дµÀ£º > > > > > > > > Èç¹ûÄãÏëÒªJSPµÄÄÇÑùµÄ·ç¸ñ¿ÉÒÔʹÓÃWEBWARE,²»¹ý²»¹ÜZOPE»¹ÊÇWEBWARE£¬ÎҸоõ¶¼ÊÇ¿ò¼Ü£¨ZOPE±È½Ï¶ÀÁ¢£©£¬ÄÇôÄã²»Óÿò¼Ü£¬¾ÍÖ±½ÓÓÃMOD_PYTHON°É > > > > > > > > _______________________________________________ > > > > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > -- > powered by python > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070305/9ca9f49f/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年03月05日 星期一 14:39

麦田守望者 qcxhome在gmail.com
星期一 三月 5 14:39:23 HKT 2007

On 3/2/07, Li Chunhui <lich at dhc.com.cn> wrote:
>
>
> 大家好!
> 我想请教大家:如何在不用别的框架情况下用python写网站程序?可选用哪些服务器做pyrhon网站程序的容器?

推荐使用django。可以参考django的官方文档,或者看limodou的《django step by
step》教程。http://www.woodpecker.org.cn/obp/django/django-stepbystep/newtest/doc/

Zope也是非常好的选择,但是学习曲线非常高。它不仅仅是一个框架,也是一个功能全面应用服务器。关于Zope的介绍可以看看出版的《Zope使用指南》,英文原版叫做《The
Zope Book》,在http://www.zope.org上有下载。

-- 
GoogleTalk: qcxhome at gmail.com
MSN: qcxhome at hotmail.com
My Space: tkdchen.spaces.live.com
BOINC: boinc.berkeley.edu
中国分布式计算总站: www.equn.com

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号