Giter Club home page Giter Club logo

travelwebsite's Introduction

TravelWebSite

前端:HTML+CSS+JQuery 前后端数据交互使用Ajax+JSON 后端:Servlet+JDBC Template 数据库采用MySQL+Redis

项目缘由:之前一直在使用SSM框架,包括学期末两次课程设计,都是使用的SSM框架完成的。想着假期做个原生mvc模式的项目。

项目架构:

采用通用的面向对象三层设计架构,表现层业务层持久层

  • 表现层:采用MVC模式
    1. 视图:使用HTML,配合Ajax以及JQuery。由于该项目是本着开放给互联网用户的目的,所以并没有使用jsp作为表现层。选择通用的html作为视图展示。
    2. 控制:使用原生的servlet作为控制器
    3. 模型:基于数据库表结构设计的实体类
  • 业务层:一个实体类一个接口,一次提交一个业务方法。业务方法的参数来自表现层。
  • 持久层:使用到Redis数据库以及MySQL。操作数据库,执行CRUD的任务交给了spring框架提供的JDBC Template

项目截图:

image

image

image

image

image

image

能力有限,如有不足请及时指出!

(ps:如果需要使用,请将resources文件夹中的两个配置文件 设为自己本机所使用的)

travelwebsite's People

Contributors

galaxyhe avatar

Stargazers

 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.