Git Product home page Git Product logo

shop's Introduction

  1. 了解了 Laravel-Shop 的基本模型和产品功能;
  2. 理清了 Laravel-Shop 的开发思路;
  3. 在 Homestead 里创建 shop.test 项目;
  4. 创建了 Laravel-Shop 基础项目文件;
  5. 利用 Composer.json 文件来加载自定义函数;
  6. 项目页面创建了基础布局。
  7. 用户的登录与注册;
  8. 使用 MailHog 捕获测试邮件;
  9. 使用 Laravel 内置的 Notification 功能发送邮件;
  10. 优雅地处理 Laravel 项目中的异常;
  11. 事件与监听器的使用;
  12. 用户收货地址的增删改查;
  13. 地址联动选择器;
  14. 使用授权策略来控制权限;
  15. 使用 overtrue/laravel-lang 来汉化错误信息。
  16. laravel-admin 扩展包的安装;
  17. laravel-admin 扩展包的配置;
  18. laravel-admin 快速构建用户列表页面;
  19. laravel-admin 设置管理员权限。
  20. 商品 SKU 的概念。
  21. 构建后台商品列表页面;
  22. 构建后台新增商品和编辑商品页面及逻辑;
  23. 用户端的商品列表页面;
  24. 使用查询构造器根据用户输入来动态构建查询 SQL;
  25. 用户端的商品详情页面;
  26. 收藏商品和取消收藏的功能;
  27. 设置 Laravel 路由的顺序。
  28. 购物车的数据库结构设计;
  29. 使用闭包来校验用户输入;
  30. 完成了将商品加入购物的功能;
  31. 订单流水号的生成;
  32. 创建订单时应保存用户收货地址的快照而非 ID;
  33. 代表状态的值应使用常量;
  34. 在 Laravel 中使用数据库事务的正确姿势;
  35. 高并发下减商品库存的正确姿势;
  36. 使用延迟队列自动关闭未支付订单;
  37. 完成了用户端订单列表的展示;
  38. 使用预加载与延迟预加载解决数据库 N + 1 问题;
  39. 完成了用户端订单详情页的展示;
  40. 使用 Service 模式对业务代码的封装来提高代码的复用性。
  41. 完成了yansongda/pay 的安装与配置;
  42. 支付宝沙箱账号的申请与配置;
  43. 微信扫码支付的开通与配置;
  44. 支付宝、微信支付的前端回调与后端回调;
  45. 在本地开发环境如何处理支付宝、微信支付后端回调;
  46. 了解了二维码的生成;
  47. 使用事件及监听器完成了支付后的更新销量与邮件通知。
  48. 完成了管理后台订单列表页面;
  49. 完成了管理后台订单详情页面;
  50. 完成了后台发货和用户端确认收货的功能;
  51. 完成了商品评价功能;
  52. 使用事件及监听器完成商品评分的更新;
  53. 完成了用户端申请退款功能;
  54. 完成了管理后台处理退款的功能;
  55. 完成了支付宝、微信支付的退款处理。
  56. 实现了管理后台对优惠券的增删改查;
  57. 实现了下单时使用优惠券扣减支付金额的功能;
  58. 实现了一个优惠券只能被一个用户使用一次的功能。
  59. 设置了所有模块在管理后台的权限;
  60. 完善了所有模块的工厂文件和 Seed 文件;
  61. 实现了 Laravel-Admin 配置的备份与恢复;
  62. Web 项目漏洞类型及在 Laravel 项目中的防御措施。

shop's People

Contributors

long001 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.