Sunteți pe pagina 1din 24

HOSTEL MANAGEMENT SYSTEM

INTRODUCTION
The project named Hostel Management System has been developed using ASP.NET. This project has been developed in partial fulfillment of Requirements for the degree of MCA (2007-2010), Punjab Technical University. Hostel Management System is web based application which helps to book Hostel in anywhere in the world. It helps to find a Hostel in a particular country or state or city. It then shows the list of Hostel s, which are located in that particular country or state or city. Customer can select anyone of the given Hostel s and can book the Hostel according to requirement.

OBJECTIVES OF PROJECT
After thoroughly analyzing the existing system the following objectives were set: Providing user friendly interface Hostel must be shown according to specified location and dates. Hostel should be booked at least for a night Check out date should be greater than check in date Hostel Booking must be done online User and Administrator must be different Keeping project records online Database must be used as backend Maintaining data consistency Increasing the efficiency through automation Adequate validation checks for data entry Facility to update the data time to time

SOFTWARE REQUIREMENT SPECIFICATION


PROJECT SCOPE Completion of the development process will result in a web application that will provide user-friendly environment, which is very easy to work with, even for people with very little knowledge of computer. Management of various tasks is incorporated in the package and will deliver the required information in a very easy to use and easy to access manner. This package will provide accuracy, efficiency, speed and easiness to the end user. Paper work will be subjugated and come to an appropriate level. Monotonous and tedious part of work will become fascinating. Since the system is verified with valid as well as invalid data and is run with an insight into the necessary modifications that may require in the future, it can be maintained successfully without much hassle. Practicality: The system is quite stable and can be operated by the people with average intelligence. Efficiency: I tried to involve accuracy, timeliness and comprehensiveness of the system output. Cost: It is desirable to aim for the system with a minimum cost subject to the condition that it must satisfy the entire requirements. Flexibility: I have tried that the system should be modifiable depending on the changing needs of the user. Such modifications should entail extensive reconstructing or recreation of software. It should also be portable to different computer systems. Security: This is a very important aspect and I have tried to cover the areas of hardware reliability, fallback procedures, and physical security of data. In addition to the user friendliness and easiness to access and input data into the system, I have tried to design the system in such a way that the information is not accessible only on LAN on which the system is running but the information will also be accessible throughout the world using the revolutionary INTERNET but it needs a little more work to be done on the software. From a programmer point of view the objective of the work done by me in the stated software is to make the whole system Object Oriented. Starting with the first step up to the final line of code I wrote, I tried to make the system Object Oriented. The scope of the job assigned to me as my project work is to input the required document information through various input screens, to store them in some database and output them when needed in the form of reports or they should be able to be exported to other software like EXCEL, HTML etc. The system can be implemented on a WAP enabled mobile handset, thus providing the Clients and the Providers the ease of accessing the projects and their status without any difficulty and within no time.

HARDWARE AND SOFTWARE TO BE USED


The system must have the following hardware requirements: Pentium IV Processors 512 MB of RAM 20 GB of Hard Disk One SQL based server One domain name space to implement Web based services The system must have the following software requirements:

MS Windows XP OS with .NET framework 3.5 MS-Office

Panels
User panel Users can find Hostel s and can get information according to the location and dates. Admin Panel Administrator can update any information such as new Topics and new Questionnaires.

User Requirements
This software has been designed keeping in view the requirements and ease of the user who is finally going to use it. After all the effort put on analysis phase, I ended up with the following requirements: 1. Easy storage, updation, deletion and retrieval of data. 2. No redundancy of data. 3. Minimal traversal time. 4. User friendly interface. 5. Proper validations and checks for the data to be entered. 6. Generation of certain automatic values. 7. Compatibility with other Microsoft based software.

Benefits of the System


The system provides the following benefits: Web based Package: The system is a web based application which runs in a browser, so it is very easy to use. Easy Retrieval of Data: Operations like add, update, delete, save and cancel etc. have been accomplished with the help of various buttons and list boxes. The user can easily view or retrieve information. Validations: There are proper validations for the information to be filled at the relevant places. So, the chances of wrong entry are minimal. Security and Access: The system is fully secured by a password facility so that nobody can use the system or view information without the right and the permission. Only the correct password allows further navigation in the project. User friendly: The system is completely user friendly so that the end user who may have very little knowledge of using computers can easily use the system

