嗯,只需发布​​您认为合适的内容...hi to everyoneI wondered if this might be the right place to ask for some ideas forpython project for university.I''d like it to be something useful and web-based. And the project mustbe complete in 2-3 months by 2-3 person group.May be something useful for open source or python community ...Well, just post what you think could be appropriate ... 最近我一直在考虑的事情 - 模板工具 能够分块输出(即在填写时发送 模板的渲染输出)。例如,如果你有一个页面 在模板中间有一个慢速数据库查询,你可以 将页面的上半部分作为分块HTML发出客户端可以 开始呈现页面而不会停止并等待SQL 查询在页面发送之前完成。你可能会写这个作为Mako / Cheetah的扩展名(或者可能扩展一些东西 就像mod_python / mod_wsgi一样,不知道这些是否支持chunked 输出与否),但你也可以自己编写模板引擎 。 - Evan Klitzke< ev ** @ yelp.com>Something I''ve been thinking about recently -- a templating toolcapable of chunked output (i.e. sending the rendered output of thetemplate as it is filled in). For example, if you have a page thathas a slow database query in the middle of the template, you couldemit the top half of the page as chunked HTML so that the client couldstart rendering the page without stalling and waiting for the SQLquery to complete before the page is sent out. You''d probably writethis as an extension to Mako/Cheetah (and possibly extend somethinglike mod_python/mod_wsgi, don''t know whether these support chunkedoutput or not), but you could also write your own templating enginefor this.--Evan Klitzke <ev**@yelp.com> Evan Klitzke写道:Evan Klitzke wrote: 但你也可以为此编写自己的模板引擎。but you could also write your own templating engine for this. 不,请。 StefanNo, please.Stefan 这篇关于python项目的想法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-18 15:56