SSRG International Journal of Computer Science and Engineering (SSRG-IJCSE) – volume 3 Issue 4–April 2016
Online Hostel Management System Jayant Yadav#1, Vipin Maurya*2, Mudit Ojha#3 #1
Student, Computer Science and Engineering, Poornima Group of Institutions, India Student, Computer Science and Engineering, Poornima Group of Institutions, India 3 Student, Computer Science and Engineering, Poornima Group of Institutions, India 2
Abstract — Hostel is the place which is just like second home for the people who lives outside from their home. They feel safe while living in hostel. Hostel is also a way to earn money for many people who are working there as employee. So to manage the data and information of the person who are living there is a very complex task. It needs a lot of time of many people who are managing it. So this problem can be solved by a system which can do the entire task related to information handling without any complexity and just a few clicks. Hostel management system manages all the data related to people like name, parent’s name, contact number, email, and address. All these details are managed online very easily and can be accessed without any problem from anywhere anytime through internet. Keywords— ID, Username, Location I.
INTRODUCTION
Hostel Management System is a online website which is developed using PHP for backend and HTML for frontend. It is used for managing the complex data of any hostel through internet. Any person who is the owner of a hostel or a group of hostels can use it to decrease the complexity of its hostel management and reduce the stress and tension just by paying a reasonable amount of money to developer. There are four types of languages are used in developing the Hostel Management System. The languages are:
A. HTML HTML stands for Hyper Text Markup Language. It is used to describe the web-page. It consists of many markup tags. Each tag is used for different purpose .We use HTML to put our data on webpage. It is used to put any type of text on webpage.
B. CSS: CSS stands for Cascading Style Sheet. It is used to change the appearance of the content of the webpage. CSS is a style sheet language used for describing the presentation of a document written in a markup language like HTML. There are three types of CSS: 1) Inline
ISSN: 2348 – 8387
2) Internal 3)
External
Inline is used by style attribute within the HTML tag. We can use this type of CSS on any HTML tag just by using the style attribute. If we want to apply the CSS on a smart part or on a specific tag then we prefer this type of CSS. Internal is used by using by typing the CSS code inside the head part of the HTML tag within the style tag. To access any HTML tag in internal CSS we can use some selectors like id, class. External is used when we want to type the code in separate file to reduce the complexity of the code. We can easily link that external file by giving the reference or address of the file in the head part using style tag. C. JAVASCRIPT: It is client side scripting language. When we want to run any script on the browser then we use JavaScript as a medium. It is also used for applying the validations over the webpage like checking that a field is blank or not. It is also used for interacting with the user like inputting a value from the user. It is also used for accessing the properties of various elements of the webpage as well as the browser. To use JavaScript we have to write the code in head part of the HTML section inside the script tag. We can access the properties of various elements of webpage by their name or by their ids. D. AJAX: Ajax is asynchronous JavaScript and XML. It is used to send the particular data of the webpage to the server and getting the reply from the server without reloading the webpage. It uses XMLHttpRequest to communicate with server side side script. It can send and receive the data in various forms like JSON, XML, HTML and also the text or document file. One can update the webpage without reloading it so it greatly reduces the burden of server to process the requests. It helps both developer as well as server to continue the work in a good manner. In this project we have used ajax to check the available empty rooms on different floors. Every time the user changes the value of floor then the
www.internationaljournalssrg.org
Page 1
SSRG International Journal of Computer Science and Engineering (SSRG-IJCSE) – volume 3 Issue 4–April 2016
value of list available rooms will also changes without loading the whole web page. II.
RELATED WORK
Till now there is no paper is published on Hostel Management System. But there are multiple projects are developed by students of BTEC or BCA related to hostel management. So hostel management is not a new thing it is came into existence when people have the idea of hostel. So we can easily say that by using this software we can reduce the complexity. And this paper is totally new because no one is published any type of paper related to hostel management system. There is much information available on internet about hostel management system but there is no paper is published yet regarding this topic. So this paper is totally new regarding hostel management system. III.
IV.
PROPOSED SYSTEM
There are various features of this system which are as follows:Less human error Strength and strain of manual labor can be reduced High security Data redundancy can be avoided to some extent Data consistency Easy to handle Easy data updating Easy record keeping Backup data can be easily generated
NEED OF PROJECT
In current scenario all the details related to people living in hostels are managed by humans manually and by the help of pen and paper. Everything is so complex because it is not easy to handle all the information of the various people living in a hostel by the help of registers. If the owner needs any type of information regarding any person who is currently living in his hostel then he have to check and open various registers and then also it is not completely sure that he can get the information in the mean time. And if the required information is regarding the person who left the hostel then it is completely a very complex task because the registers containing the information of the person who left the hostel can be sold. Or if there quantity increases they can be destroyed. So to reduce this complexity and manage the hostel without any complexity we have to use this project. By using this project we can easily manage all the data without any extra manual effort. This project is automatic. We have to register the person who is coming to stay in our hostel and rest of the work is done by the system itself. We can add new entry easily in a pre-structured way. We can maintain the room number and floor number easily without any problem and can maintain the information regarding the fees and the date at which the student registered and when he leaves the hostel. He can also manage its own details so this will also reduce the burden from the mind of the manager of the owner that is he can also free from the responsibility of maintaining and updating the information regarding the person who is living there. In all the aspects this project is totally beneficial for the owner of the hostel as well as the persons who are staying there. There are key points which describe the need of this project which are as follows:-
ISSN: 2348 – 8387
Fig. 1 Flow of System
V.
WORKING
The whole project is based on internet. Anyone can access this project if he has working internet connection. This project is hosted online and by typing the address of this website anyone can access the website. In this project the admin of the hostel can able to login in the website and can enter the details of the person who is willing to stay in the hostel. When he logged in then he have to click on enter data and then all the data o f the person like name , email, contact number and all other required data will be filled from the form which will he get from the person who is came to stay in the hostel. After entering all the information the data is send to database server from client machine over the internet. If the admin left any field blank or enter any wrong entry like e-mail in different format then a error message will be prompt by the browser. And if all the data is in correct format then the data will be saved on the database server.
www.internationaljournalssrg.org
Page 2
SSRG International Journal of Computer Science and Engineering (SSRG-IJCSE) – volume 3 Issue 4–April 2016
There is a functionality of mailing also. In this a Email containing the username and password will be sent to registered E-Mail id of the person after the successful registration in the hostel database.
VI.
RESULTS
Anyone can open the website by just entering the address of website in the address bar of the browser.
The person has to deposit advance fees more than 10000 Rupees at the time of registration. When the person gets the Email then he can login to his account and get access to its information and can view or update his personal information. He can also change password of his account. There is a feature of registering the complaint also. He can also register the complaint by clicking on complaint section. He can also view the fees paid and remaining fees he have to1) pay.
Fig. 2 Home Page
When admin register new person then its entry will be done in login table including username, password and student id. The allotment of the room is based on floor. If the admin wants to view vacant rooms then he can view easily by floor basis. Ajax is also used there to show only the vacant rooms when the value of the floor changes by the admin. So when a user changes the floor number value he will only view the rooms which are vacant. So this will reduce the complexity for the admin of viewing the empty rooms on each floor. Fig. 3 Visitor Page
The student id is auto generated that is a combination 2) of unique numbers will be appended to the student name automatically by the server. This is done by the help of rand() function which is supported by PHP language. To view the report the admin have to select the floor and all the information regarding that floor which be fetched from the database and shown on webpage. The admin can also print that report for any type of reference so in this way it also reduces the complexity of the database. There is a section of update the fees of the hostel. As the rooms in the hostel are categorized on the basis of floor number so the fees can also be updated on the basis of floor. Then old fees will be shown on the webpage to admin and then by selecting the desired floor number he can easily update the fees of the hostel rooms.
Fig. 4 Admin Page
In case admin wants to change the password of his account then he can easily change the password by going to change password section and entering the id and old password and then new password will be automatically set in the database server. If anyone wants to leave the hostel then he can tell the admin and admin have to just enter the student id and if all the fees is paid then the student is allowed to leave the hostel otherwise a pop up showing remaining amount of fees will be shown.
ISSN: 2348 – 8387
Fig. 5 Registration Page
www.internationaljournalssrg.org
Page 3
SSRG International Journal of Computer Science and Engineering (SSRG-IJCSE) – volume 3 Issue 4–April 2016
Fig. 9 Fees Deposit Fig. 6 Edit Student
Fig. 7 Report Page
Fig. 10 Comment Page
Fig. 8 Student Leave Fig. 11 Database Tables
Fig. 13 Admin Login Table
Fig. 12 Login Table
ISSN: 2348 – 8387
www.internationaljournalssrg.org
Page 4
SSRG International Journal of Computer Science and Engineering (SSRG-IJCSE) – volume 3 Issue 4–April 2016 [7] Vijay Kumar .Akula and Chaitanya Kumar .N, “Dynamic Fault Localization in Web Application”, IJCSE, vol. 2, issue 9, Sept. 2014 [8] Jatinder Manhas, “A Study of Factors Affecting Websites Page Loading Speed for Efficient Web Performance”, IJCSE, vol. 1, issue 3, Nov 2013 [9] Chandra M, Ramani A.V, “A Study on Website Quality Evaluation based on Sitemap”, IJCSE, vol. 2, issue 2, Feb 2014
Fig. 14 Report Table
For registration admin has to open new student registration and then fill all the entries. Only admin have access to modify the database.
VII.
CONCLUSION
Thus we have developed PHP-MySQL source code which would help in developing the online Hostel Management System. It will reduce the effort made by the hostel manager and hostel owner while maintaining the hostel. It will remove the pen and paper concept which is being used by us from earlier times. It is online software/website so anyone can access it from anywhere without any complexity with the help of a working internet connection. ACKNOWLEDGEMENT This research was supported by Poornima Group of Institutions, Jaipur, Rajasthan. We thank our colleagues who provided insight and expertise that greatly assisted the research. We thank Ms. Anamika Jain for assistance and for comments that greatly improved the manuscript. Lastly, thanks to our parents for all the moral support and the amazing chances they’ve given us over the years.
REFERENCES [1] ONLINE HOSTEL MANAGEMENT SYSTEM Reshmi Radhakrishnan Rinsha P.A. Roopashree at Dspace [2] Hostel Management System By Muhamad Shaker at Dspace [3] https://en.wikipedia.org/wiki/Hostel [4] https://en.wikipedia.org/wiki/Hostelling_International [5] www.hostelsystem.com/ [6] htps://sourceforge.net/projects/hostelmanagementsystemproject
ISSN: 2348 – 8387
www.internationaljournalssrg.org
Page 5