Users:
This site can be used by 2 types of users: Member Users The users who access to their Hostel s and they can make changes in their data only. Administrator The administrator of the system is responsible for the updates to be made as per the requirement.

FEASIBILITY STUDY

Benefits: A system is also expected to provide benefits. The first task is to identify each benefit and then assign a monetary value to it. Benefits may be tangible or intangible, direct or indirect. Some of them are:

Economic Feasibility
It is a procedure that gives a picture of the various costs, benefits and rules associated with a system. To what extent benefits outweigh costs is the function of cost/benefit analysis.

The various costs involved in this software are: Hardware Cost: Various hardware requirements have already been mentioned and the hardware cost may be ascertained on that basis. Personnel Cost: It requires only one person i.e. administrator to work on the system Facility Cost: Since it is an online application, no facility costs are involved.
Operating Cost: No day-to-day costs are involved. However, the application needs to be registered which is a one time expenditure and the domain name needs to be renewed on a yearly basis.

User friendly interface Properly organized system Proper work flow Information will be well used

Technical Feasibility: A study of function, performance and constraints that may affect the ability to achieve an acceptable system. Technical Analysis During technical analysis, the technical merits of the system are studied and at the same time additional information about performance, reliability, maintainability and predictability is collected. Technical analysis begins with an assessment of the technical reliability of the proposed system. What technologies are required for accomplished system function and performance? What new materials, methods, algorithms or processes are required and what is their development risk? How will these obtained from technical analysis form the basis for another go/no-go decision on the test system? If the technical risk is severe, if models indicate that the desired function cannot be achieved, if the pieces just wont fit together smoothly, its back to the drawing board. As the software is very much economically feasible, then it is really important For it to be technically sound. The software will be build among: Front-End: ASP.NET 2.0

DFD System Design

Booking Stu. info.m


Hostel Management

Room info. Reports


Confirmed Ticket

WORKING ENVIRONMENT
Understanding .Net Frame Work DEFINITION: The .Net framework can be defined as a language neutral platform designed to provide a number of rich and powerful application development tools and technologies. It has an extensive class library that provides wide-ranging support for data access. .Net framework has an independent code execution and management environment called the Common Language Runtime (CLR) which ensures that code is safe to run, and provides an abstract layer on top of the operating system, which allows the elements of the .Net framework to run on many operating systems and devices.

BENEFITS OF USING .NET:


The windows platform is inherently complex and may pose several problems for programmers. However the .Net platform is used as it provides solutions to many such problems and offers an Internet centric platform. The following are the benefits of using .Net platform: Multiple platform Support .Net platform has been designed keeping multiple platform support as a key feature. For version 2.0 this means that the code written using the .Net platform can run on all versions of Windows. i.e. Windows 98,95,NT,2000 and so on. Microsoft has included rich support for all the platforms. Also this code shall also work on any 64-bit processor that may be used by Microsoft later. It is also expected that .Net shall run on other platforms like UNIX also, however it is not for sure that all functionality will be available for the same. . Net as a clean start On the windows platform, the technologies available often depend on the programming language that they are written in, so they are very different. Depending on the chosen programming language, these technologies can be restrictive. The problem with this approach is that it makes the Windows platform harder to understand. Using .Net there is just one simple object oriented way of accessing the functionality of the .Net Framework.

DOT NET FRAMEWORK


.net fremework

VB form MFC ASP

Window API

Performance
. Net has been designed to provide great performance and scalability. For .Net to succeed, the companies must be able to immigrate their applications and not suffer due to the way the CLR works. To ensure this CLR converts the code into native machine code. So the conversion can take stepby-step method and will make use of the given machines resources and processor features. As newer versions of the CLR are released and technologies like windows forms are released, each release will have a better performance and smaller memory footprints. Also .Net has succeeded in replacing completely the older technologies like COM with better and efficient design equivalents. At the heart of the .Net platform is the CLR.

