Giter Club home page Giter Club logo

message-board's Introduction

#留言板

留言板基于用户之间的留言,进行增删改查,实现用户之间有效沟通。由于前端能力有限,故采用bilibili网站的前端页面,希望谅解。 ###由于注册页面有bug,所以暂时使用已有的用户进行测试 ###测试地址:(https://message-board.coding.io) ###测试用户:Linus,Bill,KaiFu ###密码:123456 ###             Author:Changhe ###          E-mail:[email protected]

##目录

##设计背景

学习PHP时,用smarty实现前台和后台代码的分离,达到MVC 留言信息在现在变得越来越有意思,帮助用户进行留言管理时间十分有趣的事情,仅供娱乐和学习。

##采用技术

PHP实现后台 MySql存储数据 Smarty+html+css+javascript实现前台代码

##设计思路

采用MVC的模式,M(用PHP实现底层接口),V(PHP通过调用底层接口实现数据处理并实现跳转),C(收集数据)

##目录结构

message-board/
├── model/
│   ├── db/
│   ├── user/
│   └── message/
├── samrty/
│   ├── libs/
│   └── templates/
└── controller/
    ├── login/
    ├── message/
    └── register/ 

##实现功能

  1. 用户的正常登陆,注销以及登陆不成功的反馈
  2. 查看收到的,发送的留言
  3. 删除,发送,留言并返回到处理前的页面
  4. 验证码功能
  5. 分页功能,跳转某一页
  6. 注册新用户
  7. 用session实现未登录不能访问其他页面(login.php)

##改进建议

  1. 在合适的位置显示当前用户的用户名(昵称)
  2. 加入一个登陆后的主页面
  3. 采用类QQ邮箱界面进行优化
  4. 改进数据库的主外键约束
  5. 注册业务有缺陷,确定注册使用的字段=>登陆字段
  6. 对页面进行优化,用css,js,ajax等
  7. 加入群发功能

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.