.net网站源码下载,跨境电商网站怎么做,软件专业做学校网站论文怎么选题,腾讯朋友圈广告代理《Django 5 By Example》学习第 16 天#xff0c;p455-p492 总结#xff0c;总计 38 页。
一、技术总结
1.myshop
(1)打折功能
使用折扣码实现#xff0c;但是折扣码是手动生成的#xff0c;感觉实际业务中应该不是这样的。
(2)推荐功能
使用 Redis 做缓存#xff0…《Django 5 By Example》学习第 16 天p455-p492 总结总计 38 页。
一、技术总结
1.myshop
(1)打折功能
使用折扣码实现但是折扣码是手动生成的感觉实际业务中应该不是这样的。
(2)推荐功能
使用 Redis 做缓存结合商品的销量做推荐算是一种普通的实现方案。
二、英语总结(生词2)
1.coupon
p457, Many online shops give out coupons to customers that can be redeemed for discounts on their purchases.
(1)coupon: cop-(“to cut”)
c. a piece of paper that can be used to buy sth at a reduced price(优惠券)。
2.sync
p470, The Order model field changes are now synced with the database.
vi/vt. informal for synchronize。
三、其它
chapter 10 简评作者介绍了购物网站的两个主要功能打折功能及推荐功能。但是看了作者的实现感觉太“弱”了在实际业务中应该不是这样用。对于打折功能作者是通过 admin 去创建的从本人实际的工作经验来讲实际业务真的没有使用 django-admin 的当然不是没有但是我觉得概率还是很小。但是作者的示例中大量的使用了 admin, 一言难尽。对于推荐功能如上面所说使用 Redis 进行作缓存然后进行推荐以前的话不是没有可能但是现在是 2024 年了应该上人工智能了吧这个也是一言难尽。
今天看不下去了就这样吧明天再看。
四、参考资料
1. 编程
(1) Antonio Melé《Django 5 By Example》https://book.douban.com/subject/37007362/
2. 英语
(1) Etymology Dictionaryhttps://www.etymonline.com
(2) Cambridge Dictionaryhttps://dictionary.cambridge.org
欢迎搜索及关注编程人(a_codists)