NET FRAMEWORK DRILL DOWN:


The .Net framework consists of four major areas: Application development technologies Class libraries Base class libraries The Common Language Runtime

(Description of the layered .Net Framework architecture)


Application dovelopment tech. .net fra mw ork Class libraries

Base class libraries CLR

ASP.NET
ASP.NET is a set of web application development technologies marketed by Microsoft. Programmers can use it to build dynamic web sites, web applications and XML web services. It is part of Microsofts .NET platform and is the successor to Microsofts Active Server Pages (ASP) technology. Even though ASP.NET takes its name from Microsofts old web development technology ASP, the two differ significantly. Microsoft has completed rebuilt ASP.NET, based on the Common Language Runtime (CLR) shared by all Microsoft.Net applications. Programmers can write ASP.NET code using any of different Programming languages supported by the .NET Framework, usually C#, VB.NET, or JScript.NET, but also including open-source languages such as Perl and Python. ASP.NET has performance benefits over other script-based technologies because the server-side code is compiled to one or a few DLL files on web server. ASP.NET attempts to simplify developers transition from Windows application development to web development by offering the ability to build pages composed of controls similar to a Window user interface. A web control, such as a button or label, functions in very much the same way as its window counterpart: code can assign it properties and respond to its events. Controls know how to render themselves: whereas windows controls draw themselves to the screen, web controls produce segments of HTML and JavaScript which form part of resulting page sent to the end-users browser. ASP.NET encourages the programmer to develop applications using an event-driven GUI paradigm, rather than in conventional web-scripting environments like ASP and PHP. The framework attempts to combine existing technologies such as JavaScript with internal components like View state to bring persistent (inter-request) state to inherently stateless web environment. ASP.NET uses .NET Framework as an interface. The .NET Framework offers a managed runtime environment (like java), providing a virtual machine with JIT and a class library

Microsoft Access
Microsoft Access is a pseudo relational database management system from Microsoft that combines the relational Microsoft Jet Database Engine with a graphical user interface and software development tools. It is a member of the Microsoft Office suite of applications Access stores data in its own format based on the Access Jet Database Engine. It can also import or link directly to data stored in other Access databases, Excel, SharePoint lists, text, XML, Outlook, HTML, dBase, Paradox, Lotus 1-2-3, or any ODBC-compliant data container, including Microsoft SQL Server, Oracle, MySQL and PostgreSQL. Software developers and data architects can use it to develop application software, and "power users" can use it to build simple applications. Like other Office applications, Access is supported by Visual Basic for Applications, an object-oriented programming language that can reference a variety of objects including DAO (Data Access Objects), ActiveX Data Objects, and many other ActiveX components. Visual objects used in forms and reports expose their methods and properties in the VBA programming environment, and VBA code modules may declare and call Windows operating system functions.

Uses
Microsoft Access is used to create simple database solutions. Access tables support a variety of standard field types, indices, and referential integrity. Access also includes a query interface, forms to display and enter data, and reports for printing. The underlying Jet database, which contains these objects, is multiuser-aware and handles record-locking and referential integrity including cascading updates and deletes. Simple tasks can be automated through macros with point-and-click options. Microsoft Access is very popular among non-programmers who can create visually pleasing and relatively advanced solutions on their own. It is also easy to place a database on a network and have multiple users share and update data without overwriting each others work. Data is locked at the record level which is significantly different from Excel which locks the entire spreadsheet.

Microsoft offers a wide range of template databases within the program and for download from their website. These options are available upon starting Access and allow users to quickly use and enhance a database with predefined tables, queries, forms, reports, and macros. Popular templates include tracking contacts, assets, issues, events, projects, and tasks. Templates do not include VBA code.
Microsoft Access also offers the ability for programmers to create solutions using the programming language Visual Basic for Applications (VBA), which is similar to Visual Basic 6.0 (VB6) and used throughout the Microsoft Office programs such as Excel, Word, Outlook and PowerPoint. Most VB6 code including the use of Windows API calls, can be used in VBA. Power users and developers can extend basic end-user solutions to a professional solution with advanced automation, data validation, error trapping, and multi-user support.

