SlideShare una empresa de Scribd logo
1 de 25
TOPIC-CHAT
A project report
On
Topic-Chat
Computer science &
engineering
Submitted
By
N. Sri Devi (13A91A05A4) SK.
Salman (13A91A05B6)
S. Rajesh (14A95A0525) B.
Jayanth (13A91A0574)
TOPIC-CHAT
Aditya engineering
college
(Approved by AICTE, affiliated to
JNTUK & NBA accredited)
Department of computer
science & engineering
ABSTRACT
TOPIC-CHAT
This project is aimed at developing an application based system, which
manages the activity of “Students chatting on different topics of
subjects”. This system will manage the database and maintain a list of
Students groups that have registered on this site.
INDEX
Table of Contents
1. INTRODUCTION
1.1 INTRODUCTIONTO PROJECT
TOPIC-CHAT
1.2 PURPOSEOF PROJECT
2. SYSTEM ANALYSIS
2.1 INTRODUCTION
2.2 ANALYSIS MODEL
2.3 SYSTEM REQUIREMENTS SPECIFICATIONS
2.4 INPUTAND OUTPUT
3. SOFTWARE REQUIREMENTS SPECIFICATION
3.1 FUNCTIONAL REQUIREMENTS
3.2 PERFORMANCE REQUIREMENTS
4. SELECTED SOFTWARE
4.1 GCM
4.2 PHP
4.3 MYSQL SERVER
4.4 ANDROID
5. SYSTEM DESIGN
5.1 E-R DIAGRAMS
5.2 DATA DICTIONARY
5.3 UML DIAGRAMS
6. OUTPUT SCREENS
TOPIC-CHAT
7. TESTING AND IMPLEMENTATION
7.1 UNITTESTING
8. CONCLUSION
1. INTRODUCTION
1.1 INTRODUCTION TO PROJECT:
The aim of this project is to develop a chat application using client server
architecture which relies on GCM programming provided by the android.
1.2 PURPOSE OF PROJECT :
TOPIC-CHAT
The purpose of this project is to manage the activity of “Students chatting on
different topics of subjects”. This systemwill manage the database and maintain a
list of Students groups that have registered on this site.
2. SYSTEM ANALYSIS
2.1 INTRODUCTION:
After analyzing the requirements of the task to be performed, the next step is to
analyze the problem and understand its context. The first activity in the phase is
studying existing systemand other is to understand the requirements and domain
of the new system. Both the activities are equally important, but the first activity
serves as a basis of giving the functional specifications and then successfuldesign
of proposed system.
2.2 ANALYSIS MODEL:
This documentplaya vitalrolein thedevelopmentof life cycle(SDLC)asit describes
the complete requirement of the system.
SPIRAL MODEL was defined by Barry Boehm in his 1988 article, a spiral model of
softwaredevelopmentandenhancement. Thismodel wasnotfirstmodelto discuss
iterative development, but it was first model to discuss why the iteration models.
As originally envisioned, the iterations were typically 6 months to 2 years
long. Each phase starts with design goal and ends with a client reviewing the
progress thus far. Analysis and engineering efforts are applied at each phase of
project, with an eye towards the end goal of project.
The following diagram show how a spiral model acts like:
TOPIC-CHAT
2.3 SYSTEM REQUIREMENTS SPECIFICATIONS:
HARDWARE REQUIREMENTS:
 PIV 2.8 GHZ processor and above
 RAM 512 MB and above
 HDD 40 GB and above
TOPIC-CHAT
SOFTWARE REQUIREMENTS:
 WINDOWS OS(XP/200/7/8/10)
 Android Studio 1.2 and higher
 PHP server(WAMP/XAMP)
 MYSQL Server
2.4 INPUT AND OUTPUT:
The following are the someinputs and outputs of project.
INPUTS:
 Admin enter the credentials.
 Admin adds the topics.
 Admin adds the messages for each topic.
 Student has registered firsthe/she will enter registration details.
 Student enters credentials.
 Student access the topics and sends messages to related topics.
OUTPUTS:
 Admin will get his home page.
 Admin can see the student chats.
 Admin can send the push notifications to students.
 Student can send messages to topics.
