摘 要
随着互联网与信息技术的快速发展,计算机已经在各行各业都得到了十分广泛的应用,人们越来越习惯使用计算机来完成各种日常的工作,“无纸化”办公模式成为当前社会的主流。传统的人工投票方式,往往需要将参与投票的人们聚集起来,同时票数结果的统计也需要耗费较多的人力和时间,效率极低。此外,人工投票结果也一直因无法完全保证公平性和公正性而被人们诟病。信息化时代的到来,传统的人工投票方式越来越受到人们的排斥。
本文基于SSM框架的投票管理系统在分析设计时遵循软件工程的思想,文中详细阐述了系统需求分析、系统设计、数据库设计、系统实现以及系统测试五方面。系统运用Spring和Mybatis两大框架技术的整合进行系统的开发,采用了B/S体系结构和免费、小巧、易用的MySql作为数据库服务器,服务器则选择了开源的Tomcat。系统实现了前台功能和后台管理功能,其中前台功能包括用户登录、用户注册、用户投票、投票中心和投票历史等功能;后台管理功能实现了投票信息管理、详细投票查看、用户信息管理、投票信息统计等功能。
系统界面友好,简单易用,易于维护且具有良好的可扩展性,非常何时各种投票管理系统的需求。
关键词:投票管理系统;Spring;Mybatis;MySql
ABSTRACT
With the rapid development of the Internet and information technology, computers have been widely used in all walks of life. People are more and more accustomed to using computers to complete various daily tasks. The “paperless” office model has become the current society. Mainstream. The traditional method of manual voting often requires the people who participate in the voting to gather together, and the statistics of the number of votes also require more manpower and time, and the efficiency is extremely low. In addition, the results of manual voting have also been criticized for not being able to fully guarantee fairness and impartiality. With the advent of the information age, traditional manual voting methods have been increasingly rejected by people.
This paper based on SSM's voting management system follows the idea of software engineering in analysis and design. The paper elaborates five aspects of system requirements analysis, system design, database design, system implementation and system testing. The system uses the integration of Spring and Mybatis framework technology to develop the system. It uses the B/S architecture and free, small and easy-to-use MySql as the database server. The server chooses the open source Tomcat. The system implements the front-end function and the background management function. The front-end functions include user login, user registration, user voting, voting center and voting history. The background management function implements voting information management, detailed voting view, user information management, and voting information. Statistics and other functions.
The system is user-friendly, easy to use, easy to maintain and has good scalability, very much when it comes to the needs of various online voting systems.
Keywords: voting management system; Spring; Mybatis; MySql