Features
Users can create tables, queries, forms and reports, and connect them together with macros. Advanced users can use VBA to write rich solutions with advanced data manipulation and user control. The original concept of Access was for end users to be able to access data from any source. Other uses include: the import and export of data to many formats including Excel, Outlook, ASCII, dBase, Paradox, FoxPro, SQL Server, Oracle, ODBC, etc. It also has the ability to link to data in its existing location and use it for viewing, querying, editing, and reporting. This allows the existing data to change and the Access platform to always use the latest data. It can perform heterogeneous joins between data sets stored across different platforms. Access is often used by people downloading data from enterprise level databases for manipulation, analysis, and reporting locally. There is also the Jet Database format (MDB or ACCDB in Access 2007) which can contain the application and data in one file. This makes it very convenient to distribute the entire application to another user, who can run it in disconnected environments. One of the benefits of Access from a programmer's perspective is its relative compatibility with SQL (structured query language) queries can be viewed graphically or edited as SQL statements, and SQL statements can be used directly in Macros and VBA Modules to manipulate Access tables. Users can mix and use both VBA and "Macros" for programming forms and logic and offers object-oriented possibilities. VBA can also be included in queries. Microsoft Access offers parameterized queries. These queries and Access tables can be referenced from other programs like VB6 and .NET through DAO or ADO. From Microsoft Access, VBA can reference parameterized stored procedures via ADO. The desktop editions of Microsoft SQL Server can be used with Access as an alternative to the Jet Database Engine. This support started with MSDE (Microsoft SQL Server Desktop Engine), a scaled down version of Microsoft SQL Server 2000, and continues with the SQL Server Express versions of SQL Server 2005 and 2008. Microsoft Access is a file server-based database. Unlike clientserver relational database management systems (RDBMS), Microsoft Access does not implement database triggers, stored procedures, or transaction logging. Access 2010 (not released) does have table level triggers and stored procedures built into the ACE data engine.

SYSTEM TESTING
Testing the system

It is the major quality control measure employed during software development. Testing is the process of executing a program with intend of finding an error. No Place of code is completely ready unless it has been fully tested. This stage is very important as it is certified whether the code developed meet the requirement specification or not. More over validations are also checked in the testing stage.
Need For Testing Testing is vital to the success of the system. Testing has the logical assumption that all the part of the system is correct and the goal is successfully achieved. Inadequate testing leads to the error that may not appear until month later. A small system error can explode into a much larger problem. Second reason for testing is its utility as a user-oriented vehicle before implementation. Finally testing leads to software reliability. This increases the user confidence in the system. Testing can be done with two types of data, live data and test data. Live data: Live data is the data actually to be used in the proposed system. Test data: Test data is previously designed sample input to achieve predictable results.

Testing Methods
White Box Testing White box testing of software is predicted on close examination of procedural details. Providing test cases that exercise specific sets of conditions and/or loop tests logical paths through the software. White box testing, sometime called glass box testing is a test case design method that uses the control structure of the procedural design to derive test cases. Black Box Testing Black Box testing is carried out to check the functionality of the various modules. Although they are designed to uncover error, black box testing use to demonstrate that software functions are optional, that input is corrected accepted and output is corrected produced and that the integrity of the external information is maintained. A black box test examines some fundamental aspects of the system with little regard for the internal logical structure of the software. Black box testing focuses on the functional requirements of the software. Levels of Testing A Strategy for software testing integrates software test case designs methods in well-planned series of steps that results in the successful construction software. An important software testing planned in advance and conducted systematically. Verification is performed on the output of each phase, but some faults are likely to remain undetected by these methods. These faults will be eventually reflected in the code. Testing is usually relied on to detect these faults, in addition to the faults introduced during the coding phase it self. Due to this, different levels of testing are used in the testing process; each level of testing aims to test different aspects of the system. The basic levels of testing are Unit testing Integration testing System testing System acceptances

BIBLIOGRAPHY
Data Base Management System McGraw Hill System Analysis and Design M. Awad ASP.Net 3.5 Unleashed ASP.Net 3.5 By Wrox

By TATA
By Elias By

S-ar putea să vă placă și