3. SOFTWARE REQUIREMENTS SPECIFICATION:
TOPIC-CHAT
3.1 INTRODUCTION:
Purpose: The main purposeof preparing of this document is to give a general
Insightinto the analysis and requirements of the existing systemor situation and
determining the operating characteristics of the system.
3.2 FUNCTIONAL REQUIREMENTS:
Output Design:
Outputs fromthe computer systems arerequired primarily to communicate
the results of processing to users. They also used to providea permanentcopy of
the results for later consultation.
Input Design:
Inputdesign is the partof overall systemdesign. The main objectiveduring
the input design is given below:
 To producea cost-effectivemethod of input.
 To achieve the highest possiblelevel of accuracy.
 To ensurethat the input is acceptable and understood by user.
Error avoidance:
At this stage care is to be taken to ensurethat input data remains accurate
fromthe stage at which it is recorded up to the stage in which the data accepted
by the system. This can be achieved only by means of carefulcontrol each time
the data is handled.
Error detection:
TOPIC-CHAT
Even though every effortis make to avoid the occurrenceof errors,
still a small proportion of errors is always likely to occur, these types of errors can
be discovered by using validations to check the input data
3.3 PERFORMANCE REQUIREMENTS:
Performanceis measured in terms of the output provided by the application
Requirement specification plays an important part in the analysis of a system.
Only when the requirements specifications are properly given, it is possible to
design a system, which will fit into required environment.
The requirements specifications for every systemcan be broadly stated as given
below:
 The systemshould able to interface with the existing system.
 The systemshould be accurate.
 The systemshould be better than the existing system.
4. SELECTED SOFTWARE:
4.1 GCM(Google Cloud Messaging ):
Google Cloud Messaging allows you send lightweight messages fromthe backend
server to all the devices whenever there is new data available. This saves lot of
user’s battery by avoiding poll request to server for new data. Using GCM you can
TOPIC-CHAT
build powerfulmulti-platform(iOS,Android& Web) appsliketopic chat, newsfeed,
cloud storageand lot more. On top of everything,GCMis completely freeand there
are no limitations.
Below is the pictorial representation of the overall architecture:
1. First the app connects to GCM server and register itself.
2. Upon successfulregistration, GCMissues gcm registration token to device. This
registration token uniquely identifies each device.
3. The device sends the registration token to our server to store it in MySQL.
4. Whenever app server wants to send push notification, it sends a request to
GCM server sending the push message along with the registration token.
5. GCM server identifies the device using the registration token and initiates the
push message.
6. The device receives the push messages and further action takes place.
TOPIC-CHAT
4.2 PHP (Hyper Text Preprocessor):
The PHP Hypertext Preprocessor (PHP) is a programming languagethat allows
web developers to create dynamic content that interacts with databases. PHP is
basically used for developing web based softwareapplications. This tutorial helps
you to build your basewith PHP.
PHP started out as a small open source project that evolved as more and
more people found out how useful it was. Rasmus Lerdorf unleashed the first
version of PHP way back in 1994.
 Itis integrated with a number of popular databases, including MySQL,
PostgreSQL, Oracle, Sybase, Informix, and MicrosoftSQL Server.
 All PHP code mustbe included inside one of the three special markup tags
are recognized by the PHP Parser. A most common tag is the <?php...?>
 Five important characteristics make PHP's practical nature possible
Simplicity, Efficiency, Security, Flexibility, Familiarity
 Php supports object oriented concepts like class, objects, polymorphism,
inheritance, dynamic binding etc….
4.3 MYSQL SERVER:
MySQL is the most popular Open Source Relational SQL database management
system. MySQL is one of the best RDBMS being used for developing web-based
softwareapplications.
MySQL is a fast, easy-to-useRDBMS being used for many small and big
businesses. MySQL is developed, marketed, and supported by MySQL AB, which is
a Swedishcompany.MySQLis becoming sopopular becauseof many goodreasons:
TOPIC-CHAT
 MySQL works on many operating systems and with many languages
including PHP, PERL, C, C++, JAVA, etc
 MySQL works very quickly and works welleven with large data sets.
 MySQL is very friendly to PHP, the most appreciated language for web
development.
 MySQL is released under an open-sourcelicense. So you have nothing to
