摘要: Python | super() function with multilevel inheritance - GeeksforGeeks https://www.geeksforgeeks.org/python-super-function-with-multilevel-inheritance/ 阅读全文
posted @ 2017-02-14 17:50 papering 阅读(279) 评论(0) 推荐(0) 编辑
摘要: https://docs.djangoproject.com/en/2.2/topics/pagination/ Paginator objects¶ The Paginator class has this constructor: class Paginator(object_list, per 阅读全文
posted @ 2017-02-14 17:42 papering 阅读(225) 评论(0) 推荐(0) 编辑
摘要: http://www.world-english.org/boys_names-j-l.htm w http://ename.dict.cn/list/male/F/4 http://babynames.net/all/starts-with/d?page=2 阅读全文
posted @ 2017-02-14 15:51 papering 阅读(263) 评论(0) 推荐(0) 编辑
摘要: w HTTP The Definitive Guide Cookies themselves are not believed to be a tremendous security risk, because they can be disabled and because much of the 阅读全文
posted @ 2017-02-14 11:31 papering 阅读(191) 评论(0) 推荐(0) 编辑
摘要: w HTTP The Definitive Guide 11.6.9 Cookies and Caching You have to be careful when caching documents that are involved with cookie transactions. You d 阅读全文
posted @ 2017-02-14 11:29 papering 阅读(146) 评论(0) 推荐(0) 编辑
摘要: w HTTP The Definitive Guide Cookies can be used to track users as they make multiple transactions to a web site. E-commerce web sites use session cook 阅读全文
posted @ 2017-02-14 11:26 papering 阅读(256) 评论(0) 推荐(0) 编辑
摘要: w https://www.zhihu.com/question/35307626 w 0-客户端(附加用户信息)首次请求服务端 》服务端生成session(有唯一性)、session_id,cookie(可能含有用户名、登录密码、浏览历史),并且设定cookie的生命周期、适用域名、适用域名下的路 阅读全文
posted @ 2017-02-14 11:20 papering 阅读(198) 评论(0) 推荐(0) 编辑
摘要: HTTP The Definitive Guide Cookies are the best current way to identify users and allow persistent sessions. They don't suffer many of the problems of 阅读全文
posted @ 2017-02-14 11:16 papering 阅读(182) 评论(0) 推荐(0) 编辑
摘要: w本地存储数据2种形式。 http://superuser.com/questions/292952/chrome-cookies-folder-in-windows-7 chrome://settings/cookies Settings > Show Advanced Settings > Pr 阅读全文
posted @ 2017-02-14 10:54 papering 阅读(184) 评论(0) 推荐(0) 编辑
摘要: w在每个URL后面都附加一个用户特有的标识码。 HTTP The Definitive Guide Some web sites keep track of user identity by generating special versions of each URL for each user. 阅读全文
posted @ 2017-02-14 10:40 papering 阅读(308) 评论(0) 推荐(0) 编辑
摘要: w用HTTP认证首部注册用户名。 HTTP The Definitive Guide Rather than passively trying to guess the identity of a user from his IP address, a web server can explicit 阅读全文
posted @ 2017-02-14 10:36 papering 阅读(225) 评论(0) 推荐(0) 编辑
摘要: HTTP The Definitive Guide Early web pioneers tried using the IP address of the client as a form of identification. This scheme works if each user has 阅读全文
posted @ 2017-02-14 10:31 papering 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 用户信息通过HTTP头部承载:不能实现用户唯一性标识。 w HTTP The Definitive Guide Table 11-1 shows the seven HTTP request headers that most commonly carry information about the 阅读全文
posted @ 2017-02-14 10:27 papering 阅读(201) 评论(0) 推荐(0) 编辑
摘要: w服务器要知道和谁在交谈。 HTTP The Definitive Guide Web servers may talk to thousands of different clients simultaneously. These servers often need to keep track 阅读全文
posted @ 2017-02-14 10:04 papering 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 0-服务器识别用户的目的:服务器存有不同用户的信息,而对这些信息,服务器自身、网站开发管理者、网站访问者会对其读写; 1-暂且存入服务器数据库,购物车分为2种表:购物车入车表和购物车下单表; 2-单个客户的购物车是只有一个,状态具有单一时刻,或者说,当前唯一性,其中入车表一个客户的一种商品数量大于1 阅读全文
posted @ 2017-02-14 09:59 papering 阅读(163) 评论(0) 推荐(0) 编辑
摘要: w元素的上的下。 阅读全文
posted @ 2017-02-14 01:23 papering 阅读(234) 评论(0) 推荐(0) 编辑
摘要: w调用函数次数的计算。 JavaScript: The Good Parts 4.15. Memoization Functions can use objects to remember the results of previous operations, making it possible 阅读全文
posted @ 2017-02-14 00:10 papering 阅读(386) 评论(0) 推荐(0) 编辑