GithubHelp home page GithubHelp logo

userkdg / ssm-ishop Goto Github PK

View Code? Open in Web Editor NEW
30.0 7.0 11.0 38.51 MB

项目描述:iShop商店实现浏览商品、下订单,以及参加各种活动和后台管理功能。 技术描述: 1.通过maven来项目构建管理,子系统之间通过服务提供者模块与服务接收者模块相互交互,来实现系统之间的通信,利用ajax异步请求json数据,也利用jsonp跨域请求获取json资源数据。 2.后台技术实现: 利用MyBatis Generator自动生成单表的CRUD功能和对应的model、example、mapper、service代码;3运用分布式数据库redis实现系统大量不实时更新的数据做缓存,同时实现session在redis上共享,使用powerdesinger创建pdm/cdm关系的数据库表,依文档在linux上搭建mysql创建相应的数据库和表。运用springmvc提供的注解配置功能。单点登录把用户session存入redis中维护。 3.前台技术现实: 后台系统页面用easyui,jQuery数据交互的后台管理的界面实现,前台页面通过网上摘取利用html、css、jQuery、js、ajax技术二次开发项目所需界面。

Java 15.02% CSS 26.32% JavaScript 45.82% HTML 12.84%
ssm maven tomcat7 sso-login redis mysql

ssm-ishop's Introduction

系统主要包括以下模块: 后台管理系统:管理商品、订单、类目、商品规格属性、用户管理以及内容发布等功能。 前台内容管理系统(CMS):用户可以在前台系统中进行注册、登录、浏览商品、首页、下单等操作。 用户系统管理:管理用户的个人信息及其订单状态信息,个人商品收藏。 订单系统(服务提供者):提供下单、查询订单、修改订单状态。 单点登录系统(服务提供者):为多个系统之间提供用户登录凭证以及查询登录用户的信息,提供用户注册、登录、注销接口。

开发问题:为了实现在线编辑和插入图片,综合考虑下集成了kingeditor 编辑器,考虑到图片要是过多,会导致服务器庞大,我是用Linux搭建了一个FTP服务器来独立管理商品图片;前台页面方面,更多的考虑后台的实现,我参考的是淘宝和京东页面大体有首页CRM ,商品浏览,购物车,支付页,用户管理,订单页面,遇到问题有首页请求FTP服务器图片的时候老是弹出登陆窗口,商品分类栏目怎么实现更合理,随后我使用Redis在将大量的比较少改动的数据以 json格式存储起来,减少每次请求FTP服务器和数据库的次数;对于用户登陆方面,如何共享Session 实现单点登陆模式,当时通过网上开源的相关论坛,学习到把用户的登陆时信息存在Session上时,集成了Shiro安全框架技术,重写Shiro中的Session和将基于用户信息生成的 token标识, 存储在Redis上,设置其有效时间,用户再次请求时先匹配Redis上token和有效时间来判断。

ssm-ishop's People

Contributors

userkdg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  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.