pay to useit.
4.4 ANDROID:
Android is a softwarestack for mobile devices that includes an operating system,
middleware and key applications .Android is a software platform and operating
system for mobile devices based on the Linux operating system and developed by
Googleand the Open HandsetAlliance. Itallowsdevelopers to writemanaged code
in a Java-like language that utilizes Google-developed Java libraries, but does not
support programs developed in native code.
FEATURES:
1. Application Framework:
It is used to write applications for Android. Unlike other embedded mobile
environments, Android applications are all equal, for instance, an applications
which come with the phoneare no differentthan those that any developer writes.
2. Dalvik Virtual Machine:
It is extremely low-memory based virtual machine, which was designed especially
for Android to run on embedded systems and work wellin low power situations. It
TOPIC-CHAT
is also tuned to theCPU attributes. TheDalvik VMcreates a specialfile format(.DEX)
that is created through build time post processing. Conversion between Java
classes and .DEX format is done by included “dx” tool.
3. Integrated Browser:
Google made a right choice on choosing WebKit as open source web browser.
They added a two pass layout and frame flattening. Two pass layout loads a page
without waiting for blocking elements, such as external CSS or external JavaScript
and after a while renders again with all resources downloaded to the device.
4 .Optimized Graphics:
As Android has 2D graphics library and 3D graphics based on OpenGLES 1.0,
possibly wewillsee greatapplications like GoogleEarth and spectacular games like
Second Life, which come on Linux version. At this moment, the shooting legendary
3D game Doom was presented using Android on the mobile phone.
5. SQLite:
Extremely small (< 500kb) relationaldatabasemanagement system, is integrated
in Android. Itis based on function calls and single file, where all definitions, tables
and data are stored. This simple design is more than suitable for a platform such
as Android.
7. Data Storage:
SQLite is used for structured data storage .SQLiteis a powerfuland light weight
relational databaseengine available to all applications.
TOPIC-CHAT
8. Connectivity:
Android supports a wide variety of connectivity technologies including GSM,
CDMA, Bluetooth, EDGE, EVDO, 3G and Wi-Fi.
9. Messaging:
SMS, MMS, and XMPP are available forms of messaging including threaded text
messaging.
10. Java Virtual Machine:
Software written in Java can be compiled into Dalvik byte codes and executed in
the Dalvik virtual machine, which is a specialized VM implementation designed for
mobile device use, although not technically a standard Java Virtual Machine.
5. SYSTEM DESIGN:
5.1 ER-DIAGRAMS:
An entity relationship diagram (ERD) shows the relationships of entity sets stored
in a database. An entity in this context is a component of data. In other words, ER
diagrams illustrate the logical structureof databases.
At first glance an entity relationship diagramlooks very much like a flowchart. Itis
the specialized symbols, and the meanings of thosesymbols, that make it unique.
ER-Diagram for topic-chat:
TOPIC-CHAT
5.2 DATA DICTIONARY:
After carefully understandingtherequirementsof the client the entire data storage
requirements aredivided into tables. The below tables are Normalized to avoid any
anomalies during the course of data entry.
Table: chat_rooms
TOPIC-CHAT
SYSTEM NAME
Use case 1
:
:
Use case 2
Table: messages
Table: users
6.3 UML DIAGRAMS:
TOPIC-CHAT
USE CASE FOR LOGIN PROCESS
Admin Database
Over viewuse case diagram:
Student
Admin
Adminuse case diagram:
Login
System
Registration
Login
Add Topics
Send notification
Send message
System
Login
Add Topics
Send Notifications
Send messages
Logout
TOPIC-CHAT
Student use case diagram:
Student
7. OUTPUT SCREENS:
7.1 SERVER OUTPUT SCREENS:
ADMIN LOGIN PAGE:
System
Registration
Login
View Messages
Send Messages
Logout
TOPIC-CHAT
ADMIN START PAGE:
ADMIN VIEW AND SEND MESSAGES:
TOPIC-CHAT
ADMIN SEND NOTIFICATIONS TO STUDENT:
7.2 CLIENT OUTPUT SCREENS:
TOPIC-CHAT
CLIENT TOPICS VIEW:
CLIENT MESSAGES VIEW:
TOPIC-CHAT
TOPIC-CHAT
7. TESTING AND IMPLEMENTATION:
7.1 INTRODUCTION:
Software testing is a critical element of software quality assurance and
represents the ultimate review of specification, design and coding. In fact, testing
is the one step in the software engineering process that could be viewed as
destructive rather the constructive.
Component testing
Integration testing
User testing
UNIT TESTING:
Unit testing focuses verification efforton the smallest unit of softwaredesign,the
module. the unit testing we have is white box oriented and somemodules the
steps are conducted in parallel.
UNIT TESTING
MODULE TESTING
SUB-SYSTEMTESTING
SYSTEM TESTING
ACCEPTANCE TESTING
TOPIC-CHAT
CONCLUSION
It has been great pleasure for me to work on this exciting and challenging project.
This project proved good for me as it provided practical knowledge of not only
programming in php and android and gcm, but also about all handling procedure
related with “projecttitle”. Italso provides knowledgeaboutthe latest technology
that will be great demand in future. This will provide better opportunities and
guidance in future in developing projects independently.

Más contenido relacionado

La actualidad más candente

Report on e-Notice App (An Android Application)
Report on e-Notice App (An Android Application)Report on e-Notice App (An Android Application)
Report on e-Notice App (An Android Application)
Priyanka Kapoor
 
2.1 project management srs
2.1 project management   srs2.1 project management   srs
2.1 project management srs
Anil Kumar
 

La actualidad más candente (20)

Vehicle Tracking System Android Project Report
Vehicle Tracking System Android Project ReportVehicle Tracking System Android Project Report
Vehicle Tracking System Android Project Report
 
Chat application android app ppt
Chat application android app pptChat application android app ppt
Chat application android app ppt
 
project
projectproject
project
 
Multiuser chat application using java
Multiuser chat application using javaMultiuser chat application using java
Multiuser chat application using java
 
AMIZONER: Final Report
AMIZONER: Final ReportAMIZONER: Final Report
AMIZONER: Final Report
 
The complete srs documentation of our developed game.
The complete srs documentation of our developed game. The complete srs documentation of our developed game.
The complete srs documentation of our developed game.
 
Quiz app (android) Documentation
Quiz app (android) DocumentationQuiz app (android) Documentation
Quiz app (android) Documentation
 
Android File Manager Report PDF
Android File Manager Report PDFAndroid File Manager Report PDF
Android File Manager Report PDF
 
Social Networking Website Project Report
Social Networking Website Project ReportSocial Networking Website Project Report
Social Networking Website Project Report
 
SRS example
SRS exampleSRS example
SRS example
 
Software requirement specification(SRS)
Software requirement specification(SRS)Software requirement specification(SRS)
Software requirement specification(SRS)
 
Final year project presentation in android application
Final year project presentation in android applicationFinal year project presentation in android application
Final year project presentation in android application
 
Android Internship report presentation
Android Internship report presentationAndroid Internship report presentation
Android Internship report presentation
 
Report on e-Notice App (An Android Application)
Report on e-Notice App (An Android Application)Report on e-Notice App (An Android Application)
Report on e-Notice App (An Android Application)
 
Srs document
Srs documentSrs document
Srs document
 
Flappy Birds Project
Flappy Birds ProjectFlappy Birds Project
Flappy Birds Project
 
Online board documentation
Online board documentationOnline board documentation
Online board documentation
 
2.1 project management srs
2.1 project management   srs2.1 project management   srs
2.1 project management srs
 
Final project report of a game
Final project report of a gameFinal project report of a game
Final project report of a game
 
Android App Development Project in College
Android App Development Project in College Android App Development Project in College
Android App Development Project in College
 

Destacado

Project Report on Retail Coverage of ITC
Project Report on Retail Coverage of ITCProject Report on Retail Coverage of ITC
Project Report on Retail Coverage of ITC
Jiten Sharma
 
A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat application
Kumar Gaurav
 
The effect-of-social-networking-sites
The effect-of-social-networking-sitesThe effect-of-social-networking-sites
The effect-of-social-networking-sites
Ram Patil
 
Summary, Conclusions and Recommendations
Summary, Conclusions and RecommendationsSummary, Conclusions and Recommendations
Summary, Conclusions and Recommendations
Roqui Malijan
 

Destacado (11)

Client server chat
Client server chatClient server chat
Client server chat
 
Text search with Elasticsearch on AWS
Text search with Elasticsearch on AWSText search with Elasticsearch on AWS
Text search with Elasticsearch on AWS
 
Report on Facility layout
 Report on Facility layout Report on Facility layout
Report on Facility layout
 
