2007年06月06日 星期三 21:15
àÅ£¬ÕâÀïÎÒÒ²¾õµÃ£¬Ö»ÊDz»Í¬¼¼Êõ¹ÛµãµÄ²îÒ죬²¢Ã»ÓÐʲôÇéÐ÷ÔÚÀïÃæ¡£ ÔÚ07-6-6£¬limodou <limodou在gmail.com> дµÀ£º > > On 6/6/07, Zhou Honglin <zhou.honglin在gmail.com> wrote: > > DjangoµÄTemplateÎĵµÃ÷ÏÔÓй¥»÷tg KidµÄÇãÏò£º > > > > > > Why use a text-based template instead of an XML-based one (like Zope's > TAL)? > > We wanted Django's template language to be usable for more than just > > XML/HTML templates. At World Online, we use it for e-mails, JavaScript > and > > CSV. You can use the template language for any text-based format. > > > > Oh, and one more thing: Making humans edit XML is sadistic! > > > > ËäÈ»¾ÙµÄÀý×ÓÊÇTAL¡¡ > > > > ÎÒÒ²²»Ï²»¶XML¡£ÎĵµÊÇÈËдµÄ£¬ËùÒÔÓпÉÄÜ»áÓиöÈ˵ÄÇéÐ÷£¬Ï£Íû±ðÈ˵ĸÐÊܲ»»áÓ°ÏìÄãµÄÅжϡ£xmlµÄÄ£°åÒýÇæºÜ¶à£¬ÏóTAL, Kid, > GenshiµÈ¡£ > > -- > I like python! > UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad > My Blog: http://www.donews.net/limodou > _______________________________________________ > 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 -- µÇɽÕßÈ¥µÇɽ£¬ÒòΪɽÔÚÄÇÀï ÎÒÔÚ˼¿¼£¬ÒòΪÎÊÌâÔÚÄÇÀï ÁõöÎ March.Liu -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070606/ddd38f86/attachment.html
2007年06月07日 星期四 00:42
为什么要把简单的事情做复杂了。无论语言还是framework只不过是工具而已,xml有好 处也有坏处 >From: "刘鑫" <march.liu在gmail.com> >Reply-To: python-chinese在lists.python.cn >To: python-chinese在lists.python.cn >Subject: Re: [python-chinese]请问这里有研究TurboGears的朋友吗? >Date: Wed, 6 Jun 2007 21:15:13 +0800 > >嗯,这里我也觉得,只是不同技术观点的差异,并没有什么情绪在里面。 > >在07-6-6,limodou <limodou在gmail.com> 写道: >> >>On 6/6/07, Zhou Honglin <zhou.honglin在gmail.com> wrote: >> > Django的Template文档明显有攻击tg Kid的倾向: >> > >> > >> > Why use a text-based template instead of an XML-based one (like >>Zope's >>TAL)? >> > We wanted Django's template language to be usable for more than >>just >> > XML/HTML templates. At World Online, we use it for e-mails, >>JavaScript >>and >> > CSV. You can use the template language for any text-based >>format. >> > >> > Oh, and one more thing: Making humans edit XML is sadistic! >> > >> > 虽然举的例子是TAL…… >> > >> >>我也不喜欢XML。文档是人写的,所以有可能会有个人的情绪,希望别人的感受不会 影响你的判断。xml的模板引擎很多,象TAL, >>Kid, >>Genshi等。 >> >>-- >>I like python! >>UliPad <>: >>http://wiki.woodpecker.org.cn/moin/UliPad >>My Blog: http://www.donews.net/limodou >>_______________________________________________ >>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 > > > > >-- >登山者去登山,因为山在那里 >我在思考,因为问题在那里 > >刘鑫 >March.Liu >_______________________________________________ >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 _________________________________________________________________ 与世界各地的朋友进行交流,免费下载 Live Messenger; http://get.live.com/messenger/overview
2007年06月07日 星期四 00:46
我的意思就是说ts 的orm相对django来说比较成熟 >From: "Zhou Honglin" <zhou.honglin在gmail.com> >Reply-To: python-chinese在lists.python.cn >To: python-chinese在lists.python.cn >Subject: Re: [python-chinese]请问这里有研究TurboGears的朋友吗? >Date: Wed, 6 Jun 2007 20:55:58 +0800 > >Django的Template文档明显有攻击tg Kid的倾向: > >Why use a text-based template instead of an XML-based one (like >Zope's TAL)? >We wanted Django's template language to be usable for more than just >XML/HTML templates. At World Online, we use it for e-mails, >JavaScript and >CSV. You can use the template language for any text-based format. > >Oh, and one more thing: Making humans edit XML is sadistic! > >虽然举的例子是TAL…… > > >On 6/6/07, limodou <limodou在gmail.com> wrote: >> >>On 6/6/07, cun heise <cunheise在hotmail.com> wrote: >> > 据说orm做的比django好 >> > >>tg的orm不是自已的,它可以使用sqlobject或sqlalchemy。tg的特点就是把众多项目 组合在一起。而django是自已做的,包括模板,ORM,URLmapping等。所以两者思路不 同。 >> >> >>-- >>I like python! >>UliPad <>: >>http://wiki.woodpecker.org.cn/moin/UliPad >>My Blog: http://www.donews.net/limodou >>_______________________________________________ >>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 _________________________________________________________________ 与世界各地的朋友进行交流,免费下载 Live Messenger; http://get.live.com/messenger/overview
2007年06月07日 星期四 01:16
cun heise wrote: > 我的意思就是说ts 的orm相对django来说比较成熟 > > >> From: "Zhou Honglin" <zhou.honglin在gmail.com> >> Reply-To: python-chinese在lists.python.cn >> To: python-chinese在lists.python.cn >> Subject: Re: [python-chinese]请问这里有研究TurboGears的朋友吗? >> Date: Wed, 6 Jun 2007 20:55:58 +0800 >> >> Django的Template文档明显有攻击tg Kid的倾向: >> >> Why use a text-based template instead of an XML-based one (like >> Zope's TAL)? >> We wanted Django's template language to be usable for more than just >> XML/HTML templates. At World Online, we use it for e-mails, >> JavaScript and >> CSV. You can use the template language for any text-based format. >> >> Oh, and one more thing: Making humans edit XML is sadistic! >> >> 虽然举的例子是TAL…… >> >> >> On 6/6/07, limodou <limodou在gmail.com> wrote: >> >>> On 6/6/07, cun heise <cunheise在hotmail.com> wrote: >>> >>>> 据说orm做的比django好 >>>> >>>> >>> tg的orm不是自已的,它可以使用sqlobject或sqlalchemy。tg的特点就是把众多项目 >>> > 组合在一起。而django是自已做的,包括模板,ORM,URLmapping等。所以两者思路不 > 同。 > >>> -- >>> I like python! >>> UliPad <>: >>> http://wiki.woodpecker.org.cn/moin/UliPad >>> My Blog: http://www.donews.net/limodou >>> _______________________________________________ >>> 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 >> > > _________________________________________________________________ > 与世界各地的朋友进行交流,免费下载 Live Messenger; > http://get.live.com/messenger/overview > > _______________________________________________ > 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 目前感觉tg还是很好用的,集各家所长。不过我觉得tg升级的过程,可能会替换其 中的组件,给用户的程序带来的升级麻烦,相对django来说会大一些。但是tg本身 的设计会松散些,个人写程序我倾向于使用tg。
2007年06月07日 星期四 08:25
对于分散的模块没什么研究的话,DJango上手会比较快。XML的模板写起来真是不太人性化。 在07-6-7,Yongchao Lao <fluke.l at gmail.com> 写道: > > cun heise wrote: > > 我的意思就是说ts 的orm相对django来说比较成熟 > > > > > >> From: "Zhou Honglin" <zhou.honglin at gmail.com> > >> Reply-To: python-chinese at lists.python.cn > >> To: python-chinese at lists.python.cn > >> Subject: Re: [python-chinese]请问这里有研究TurboGears的朋友吗? > >> Date: Wed, 6 Jun 2007 20:55:58 +0800 > >> > >> Django的Template文档明显有攻击tg Kid的倾向: > >> > >> Why use a text-based template instead of an XML-based one (like > >> Zope's TAL)? > >> We wanted Django's template language to be usable for more than just > >> XML/HTML templates. At World Online, we use it for e-mails, > >> JavaScript and > >> CSV. You can use the template language for any text-based format. > >> > >> Oh, and one more thing: Making humans edit XML is sadistic! > >> > >> 虽然举的例子是TAL…… > >> > >> > >> On 6/6/07, limodou <limodou at gmail.com> wrote: > >> > >>> On 6/6/07, cun heise <cunheise at hotmail.com> wrote: > >>> > >>>> 据说orm做的比django好 > >>>> > >>>> > >>> tg的orm不是自已的,它可以使用sqlobject或sqlalchemy。tg的特点就是把众多项目 > >>> > > 组合在一起。而django是自已做的,包括模板,ORM,URLmapping等。所以两者思路不 > > 同。 > > > >>> -- > >>> I like python! > >>> UliPad <>: > >>> http://wiki.woodpecker.org.cn/moin/UliPad > >>> My Blog: http://www.donews.net/limodou > >>> _______________________________________________ > >>> 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 > >>> > > > > > > > >> _______________________________________________ > >> 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 > >> > > > > _________________________________________________________________ > > 与世界各地的朋友进行交流,免费下载 Live Messenger; > > http://get.live.com/messenger/overview > > > > _______________________________________________ > > 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 > 目前感觉tg还是很好用的,集各家所长。不过我觉得tg升级的过程,可能会替换其 > 中的组件,给用户的程序带来的升级麻烦,相对django来说会大一些。但是tg本身 > 的设计会松散些,个人写程序我倾向于使用tg。 > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20070607/cd035878/attachment-0001.html
Zeuux © 2025
京ICP备05028076号