1.1 Introduction To Project
1.1 Introduction To Project
CHAPTER 1
INTRODUCTION
1.1 Introduction to Project
The Project titled “CHAT-ROOM” .Communication is a mean for people to
exchange messages. It has started since the beginning of human creation. Distant
communication began as early as 1800 century with the introduction of television
communication, telegraph and then telephony.Interstingly enough, telephone
communication stands out as the fastest growing technology, from fixed line to mobile
wireless, from voice call to data transfer. The emergence of computer network and
telecommunication technologies bears the same objective that is to allow people to
communicate. All this while, much efforts has been drawn towards consolidating the
device into one and therefore indiscriminate the services. Chatting is a method of using
technology to bring people and ideas together. It is a kind Communication that offers a
real-time transmission of text messages from sender to receiver.Chat messages are
generally short in order to enable other participants to respond quickly. There by, a
feeling similar to a spoken conversation is created. Our project is an example of a chat
server that allows people to create, share or exchange information. To start chatting our
client should get connected to server where they can do Group and private chatting.
CHAPTER-2
SYSTEM ANALYSIS
2.1 Proposed System Features
The system makes the overall project management much easier and flexible.
It provides high level of security using different protocols like https etc.
CHAPTER 3
REQUIREMENT SPECIFICATIONS
can run across operating systems such as Linux, Windows, Solaris, Open BSD, Mac OSX
etc. and also provide support for all major web servers such as Apache, IIS, iPlanet etc.
Power
Several web tasks can now be easily perform using PHP. For example now we can
develop from small websites to giant business and organizational websites, informative
forums, chatting platforms, CRM solutions, e-commerce shopping carts, community
websites, e-business, shopping carts and gigantic database driven sites.
User Friendly
Designed in a user friendly manner, PHP gives more flexibility than C, C++ and
ASP and overall helps in increasing traffic to the site.
Quick
PHP is designed to work well with the web, and so things like accessing the GET
and POST and working with HTML and URLs are built-ins in the PHP language. This
makes it really concise and straightforward to make a website.
Extensions
Being an open source language, a large number of libraries and extensions, to
extend its core functionalities, are available for download. The source code of PHP can
be modified to include custom created extensions and components thereby increasing its
extensibility.
Easy Deployment
There are many hosting companies that will, for a few dollars a month, give you a
server running PHP so you can make a website really easily.
Automatically Refreshes
Nowadays developing dynamic websites are in the huge demand due to its specific
characteristics like it automatically refreshes and does not need to make much changes
manually.
Community Support
A huge advantage that PHP offers is its community. If you are looking for a
particular script, chances are another user has already created something similar. Check
within the PHP community for availability. Likewise, if you have created a function that
others might enjoy, be sure to post the code for others.
Other Tools
If you need to access other web based tools like Google maps (which is always
advisable for a business website), or any other, PHP makes it easy to access.
Talent Availability
You can hire PHP programmers more easily than any other language
programmers since so many people know the language.
Apache Web server
Often referred to as simply Apache, a public-domain open source web server
developed by a loosely-knit group of programmers. The first version of Apache, based on
the NCSA http Web server, was developed in 1995.
Core development of the Apache Web server is performed by a group of about 20
volunteer programmers, called the Apache Group. However, because the source code is
freely available, anyone can adapt the server for specific needs, and there is a large public
library of Apache add-ons. In many respects, development of Apache is similar to
development of the Linux operating system.
The original version of Apache was written for UNIX, but there are now versions
that run under OS/2, Windows and other platforms. The name is a tribute to the Native
American Apache Indian tribe, a tribe well known for its endurance and skill in warfare.
A common misunderstanding is that it was called Apache because it was developed from
existing NCSA code plus various patches, hence the name a patchy server, or Apache
server.
Apache consistently rates as the world’s most popular Web server according to
analyst surveys. Apache has attracted so much interest because it is full-featured, reliable,
and free.
Originally developed for UNIX™ operating systems, Apache has been updated to
run on Windows, OS/2, and other platforms. One aspect of Apache that some site
administrators find confusing especially those unfamiliar with UNIX-style software is its
configuration scheme.
Instead of using a point-and-click graphic user interface (GUI) or Windows
Registry keys as most other modern software packages, Apache generally relies on
simple text files for its configuration settings.
Introduction to MYSQL:
MySQL is a powerful database. It’s very good and free of change. Many
developers in the world selected MySQL and php for developing their website.
The MySQL database has become the world’s most popular open source database
because of its consistent fast performance, high reliability and ease of use. It’s used in
more than 6 million installations ranging from large corporations to specialized
embedded applications on every continent in the world.
Not only is MySQL the world’s most popular open source database, it’s also
become the database of choice for a new generation of applications built on the LAMP
stack(Linux, Apache, MySQL, php / Perl / python.) MySQL runs on more than 20
platforms including Linux, Window, OS/X, HP-UX, AIX, Netware, giving you the kind
of flexibility that puts you in control.
Whether you’re new to database technology or an experienced developer or DBA,
MySQL offers a comprehensive range of certified software, support, training and
consulting to make you successful .MYSQL is a free, widely used SQL engine. It can be
used as a fast database as well as a rock-solid DBMS using modular engine architecture.
MYSQL Language:
DDL (Data Definition Language) refers to the CREATE, ALTER and DROP
statements.DDL allows adding / modifying / deleting the logical structures which contain
the data or which allow users to access / maintains the data (databases, tables, keys,
views...). DDL is about "metadata".
DCL is used to grant / revoke permissions on databases and their contents. DCL is
simple, but MYSQL's permissions are rather complex. DCL is about security.
HTML :
Hypertext Markup Language (HTML) is the standard markup languages for
documents designed to be displayed in a web browser It can be assisted by technologies
such as Cascading Style Sheet (CSS) and scripting language such as Java Script .
Web browsers receive HTML documents from a web server or from local storage
and render the documents into multimedia web pages. HTML describes the structure of a
web page semantically and originally included cues for the appearance of the document.
HTML elements are the building blocks of HTML pages. With HTML constructs,
images and other objects such as interactive forms may be embedded into the rendered
page.
HTML provides a means to create structured documents by denoting
structural semantics for text such as headings, paragraphs, lists link, quotes and other
items. HTML elements are delineated by tags written using angle brackets. Tags such
as <img/> and <input/> directly introduce content into the page. Other tags such
as <p>surround and provide information about document text and may include other tags
as sub-elements. Browsers do not display the HTML tags, but use them to interpret the
content of the page.
HTML can embed programs written in a scripting language such as JavaScript,
which affects the behavior and content of web pages.
CSS :
Cascading style sheets is a style sheet language used for describing the
presentation of a document written in a mark-up language like HTML. CSS is a corner-
stone technology of the World Wide Web, along sites, along HTML and Java script. CSS
is designed to enable the separation of presentation and content, including layout, colors,
and fonts.
SQL :
Structured Query Language is a domain specific language used in programming
and designed for managing data held in a relational database management system
(RDBMS) or stream processing in a relational data stream management system. It is
particularly useful in handling structured data where there are relations between different
entities/variables of the data.
AJAX :
Asynchronous JavaScript and XML is a set of web development techniques using
many web technologies on the client side to create asynchronous web application. With
Ajax, web applications can send and retrieve data from a server asynchronously (in the
background) without interfering with the display and behavior of the existing page. By
decoupling the data interchange layer from the presentation layer, Ajax allows web pages
and, by extension, web applications, to change content dynamically without the need to
reload the entire page. In practice, modern implementations commonly
utilize JSON instead of XML.
Ajax is not a single technology, but rather a group of
technologies. HTML and CSS can be used in combination to mark up and style
information. The webpage can then be modified by JavaScript to dynamically display—
and allow the user to interact with—the new information. The built-in XML http
request object, or since 2017 the new "fetch()" function within JavaScript, is commonly
used to execute Ajax on web pages allowing websites to load content onto the screen
without refreshing the page. Ajax is not a new technology, or different language, just
existing technologies used in new ways.
Bootstrap:
Bootstrap (front-end framework) is a free and open-source front-end framework
for designing websites and web applications. It contains HTML and CSS based design
templates for typography, forms, buttons, navigation and other interface components, as
well as optional JavaScript extensions. It is a framework that helps design websites
faster and easier. It includes HTML and CSS based design templates for typography,
forms, buttons, tables, navigation, image carousels, etc. It also gives us support for
JavaScript plugins. Bootstrap was also programmed to support HTML5 and CSS3.
Some important features of bootstrap are: Easy to begin with, easily customizable,
responsive utility classes, drop-down component menu, bootstrap templates etc.
XAMPP
It is a free and open source cross platform web server solution stack package
developed by Apache . It is simple , lightweight Apache distribution that makes it
extremely easy for developers to create a local web server for testing and deployment
purposes. XAMPP is also cross-platform , which means it works equally well on Linux ,
Mac and windows . Since most actual web server deployments use the same components
as XAMPP , it makes transitioning from a local test server to a live server extremely easy
as well.
XAMPP CONTROL PANEL
CHAPTER 4
SYSTEM DESIGN
The aim of the site is to present the following factors to the people for better
usability:
• Registering new user.
• Creating valid login credentials.
• Creating or deleting chat rooms.
• Adding members to the chat rooms.
• Making a chat room public or private.
• Admin login to view and change the user information.
• Admin login to view and change chat room information.
• Updating personal information.
CHAPTER 5
SYSTEM IMPLEMENTATION
3. Add/delete member:
A user who has created the chat room has accessibility to add/delete a
member from a room. The admin also has the privileges to add/delete
member from his/her account.
4. My chat:
The users or members present in the chat room can text other user or
members present in the same room.
5. Update account:
He/she can update his/her account details anytime. Even an admin has
same privileges as the user of that account.
CHAPTER 6
SCREENSHOTS
6.1 Login Page
CHAPTER 7
CONCLUSION
The project Chat room helps to communicate with each other easily and also share
our ideas so quickly so that all the things could develop so fast. It enables them to stay
connected with their peers, and help them to interact with each other. This software plays
a pivotal role in decreasing the interaction gap among the various peoples. In our project
dealing with text communication, group chatting. The primary use of a chat room is to
share information via text with a group of other users. Generally speaking, the ability to
converse with multiple people in the same conversation differentiates chat rooms from
instant messaging programs, which are more typically designed for one-to-one
communication. The users in a particular chat room are generally connected with
connection, and chat rooms exist catering for a wide range of subjects. This would be
considered a chat room.
REFERENCES
Reference books
Robin Nixon, “Learning PHP, MySQL &JavaScript with jQuery, CSS and
HTML5”,4th Edition
Luke Welling, Laura Thomson, ”PHP and MYSQL Web Development”,5 th
Edition
Nicholas C Zakas, ”Professional JavaScript for Web Developers”,3rd Edition
David sawyer McFarland, ”JavaScript & jQuery: The Missing Manual”, 1 st
Edition.
Web Sites
i. https://stackoverflow.com/
ii. https://www.w3schools.com/
iii. https://www.webdeveloper.com/