GAE cookies 和 session 类

2011-03-29 19:57:17 +08:00
 crazycookie
找了好久,没有发现简单又好用的Cookie和Session类
Cookie 类找到的和V2ex github上面一样的
http://appengine-cookbook.appspot.com/recipe/a-simple-cookie-class/

Session类 github上面 v2ex 注释中有入下提示:
# Note - please do not use this for production applications
Why?

请推荐下 简单,实用的这几个类
4474 次点击
所在节点    Google App Engine
4 条回复
crazycookie
2011-03-29 20:07:34 +08:00
https://github.com/livid/v2ex/blob/master/v2ex/babel/ext/sessions.py
第10行
10 # Note - please do not use this for production applications
lepture
2011-03-29 20:46:23 +08:00
个人项目使用是没有问题的。。

而且像v2ex这样子的都在用,你有何不放心的呢?
dreampuf
2011-03-29 21:27:12 +08:00
https://github.com/dound/gae-sessions

gae-sessions is a sessions library for the Python runtime on Google App Engine for ALL session sizes. It is extremely fast, lightweight (one file), and easy to use.
crazycookie
2011-03-30 11:20:27 +08:00
@dreampuf gae-sessions 昨天晚上看了一个晚上 还是觉得很复杂
于是参考了v2ex的v2ex.babel.ext 很喜欢那种代码的style

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/10643

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX