



















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




















































Division of Computer Science Engineering
ROHIT JHA ABHISHEK ANAND SOUMYA SHRIVASTAVA
B. TECH DEGREE
COMPUTER SCIENCE & ENGINEERING
COCHIN UNIVERSITY OF SCIENCE & TECHNOLOGY KOCHI-
Division of Computer Science Engineering
Certified that this is a bonafide record of the project work titled
Done by
of VI semester Computer Science & Engineering in the year 2014 in partial fulfillment of the requirements for the award of Degree of Bachelor of Technology in Computer Science & Engineering of Cochin University of Science & Technology.
Dr. SUDHEEP ELAYIDOM M PRAMOD PAVITHRAN Project Guide Head of Division
Division of Computer Science Engineering
Rohit Jha(Roll no.12120075)
Soumya Shrivastava(Roll no.15120081)
Abhishek Anand(Roll no.13120200)
Dr.SUDHEEP ELAYIDOM
Online accommodation is a web portal for providing details about the rooms available in our campus
.User need to specify their requirement like gender (male, female),room type(single,
double),region(North India, South India)and range(1000,2000 ,3000).The system will match the user
requirement with the
details in the database and after finding the match the required details is given tothe user.
It will also give information about cooks and shops available inside the campus.
The system will have a Admin page from which he can add details about the rooms. This will reduce the
effort required by the new students and existing student in searching room and other useful things.
Division of Computer Science Engineering
BACK END : PHP 5,MySql
Division of Computer Science Engineering
1.3 OPERATION ENVIRONMENT
Division of Computer Science Engineering
In this chapter, we will discuss and analyze about the developing process of Online accommodation System including software requirement specification (SRS) and comparison between existing and proposed system. The functional and non functional requirements are included in SRS part to provide complete description and overview of system requirement before the developing process is carried out. Besides that, existing vs proposed provides a view of how the proposed system will be more efficient than the existing one.
2.1.1.1 PRODUCT DESCRIPTION: Online Accommodation System is a computerized system which helps user (student) to search for rooms available inside the university campus. It reduces the work load of students to personally go to each and every rooms available and match withyour requirements.
The problem occurred before having computerized system includes:
2.1.1.2.1 Human Effort
When computerized system is not implemented large amount of human effort is required to personally go to each and every accommodation available in university. 2.1.1.2.2 Time Wastage
Division of Computer Science Engineering
2.1.3 SYSTEM REQUIREMENTS
2.1.3.1NON FUNCTIONAL REQUIREMENTS
When this online accommodationportal system will be implemented users and house owners can easily access online accommodation system and searching for accommodation will be very faster.
The system should accurately performs accommodation registration, user validation , report generation and search.
The system is designed for a user friendly environment so that student and house owners can perform the various tasks easily and in an effective way.
In implementing whole system it uses html in front end with php as server side scripting language which will be used for database connectivity and the backend ie the database part is developed using mysql.
2.1.3.1.5 DELIVERY REQUIREMENTS
Division of Computer Science Engineering
The whole system is expected to be delivered in six months of time with a weekly evaluation by the project guide.
This feature used by the user to search for accommodation in the system. They are required to enter fields regarding their gender,location,range region etc. .The corresponding details will be retrieved from the database and displayed to the user.The system performs the search from the database and based on the entered field required information is displayed to the user. New accommodation can be added by the admin.
This feature can be performing by all users to register new admin .Admin is the moderator of the page
and can modify info about the accommodation.
System must be able to verify information,Only single entry must be assigned for each attribute of a
table and it should not allow two same address having same location id.
Division of Computer Science Engineering
2.1.4 SOFTWARE AND HARDWARE REQUIREMENTS
This section describes the software and hardware requirements of the system
2.1.4.1 SOFTWARE REQUIREMENTS
2.1.4.1.1 Operating system- Windows 7 is used as the operating system as it is stable and supportsmore features and is more user friendly
2.1.4.1.2 Database MYSQL-MYSQL is used as database as it easy to maintain and retrieve records by simple
queries which are in English language which are easy to understand and easy to write.
2.1.4.1.3 Development tools and Programming language- HTML is used to write the whole code and develop
webpages with CSS, java script for styling work and php for sever side scripting.
2.1.4.2 HARDWARE REQUIREMENTS
Intel core i5 2nd^ generation is used as a processor because it is fast than other processors an provide reliable and stable and we can run our pc for longtime. By using this processor we can keep on developing our project without any worries. Ram 1 GB is used as it will provide fast reading and writing capabilities and will inturn support in processing
Division of Computer Science Engineering
2.1.5 EXISTING VS PROPOSED SYSTEM
The process of finding accommodation was relatively very difficult and made it trouble for students and parents to find room in campus thus to overcome this this portal was designed: i. There is no such existing system presently and this made is difficult ii. The searching process included a lot of hardship and wastage of time. iii. The proposed system is completely new concept that will be helpful to students and parents iv. The proposed system makes a great database of all the accommodation of the campus thus can be used for other purpose too. v. The proposed system is quiet secure as only admin is allowed make any entry to it
Division of Computer Science Engineering
Marks the beginning of your HTML
Begins the heading section of an HTML document ... Gives an HTML document a title that appears on the browser menu bar, also will appear on search engines or bookmarks referencing your site (must appear between the ... tags; should be straight text, no tags Defines the end of the heading Defines the body of an HTML document (text contained within the … tags appears in the main browser window). Can be used with "BGCOLOR", "TEXT", "LINK", and "VLINK" attributes
Defines the end of your HTML document
Division of Computer Science Engineering
2. Cascading Style Sheets
CSS- Cascading Style Sheets ( CSS ) is a style sheet language used for describing the look and formatting of a document written in a markup language. While most often used to style web pages and interfaces written in HTML and XHTML, the language can be applied to any kind of XML document, including plain XML, SVG and XUL. HTML was originally designed as a simple way of presenting information, with the aesthetics of a web page being far less important than the content (and largely being left up to the web browser). Of course, now that the web has become as popular as it has, the presentation of your content has become almost critical to a site’s success. CSS is the key presentational technology that is used to design websites. CSS is a cornerstone specification of the web and almost all web pages use CSS style sheets to describe their presentation.CSS is designed primarily to enable the separation of document content from document presentation, including elements such as the layout, colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for table less web design).CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen reader) and on Braille-based, tactile devices. It can also be used to allow the web page to display differently depending on the screen size or device on which it is being viewed. While the author of a document typically links that document to a CSS file, readers can use a different style sheet, perhaps one on their own computer, to override the one the author has specified. However if the author or the reader did not link the document to a specific style sheet the default style of the browser will be applied.CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-called cascade , priorities or weights are calculated and assigned to rules, so that the results are predictable.
Division of Computer Science Engineering
4. PHP
PHP is a server-side scripting language designed for web development but also used as a general-
purpose programming language.PHP is a popular general-purpose scripting language that is especially
suited to web development.Fast, flexible and pragmatic, PHP powers everything from your blog to the
most popular websites in the world. PHP is now installed on more than 244 million websites and 2.
million web servers. Originally created by Rasmus Lerdorf in 1995, the reference implementationof PHP
is now produced by The PHP Group. While PHP originally stood for Personal Home Page , it now stands
for PHP: Hypertext Preprocessor , a recursive backronym.PHP code is interpreted by a web server with
a PHP processor module, which generates the resulting web page: PHP commands can be embedded
directly into an HTML source document rather than calling an external file to process data. It has also
evolved to include a command-line interface capability and can be used in standalone graphical
applications.PHP is free software released under the PHP License. PHP can be deployed on most web
servers and also as a standalone shell on almost every operating system and platform, free of charge.
PHP 5 was released in July 2004 after long development and several pre- releases. It is mainly
driven by its core, the Zend Engine 2.0 with a new object model and dozens of other new features.
PHP's development team includes dozens of developers, as well as dozens others working on PHP-
related and supporting projects, such as PEAR, PECL, and documentation, and an underlying network
infrastructure of well over one-hundred individual web servers on six of the seven continents of the
Division of Computer Science Engineering
world. Though only an estimate based upon statistics from previous years, it is safe to presume PHP is
now installed on tens or even perhaps hundreds of millions of domains around the world.
BACK END - The back end is designed using mysql which is used to design the databases
MYSQL- MySQL ("My S-Q-L", officially, but also called "My Sequel") is (as of July 2013) the world's second most widely used open-source relational database management system (RDBMS). It is named after co-founder Michael Widenius daughter, My. The SQL phrase stands for Structured Query Language. The MySQL development project has made its source code available under the terms of the GNU General Public License, as well as under a variety of proprietary agreements. MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned by Oracle Corporation .MySQL is a popular choice of database for use in web applications, and is a central component of the widely used LAMP open source web application software stack (and other 'AMP' stacks). LAMP is an acronym for "Linux, Apache, MySQL, Perl/PHP/Python." Free-software-open source projects that require a full-featured database management system often use MySQL. For commercial use, several paid editions are available, and offer additional functionality. Applications which use MySQL databases include: TYPO3, MODx, Joomla, WordPress, phpBB, MyBB, Drupal and other software. MySQL is also used in many high-profile, large-scale websites, including Wikipedia, Google (though not for searches), Facebook, Twitter, Flickr, and YouTube
2 PHP is a server-side scripting language designed for web development but also used as a general-
purpose programming language.PHP is a popular general-purpose scripting language that is especially suited to web development.Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world. PHP is now installed on more than 244 million websites and 2.1 million web servers. Originally created by Rasmus Lerdorf in 1995,