Project Report on Retail Coverage of ITC
Project Report on Retail Coverage of ITCProject Report on Retail Coverage of ITC
Project Report on Retail Coverage of ITC
 
Field Study 1 Episodes 1-6
Field Study 1 Episodes 1-6Field Study 1 Episodes 1-6
Field Study 1 Episodes 1-6
 
Android College Application Project Report
Android College Application Project ReportAndroid College Application Project Report
Android College Application Project Report
 
A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat application
 
The effect-of-social-networking-sites
The effect-of-social-networking-sitesThe effect-of-social-networking-sites
The effect-of-social-networking-sites
 
Summary, Conclusions and Recommendations
Summary, Conclusions and RecommendationsSummary, Conclusions and Recommendations
Summary, Conclusions and Recommendations
 
Report Writing - Conclusions & Recommendations sections
Report Writing - Conclusions & Recommendations sectionsReport Writing - Conclusions & Recommendations sections
Report Writing - Conclusions & Recommendations sections
 
Atomic design
Atomic designAtomic design
Atomic design
 

Similar a Documentation

ops300 Project(3)
ops300 Project(3)ops300 Project(3)
ops300 Project(3)
trayyoo
 
ops300 Project(4)
ops300 Project(4)ops300 Project(4)
ops300 Project(4)
trayyoo
 
127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation
Nitesh Kumar
 
List and describe various features of electronic systems.List and .pdf
List and describe various features of electronic systems.List and .pdfList and describe various features of electronic systems.List and .pdf
List and describe various features of electronic systems.List and .pdf
info824691
 
SathishKumar Natarajan
SathishKumar NatarajanSathishKumar Natarajan
SathishKumar Natarajan
Sathish Kumar
 

Similar a Documentation (20)

Crime security.
Crime security.Crime security.
Crime security.
 
ops300 Project(3)
ops300 Project(3)ops300 Project(3)
ops300 Project(3)
 
ops300 Project(4)
ops300 Project(4)ops300 Project(4)
ops300 Project(4)
 
127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation
 
Cyber bidding gateway report on ASP .net
Cyber bidding gateway report on ASP .netCyber bidding gateway report on ASP .net
Cyber bidding gateway report on ASP .net
 
Spm file33
Spm file33Spm file33
Spm file33
 
Web-Based Lighting Automation System
Web-Based Lighting Automation SystemWeb-Based Lighting Automation System
Web-Based Lighting Automation System
 
PROTOTYPE APPLICATION IN ANDROID PLATFORM FOR SYSTEM ADMINISTRATION OF HPC CL...
PROTOTYPE APPLICATION IN ANDROID PLATFORM FOR SYSTEM ADMINISTRATION OF HPC CL...PROTOTYPE APPLICATION IN ANDROID PLATFORM FOR SYSTEM ADMINISTRATION OF HPC CL...
PROTOTYPE APPLICATION IN ANDROID PLATFORM FOR SYSTEM ADMINISTRATION OF HPC CL...
 
Public voice
Public voicePublic voice
Public voice
 
Synopsis on online shopping by sudeep singh
Synopsis on online shopping by  sudeep singhSynopsis on online shopping by  sudeep singh
Synopsis on online shopping by sudeep singh
 
List and describe various features of electronic systems.List and .pdf
List and describe various features of electronic systems.List and .pdfList and describe various features of electronic systems.List and .pdf
List and describe various features of electronic systems.List and .pdf
 
SathishKumar Natarajan
SathishKumar NatarajanSathishKumar Natarajan
SathishKumar Natarajan
 
Learn .NET Core - Introduction
Learn .NET Core - IntroductionLearn .NET Core - Introduction
Learn .NET Core - Introduction
 
Crime Reporting System.pptx
Crime Reporting System.pptxCrime Reporting System.pptx
Crime Reporting System.pptx
 
Cookbook for Building An App
Cookbook for Building An AppCookbook for Building An App
Cookbook for Building An App
 
Foundry Management System Desktop Application
Foundry Management System Desktop Application Foundry Management System Desktop Application
Foundry Management System Desktop Application
 
Microservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native AppsMicroservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native Apps
 
Internship msc cs
Internship msc csInternship msc cs
Internship msc cs
 
Linux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop ComputerLinux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop Computer
 
Linux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop ComputerLinux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop Computer
 

Último

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 

