Hostel Management Report
Hostel Management Report
Chapter 1 : INTRODUCTION
The system is designed in favor of the hostel management which helps them to save the records
of the students about their rooms and other things .It helps them from the manual work from
which it is very difficult to find the records of the students and the mess bills of the students .All
the hostels at present are, managed manually by the hostel office.The registration form
verification to the different data processing is done manually .Thus there are a lot of repetitions
which can be easily avoided .And hence there is a lot of strain on the person who are running the
hostel and software’s are not usually used in this context .This particular project deals with the
problems on managing a hostel and avoids the problems which occur when carried
manually.Identification of the drawbacks of the existing system leads to the designing of
computerized system that will be compatible to the existing system with the system which is
more user friendly .We can improve the efficiency of the system , thus overcome the drawbacks
of the existing system.We design this system of hostel management especially for the college
hostel,through this they cannot require so efficient person to handle and calculate the things .This
system automatically calculates all the bills with and without food.
To automate each and every activity of the manual system, which increases it’s
throughput .
To provide a quick response with very accurate information as and when required.
To make the present manual system more interactive ,speedy and user friendly.
To avail any information, whatever and whenever needed.
1.2 LIMITATIONS
Hostel management System is designed for Hostel (like schools, universities).
There will be pre-defined criteria’s for the Reserve to the hostels.
He checks the attested and verify it with the student database.
If the students are found eligible then they are allocated to the hostel Room.
Database : MYSQL
3.1 ER DIAGRAM
id
username id
email regdate
eae
password admin
Posting date
Course sn
Upd date
login
Course fn
Course code
id
id
Admin id
Admin log manages courses
ip id
Login time seater
rooms
Posting date No
fees
Reg no
First name id User id id
Middle name
User reg registration User log User email
Last name
User ip
gender country
has
city
Contact no pswd
email
states
id
Admin
Id user name email password reg_date updation date
Adminlog
Id Adminid Ip Logintime
Courses
Id course_code course_sn course_fn posting_date
Registration
Id roomno seater Course reg no firstname middlename lastname Emailid
Rooms
Id Seater room_no fees posting_date
States
Id
Userlog
Id Userid useremail userip city Country login_time
Userregistration
Id Regno firstname middlename lastname gender Cont_no Email Password
Chapter 4 : IMPLEMENTATION
4.1 INTRODUCTION
4.1.1 DATABASE:
A database is an organized collection of data, generally stored and accessed
electronically from a computer system. Where databases are more complex they are often
developed using formal design and modeling techniques
The database management system (DBMS) is the software that interacts with end users,
applications, and the database itself to capture and analyze the data. The DBMS software
additionally encompasses the core facilities provided to administer the database. The sum total of
the database, the DBMS and the associated applications can be referred to as a "database
system". Often the term "database" is also used to loosely refer to any of the DBMS, the database
system or an application associated with the database.
4.1.2 SQL
MySQL is the world's second most widely used open-source relational database
management system (RDBMS). The SQL phrase stands for Structured Query Language. By
using this software the design of tables will be created.
4.1.3 SERVER
XAMPP is a free and open-source cross-platform web server solution stack package
developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB
database, and interpreters for scripts written in the PHP and Perl programming languages. Since
most actual web server deployments use the same components as XAMPP, it makes transitioning
from a local test server to a live server possible.
The data in a mysql database are stored in tables. A table is collection of related data, and
consists of columns and rows. Php is combined with mysql are cross-platform. A query a
database for specific information and have a record set returned.
PHP is an acronym for “php: hypertext pre-processor”, php is a widely-used, open source
scripting language. Php scripts are executed on the server, it can generate dynamic page content
and can also create, open, read, write, delete and close files in the server.
Php can collect form data, php can add, delete, modify data in your database and php can encrypt
data. Php is compatible with almost all servers used today.
Instead of defining the style of each table and each block of text within a page’s
HTML, commonly used styles need to be defined only once in CSS document.
BOOTSTRAP
Bootstrap is a free and open source front end development framework for the
creation of websites and web apps.
The bootstrap framework is built on HTML,CSS, and Java Script(JS) to facilitate
the development of responsive,mobile first sites and apps.
The main advantage of Bootstrap development is fewer cross browser bugs, light
weight and customizable.
Responsive structures and styles.
Several javascript plugins using the JQuery.
Good documentation and community support
PHP
PHP stands for Hypertext Pre-processor, that earlier stood for personal home
pages.
PHP is a general-purpose scripting language that is especially suited to server-side
web development, in which case PHP generally run on a web server.
Any PHP code in a requested file executed by the PHP runtime, usually used to
create dynamic web page content or dynamic images used on websites or
elsewhere.
It is used to manage dynamic content, databases, session tracking, even build
entire e-commerce sites.
<div class="form-group">
<label class="col-sm-2 control-label">Last Name : </label>
<div class="col-sm-8">
<input type="text" name="lname" id="lname" class="form-control" required="required">
</div></div><div class="form-group">
<label class="col-sm-2 control-label">Gender : </label>
<div class="col-sm-8">
<select name="gender" class="form-control" required="required">
<option value="">Select Gender</option>
<option value="male">Male</option>
<option value="female">Female</option>
<option value="others">Others</option>
</select></div></div>
<div class="form-group">
)
CREATE TABLE `adminlog` (
`id` int(11) NOT NULL, `adminid` int(11) NOT NULL, `ip` varbinary(16) NOT NULL,
`logintime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
)
CREATE TABLE `courses` (
`id` int(11) NOT NULL, `course_code` varchar(255) DEFAULT NULL,`course_sn`
varchar(255) DEFAULT NULL, `course_fn` varchar(255) DEFAULT NULL,`posting_date`
timestamp NULL DEFAULT CURRENT_TIMESTAMP
)
CREATE TABLE `registration` (
`id` int(11) NOT NULL, `roomno` int(11) DEFAULT NULL, `seater` int(11) DEFAULT
NULL,`feespm` int(11) DEFAULT NULL,`foodstatus` int(11) DEFAULT NULL, `stayfrom`
date DEFAULT NULL, `duration` int(11) DEFAULT NULL, `course` varchar(500) DEFAULT
NULL,`regno` int(11) DEFAULT NULL, `firstName` varchar(500) DEFAULT NULL,
`middleName` varchar(500) DEFAULT NULL, `lastName` varchar(500) DEFAULT
NULL,`gender` varchar(250) DEFAULT NULL,`contactno` bigint(11) DEFAULT NULL,
`emailid` varchar(500) DEFAULT NULL, `egycontactno` bigint(11) DEFAULT NULL,
`guardianName` varchar(500) DEFAULT NULL, `guardianRelation` varchar(500) DEFAULT
NULL,`guardianContactno` bigint(11) DEFAULT NULL,`corresAddress` varchar(500)
DEFAULT NULL, `corresCIty` varchar(500) DEFAULT NULL,`corresState` varchar(500)
DEFAULT NULL, `corresPincode` int(11) DEFAULT NULL, `pmntAddress` varchar(500)
)
CREATE TABLE `rooms` (
`id` int(11) NOT NULL, `seater` int(11) DEFAULT NULL, `room_no` int(11) DEFAULT
NULL,`fees` int(11) DEFAULT NULL, `posting_date` timestamp NULL DEFAULT
CURRENT_TIMESTAMP
)
CREATE TABLE `states` (
`id` int(11) NOT NULL, `State` varchar(150) DEFAULT NULL
)
CREATE TABLE `userlog` (
`id` int(11) NOT NULL, `userId` int(11) NOT NULL, `userEmail` varchar(255) NOT NULL,
CURRENT_TIMESTAMP
)
CREATE TABLE `userregistration` (
`id` int(11) NOT NULL, `regNo` varchar(255) DEFAULT NULL,`firstName` varchar(255)
DEFAULT NULL, `middleName` varchar(255) DEFAULT NULL,`lastName` varchar(255)
DEFAULT NULL, `gender` varchar(255) DEFAULT NULL, `contactNo` bigint(20) DEFAULT
NULL,`email` varchar(255) DEFAULT NULL, `password` varchar(255) DEFAULT
NULL,`regDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,`updationDate`
varchar(45) DEFAULT NULL, `passUdateDate` varchar(45) DEFAULT NULL
4.4 TRIGGER
A Trigger is special kind of stored procedure that executes automatically when an event occurs
in Database Server.
BEGIN
INSERT INTO adminlog_backup VALUES(NEW.id, NEW.adminid, NEW.ip,
NEW.loginTime);
END
User login
My Profile
Book Hostel
Access log
Admin profile
Manage Courses
Manage Rooms
Admin
Identification of the drawbacks of the existing system leads to the designing of computerized
system that will be compatible to the existing system with the systm which is more user friendly
and more GUI oriented.