Último (20)

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 

Documentation

  • 1. TOPIC-CHAT A project report On Topic-Chat Computer science & engineering Submitted By N. Sri Devi (13A91A05A4) SK. Salman (13A91A05B6) S. Rajesh (14A95A0525) B. Jayanth (13A91A0574)
  • 2. TOPIC-CHAT Aditya engineering college (Approved by AICTE, affiliated to JNTUK & NBA accredited) Department of computer science & engineering ABSTRACT
  • 3. TOPIC-CHAT This project is aimed at developing an application based system, which manages the activity of “Students chatting on different topics of subjects”. This system will manage the database and maintain a list of Students groups that have registered on this site. INDEX Table of Contents 1. INTRODUCTION 1.1 INTRODUCTIONTO PROJECT
  • 4. TOPIC-CHAT 1.2 PURPOSEOF PROJECT 2. SYSTEM ANALYSIS 2.1 INTRODUCTION 2.2 ANALYSIS MODEL 2.3 SYSTEM REQUIREMENTS SPECIFICATIONS 2.4 INPUTAND OUTPUT 3. SOFTWARE REQUIREMENTS SPECIFICATION 3.1 FUNCTIONAL REQUIREMENTS 3.2 PERFORMANCE REQUIREMENTS 4. SELECTED SOFTWARE 4.1 GCM 4.2 PHP 4.3 MYSQL SERVER 4.4 ANDROID 5. SYSTEM DESIGN 5.1 E-R DIAGRAMS 5.2 DATA DICTIONARY 5.3 UML DIAGRAMS 6. OUTPUT SCREENS
  • 5. TOPIC-CHAT 7. TESTING AND IMPLEMENTATION 7.1 UNITTESTING 8. CONCLUSION 1. INTRODUCTION 1.1 INTRODUCTION TO PROJECT: The aim of this project is to develop a chat application using client server architecture which relies on GCM programming provided by the android. 1.2 PURPOSE OF PROJECT :
  • 6. TOPIC-CHAT The purpose of this project is to manage the activity of “Students chatting on different topics of subjects”. This systemwill manage the database and maintain a list of Students groups that have registered on this site. 2. SYSTEM ANALYSIS 2.1 INTRODUCTION: After analyzing the requirements of the task to be performed, the next step is to analyze the problem and understand its context. The first activity in the phase is studying existing systemand other is to understand the requirements and domain of the new system. Both the activities are equally important, but the first activity serves as a basis of giving the functional specifications and then successfuldesign of proposed system. 2.2 ANALYSIS MODEL: This documentplaya vitalrolein thedevelopmentof life cycle(SDLC)asit describes the complete requirement of the system. SPIRAL MODEL was defined by Barry Boehm in his 1988 article, a spiral model of softwaredevelopmentandenhancement. Thismodel wasnotfirstmodelto discuss iterative development, but it was first model to discuss why the iteration models. As originally envisioned, the iterations were typically 6 months to 2 years long. Each phase starts with design goal and ends with a client reviewing the progress thus far. Analysis and engineering efforts are applied at each phase of project, with an eye towards the end goal of project. The following diagram show how a spiral model acts like:
  • 7. TOPIC-CHAT 2.3 SYSTEM REQUIREMENTS SPECIFICATIONS: HARDWARE REQUIREMENTS:  PIV 2.8 GHZ processor and above  RAM 512 MB and above  HDD 40 GB and above
  • 8. TOPIC-CHAT SOFTWARE REQUIREMENTS:  WINDOWS OS(XP/200/7/8/10)  Android Studio 1.2 and higher  PHP server(WAMP/XAMP)  MYSQL Server 2.4 INPUT AND OUTPUT: The following are the someinputs and outputs of project. INPUTS:  Admin enter the credentials.  Admin adds the topics.  Admin adds the messages for each topic.  Student has registered firsthe/she will enter registration details.  Student enters credentials.  Student access the topics and sends messages to related topics. OUTPUTS:  Admin will get his home page.  Admin can see the student chats.  Admin can send the push notifications to students.  Student can send messages to topics. 3. SOFTWARE REQUIREMENTS SPECIFICATION:
  • 9. TOPIC-CHAT 3.1 INTRODUCTION: Purpose: The main purposeof preparing of this document is to give a general Insightinto the analysis and requirements of the existing systemor situation and determining the operating characteristics of the system. 3.2 FUNCTIONAL REQUIREMENTS: Output Design: Outputs fromthe computer systems arerequired primarily to communicate the results of processing to users. They also used to providea permanentcopy of the results for later consultation. Input Design: Inputdesign is the partof overall systemdesign. The main objectiveduring the input design is given below:  To producea cost-effectivemethod of input.  To achieve the highest possiblelevel of accuracy.  To ensurethat the input is acceptable and understood by user. Error avoidance: At this stage care is to be taken to ensurethat input data remains accurate fromthe stage at which it is recorded up to the stage in which the data accepted by the system. This can be achieved only by means of carefulcontrol each time the data is handled. Error detection:
  • 10. TOPIC-CHAT Even though every effortis make to avoid the occurrenceof errors, still a small proportion of errors is always likely to occur, these types of errors can be discovered by using validations to check the input data 3.3 PERFORMANCE REQUIREMENTS: Performanceis measured in terms of the output provided by the application Requirement specification plays an important part in the analysis of a system. Only when the requirements specifications are properly given, it is possible to design a system, which will fit into required environment. The requirements specifications for every systemcan be broadly stated as given below:  The systemshould able to interface with the existing system.  The systemshould be accurate.  The systemshould be better than the existing system. 4. SELECTED SOFTWARE: 4.1 GCM(Google Cloud Messaging ): Google Cloud Messaging allows you send lightweight messages fromthe backend server to all the devices whenever there is new data available. This saves lot of user’s battery by avoiding poll request to server for new data. Using GCM you can
  • 11. TOPIC-CHAT build powerfulmulti-platform(iOS,Android& Web) appsliketopic chat, newsfeed, cloud storageand lot more. On top of everything,GCMis completely freeand there are no limitations. Below is the pictorial representation of the overall architecture: 1. First the app connects to GCM server and register itself. 2. Upon successfulregistration, GCMissues gcm registration token to device. This registration token uniquely identifies each device. 3. The device sends the registration token to our server to store it in MySQL. 4. Whenever app server wants to send push notification, it sends a request to GCM server sending the push message along with the registration token. 5. GCM server identifies the device using the registration token and initiates the push message. 6. The device receives the push messages and further action takes place.
  • 12. TOPIC-CHAT 4.2 PHP (Hyper Text Preprocessor): The PHP Hypertext Preprocessor (PHP) is a programming languagethat allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web based softwareapplications. This tutorial helps you to build your basewith PHP. PHP started out as a small open source project that evolved as more and more people found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in 1994.  Itis integrated with a number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and MicrosoftSQL Server.  All PHP code mustbe included inside one of the three special markup tags are recognized by the PHP Parser. A most common tag is the <?php...?>  Five important characteristics make PHP's practical nature possible Simplicity, Efficiency, Security, Flexibility, Familiarity  Php supports object oriented concepts like class, objects, polymorphism, inheritance, dynamic binding etc…. 4.3 MYSQL SERVER: MySQL is the most popular Open Source Relational SQL database management system. MySQL is one of the best RDBMS being used for developing web-based softwareapplications. MySQL is a fast, easy-to-useRDBMS being used for many small and big businesses. MySQL is developed, marketed, and supported by MySQL AB, which is a Swedishcompany.MySQLis becoming sopopular becauseof many goodreasons:
  • 13. TOPIC-CHAT  MySQL works on many operating systems and with many languages including PHP, PERL, C, C++, JAVA, etc  MySQL works very quickly and works welleven with large data sets.  MySQL is very friendly to PHP, the most appreciated language for web development.  MySQL is released under an open-sourcelicense. So you have nothing to pay to useit. 4.4 ANDROID: Android is a softwarestack for mobile devices that includes an operating system, middleware and key applications .Android is a software platform and operating system for mobile devices based on the Linux operating system and developed by Googleand the Open HandsetAlliance. Itallowsdevelopers to writemanaged code in a Java-like language that utilizes Google-developed Java libraries, but does not support programs developed in native code. FEATURES: 1. Application Framework: It is used to write applications for Android. Unlike other embedded mobile environments, Android applications are all equal, for instance, an applications which come with the phoneare no differentthan those that any developer writes. 2. Dalvik Virtual Machine: It is extremely low-memory based virtual machine, which was designed especially for Android to run on embedded systems and work wellin low power situations. It
  • 14. TOPIC-CHAT is also tuned to theCPU attributes. TheDalvik VMcreates a specialfile format(.DEX) that is created through build time post processing. Conversion between Java classes and .DEX format is done by included “dx” tool. 3. Integrated Browser: Google made a right choice on choosing WebKit as open source web browser. They added a two pass layout and frame flattening. Two pass layout loads a page without waiting for blocking elements, such as external CSS or external JavaScript and after a while renders again with all resources downloaded to the device. 4 .Optimized Graphics: As Android has 2D graphics library and 3D graphics based on OpenGLES 1.0, possibly wewillsee greatapplications like GoogleEarth and spectacular games like Second Life, which come on Linux version. At this moment, the shooting legendary 3D game Doom was presented using Android on the mobile phone. 5. SQLite: Extremely small (< 500kb) relationaldatabasemanagement system, is integrated in Android. Itis based on function calls and single file, where all definitions, tables and data are stored. This simple design is more than suitable for a platform such as Android. 7. Data Storage: SQLite is used for structured data storage .SQLiteis a powerfuland light weight relational databaseengine available to all applications.
  • 15. TOPIC-CHAT 8. Connectivity: Android supports a wide variety of connectivity technologies including GSM, CDMA, Bluetooth, EDGE, EVDO, 3G and Wi-Fi. 9. Messaging: SMS, MMS, and XMPP are available forms of messaging including threaded text messaging. 10. Java Virtual Machine: Software written in Java can be compiled into Dalvik byte codes and executed in the Dalvik virtual machine, which is a specialized VM implementation designed for mobile device use, although not technically a standard Java Virtual Machine. 5. SYSTEM DESIGN: 5.1 ER-DIAGRAMS: An entity relationship diagram (ERD) shows the relationships of entity sets stored in a database. An entity in this context is a component of data. In other words, ER diagrams illustrate the logical structureof databases. At first glance an entity relationship diagramlooks very much like a flowchart. Itis the specialized symbols, and the meanings of thosesymbols, that make it unique. ER-Diagram for topic-chat:
  • 16. TOPIC-CHAT 5.2 DATA DICTIONARY: After carefully understandingtherequirementsof the client the entire data storage requirements aredivided into tables. The below tables are Normalized to avoid any anomalies during the course of data entry. Table: chat_rooms
  • 17. TOPIC-CHAT SYSTEM NAME Use case 1 : : Use case 2 Table: messages Table: users 6.3 UML DIAGRAMS:
  • 18. TOPIC-CHAT USE CASE FOR LOGIN PROCESS Admin Database Over viewuse case diagram: Student Admin Adminuse case diagram: Login System Registration Login Add Topics Send notification Send message System Login Add Topics Send Notifications Send messages Logout
  • 19. TOPIC-CHAT Student use case diagram: Student 7. OUTPUT SCREENS: 7.1 SERVER OUTPUT SCREENS: ADMIN LOGIN PAGE: System Registration Login View Messages Send Messages Logout
  • 20. TOPIC-CHAT ADMIN START PAGE: ADMIN VIEW AND SEND MESSAGES:
  • 21. TOPIC-CHAT ADMIN SEND NOTIFICATIONS TO STUDENT: 7.2 CLIENT OUTPUT SCREENS:
  • 24. TOPIC-CHAT 7. TESTING AND IMPLEMENTATION: 7.1 INTRODUCTION: Software testing is a critical element of software quality assurance and represents the ultimate review of specification, design and coding. In fact, testing is the one step in the software engineering process that could be viewed as destructive rather the constructive. Component testing Integration testing User testing UNIT TESTING: Unit testing focuses verification efforton the smallest unit of softwaredesign,the module. the unit testing we have is white box oriented and somemodules the steps are conducted in parallel. UNIT TESTING MODULE TESTING SUB-SYSTEMTESTING SYSTEM TESTING ACCEPTANCE TESTING
  • 25. TOPIC-CHAT CONCLUSION It has been great pleasure for me to work on this exciting and challenging project. This project proved good for me as it provided practical knowledge of not only programming in php and android and gcm, but also about all handling procedure related with “projecttitle”. Italso provides knowledgeaboutthe latest technology that will be great demand in future. This will provide better opportunities and guidance in future in developing projects independently.