Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 80

CHAPTER-1

About Organization

1. About Organization
CS Group

CS Group founded by Mr. Chhotu Sharma is an amalgam of CS Soft Solutions Pvt. Ltd and CS
Infotech. CS Soft Solutions is a complete IT solutions providing company with huge clientele all
over the world. CS Infotech is a pioneer institution which is engaged in providing computer
education in software technologies, to students as well as professional executives.

CS Soft Solutions Pvt. Ltd.

CS Soft Solutions is a complete IT solutions providing company based in Mohali. CS Soft Solutions
was created to achieve the goal of providing its clients state-of-art web development services
comparable with best in the world.The services provided by CS Soft Solutions Pvt. Ltd. Are
 Web Development
 Web Designing
 Online Marketing
 Mobile Application Development

CS Soft Solutions Pvt. Ltd. was conceptualized in October 2009 by Mr. Chhotu Sharma and Mrs.
Shalini Sharma. The goal was to build a company that worked on solid principals, to develop world
class IT products and provide a congenial environment and adequately encouraging work culture for
all the team members at CS Soft Solutions Pvt. Ltd. Consequently, there is a huge clientele from all
across the world. For assistance please refer to our website http://www.cssoftsolutions.com

One of the methods of paying back to the industry that has been adopted by the CS Group is to
recruit students from CS Infotech into CS Soft Solutions Pvt. Ltd. on the basis of their performance
and ability to perform in the industry.

Founders.

Mr. Chhotu Sharma is the founder of the CS Group. He is a Microsoft Certified Software Developer
and has been training IT professionals in different Microsoft Technologies since last 13 years. He is
recognized as “The Guru of Microsoft Technologies”. For his excellent work in field of education,
he has been conferred with title of “Himachal Gaurav” by the Chief Minister, Sh. Prem Kumar

1
Dhumalin the year 2007.His students have been picked up by Fortune 500 companies including
Microsoft, Accenture, TCS, Infosys and others. In the year 2009, he established CS Soft Solutions
Pvt. Ltd, a company offering complete IT services in multifarious IT applications. He has been
instrumental in shaping the goals and evolving values of CS Soft Solutions Pvt. Ltd. His strong
penchant for excellence at professional as well as personal front, backed by a sincere and an honest
approach towards life are the basic reasons for the success of the ventures he has launched and
actively developed. These qualities of sincerity and honesty easily percolate among students,
ensuring their success in future lives too.
Mrs. Shalini Sharma is Director of CS Soft Solutions Pvt. Ltd. and an adept teacher at CS Infotech.
She bears a sharp analytical acumen coupled with excellent People Management skills. She
hasreceived Bachelor’s Degree from Guru Nanak Dev University, Amritsar. She has trained
thousands of students during last decade. She has expertise in a wide array of languages and she
meticulously imparts technical training to her wards with endeavour to make them fully equipped in
dealing with various requirements of the IT industry, in their careers.

2
CHAPTER-2

Project Overview

3
2.Overview of the project

2.1 Purpose

Yelp added the ability for business owners to respond to reviews in 2008.Businesses can respond
privately by messaging the reviewer or publicly on their profile page. In some cases, Yelp users that
had a bad experience have updated their reviews more favorably due to the businesses' efforts to
make it right. In other cases disputes between reviewers and business owners have led to
harassment and physical altercations. The system has led to criticisms that business owners can
bribe reviewers with free food or discounts to increase their rating, though Yelp users say this rarely
occurs. A business owner can "claim" a profile, which allows them to respond to reviews and see
traffic reports. Businesses can also offer discounts to Yelp users that visit often using the "check in"
feature. In 2014, Yelp released an app for business owners to respond to reviews and manage their
profiles from a mobile device. Business owners can also flag a review to be removed, if the review
violates Yelp's content guidelines.

Yelp's revenues primarily come from selling ads and sponsored listings to small businesses.
Advertisers can pay to have their listing appear at the top of search results, or feature ads on the
pages of their competitors. As of 2016, advertising revenue was growing at a rate of 30% year over
year. Yelp will only allow businesses with at least a three-star rating to sign up for advertising.
Originally a sponsored "favorite review" could place a positive review above negative ones, but
Yelp stopped offering this option in 2010 in an effort to deter misconceptions that advertisers were
able to marginalize negative reviews for pay.

2.2 Scope of Project

When you go to a new restaurant and have a good experience, it's likely that you won't keep the
place a secret. Many of us, particularly city dwellers, are naturally curious about what's new,
popular or just plain good around town, and sharing with others is one of the easier and more
reliable ways of establishing the best locations. The same goes for many other types of businesses
or services -- drivers often recommend a good mechanic to people looking for affordable, honest

4
work on a car. But it can work the opposite way, too. If you go to a restaurant and have a terrible
time -- maybe the food is unappetizing, or the service is poor -- you want to warn others about it.
Businesses live and die by this kind of communication, and now the Internet has made it even easier
for word to spread quickly about the quality of all kinds of services. Social networking site that
focuses on reviewing businesses and sharing information about them is Yelp. Web site is like a
large online bulletin board featuring user-generated content, all geared toward personal reviews
based on experiences at local businesses.

2.3Statement about problem

If your business relies on customers that value quality over price, this first bit of data should make
you happy. 52% of consumers reported that positive customer reviews make them more likely to
use a local business compared to just 28%, who make their selection based on other factors like
location and price. Even more encouraging for businesses, 52% of consumers trust online reviews
just as much as personal recommendations -- provided they look authentic, of course. A
Bazaarvoice survey published some interesting complementary survey results of its own just a
couple months back, citing that 51% of people actually found user-generated content more
important than the opinions of their friends and family.That's good news for marketers and business
owners, because it means you have more control over how your business is represented. If you
choose to take an active role in generating online reviews, that is.Small businesses in communities
across the world are the engines of local economies. They represent more than 99.7% of all
employers, accounting for 55% of all jobs and 54% of sales in the world. 

In view of these benefits and a discussion with my project guide produced enthusiastic response and
I decided to take the challenge to develop this project.

Advantages

Yelp advantage is that it is primarily "review based" information. It is important to monitor your
listing so you can see what is being said about your business by your customers. This is valuable
information to have. Yelp information also shows up in various other data repositories around the
web. Yelp should be one of 10 to 20 business listing services you should use. It's part of your
overall marketing campaign.

Yelp offers a platform for both consumers and businesses to find each other especially through
reviews and ratings. A typical search on Yelp displays the best match of the keywords (if found),
brand advertisements on top, sponsored local advertisements related to the search keywords, other
local businesses related to the search  etc. The sponsored listing (paid advertisements) get to select a
review of their choice to be displayed as a teaser along with the listing. Otherwise, all listings
display the overall rating along with the name of the business. When a particular business listing is
selected, it displays the details like location, website of the business, photos (if any) and all the
reviews that it has got.

5
CHAPTER-3

Objective Of The Project

6
1. Objectives:
 Any business can set up a profile on website for free.
 Users can set up their own free profiles to review a business.
 Generate visibility for Businesses and create brand name for them.
 Share and view reviews of customers. Business is free to respond to reviewers too, recommend
taking a balanced and polite approach to any negative reviews you receive.
 Easy search of local businesses.

 Yelp added the ability for business owners to respond to reviews in 2008.
 Businesses can respond privately by messaging the reviewer or publicly on their profile page.
 Yelp users that had a bad experience have updated their reviews more favorably .
 In other cases disputes between reviewers and business owners have led to harassment and
physical altercations.
 The system has led to criticisms that business owners can bribe reviewers with free food or
discounts to increase their rating, though Yelp users say this rarely occurs.[
 A business owner can "claim" a profile, which allows them to respond to reviews and see traffic
reports.
 Businesses can also offer discounts to Yelp users that visit often using the "check in" feature.
 In 2014, Yelp released an app for business owners to respond to reviews and manage their
profiles from a mobile device.
 Business owners can also flag a review to be removed, if the review violates .
 Yelp's revenues primarily come from selling ads and sponsored listings to small businesses.
 Advertisers can pay to have their listing appear at the top of search results, or feature ads on the
pages of their competitors.
 As of 2016, advertising revenue was growing at a rate of 30% year over year.
 Yelp will only allow businesses with at least a three-star rating to sign up for advertising.
 Originally a sponsored "favorite review" could place a positive review above negative ones, but
Yelp stopped offering this option in 2010 in an effort to deter misconceptions that advertisers
were able to marginalize negative reviews for pay.

7
CHAPTER-4

System Analysis phase

8
4.System Analysis

The Merriam-webster dictionary defines systems analysis as “ the process of studying a procedure
or business in order to identify its goals and purposes and creates systems and procedures that will
achieve them in an efficient way”. Another view sees systems and procedures that will achieve
them in a different way”. Another view sees system analysis as a problem solving technique that
decomposes a system into its component pieces for the purpose of study how well those component
part work.

The field of system analysis relates closely to requirement analysis or to operations research. It is
also “ an explicit formal inquiry carried out tp help a descision maker identify a better course of
action and make a better descision than she might otherwise made. ”

The development of a computer-based information system includes a system analysis phase. This
helps produce the data model, a precursor to creating or enhancing a database. There are a number
of different approaches to system analysis. When a computer-based information system is
developed, system analysis (according to the Waterfall model) would constitute the following steps:

 The development of a feasibility study: determining whether a project is economically, socially,


technologically and organizationally feasible.
 Fact-finding measures, designed to ascertain the requirements of the system's end-users (typically
involving interviews, questionnaires, or visual observations of work on the existing system).
 Gauging how the end-users would operate the system (in terms of general experience in using
computer hardware or software), what the system would be used for and so on.

4.1 Overview

The terms analysis and synthesis stem from Greek, meaning "to take apart" and "to put together,"
respectively. These terms are used in many scientific disciplines, from mathematics and logic to
economics and psychology, to denote similar investigative procedures. Analysis is defined as "the
procedure by which we break down an intellectual or substantial whole into parts," while synthesis
means "the procedure by which we combine separate elements or components in order to form a
coherent whole."

9
System analysis researchers apply methodology to the systems involved, forming an overall picture.
System analysis is used in every field where something is developed. Analysis can also be a series
of components that perform organic functions together, such as system engineering. It is a process
of collecting and interpreting facts, identifying the problems, and decomposition of a system into its
components. System analysis is conducted for the purpose of studying a system or its parts in order
to identify its objectives. It is a problem solving technique that improves the system and ensures that
all the components of the system work efficiently to accomplish their purpose.

4.2 Existing system

The existing system began with public ratification of the study work plan, and the identification of
transportation issues and public attitudes. Existingtransportation system characteristics were then
reviewed based on available information, plus new data obtained from three major surveys.

4.3 Proposed System

The proposed system should have the following features. The transactions should take place in a
secured format between various clients in the network. It provides flexibility to the user to transfer
the data through the network very easily by compressing the large amount of file. It should also
identify the user and provide the communication according to the prescribed level of security with
transfer of the file requested and run the required process at the server if necessary. In this system
the data will be send through the network as a audio file. The user who received the file will do the
operations like de embedding, decryption, and decompress in their level of hierarchy etc.

10
CHAPTER-5

Modules in Yelp

11
User Account Maintenance:

 Admin

To create Admin Yelp review we checked Admin.yelp.com reputation at lots of sites, including
Siteadvisor and MyWOT. We found that Admin.yelp is safe for children and does not look
fraudulent. We would describe it as legit.

Please be warned that to describe security status of Admin.yelp.com we use data openly available
on the Web, thus we cannot guarantee that no scam sites might have been mistakenly considered
legit and no fraud or PC issues may occur in this regard. But usually the crowdsourced data we have
is pretty accurate.

 Bussiness Owner

Yelp for Business Owners

Free Tools for Your Business

Learn about the free tools available to enhance your Yelp business page.

Your business is on Yelp - now what? Claim your business page and get started with our suite of
free tools to help business owners get the most out of Yelp. If you want to learn more about
showcasing your business online, check out our e-book.

12
 User

You’ll need tosign up with Yelp by creating a user account in order to write reviews, post photos, or
use any of the features beyond searching Yelp.
A user account on Yelp is for personal, non-commercial use of the website, and should not be used
to promote a business, website, event, etc.

Business owners interested in using Yelp should read about business accounts first. However, we do
permit business owners to have personal user accounts, but they cannot be used to promote their
own business, nor should they be reviewing other businesses they engage with as part of their own.

Advertisement module

84 reviews

Targeted local advertising

Yelp Ads puts your business in front of consumers nearby who are looking to make a purchase.
82% of Yelp users visit intending to buy a product or service and 89% of those who buy do so
within a week, according to Nielsen.

Premium placement on search and competitor business pages

Drive Yelp users to your Yelp Business Page with Yelp Ads. Yelp Ads appear in a variety of places
including on relevant search result pages and competitor business pages.

Presence on mobile and desktop devices

Over half of Yelp’s searches come from users on mobile devices. Yelp Ads promote your business
across all Yelp platforms: desktop, mobile website, and mobile app.

Search module

13
While newer search engines at Yelp typically use Elasticsearch as a backend, Yelp’s core business
search used its own custom backend, built directly on top of Lucene. This system was one of the
oldest systems at Yelp to still be deployed in production. Some features of this custom search
engine were

 Distributed Lucene instances


 Master-slave architecture
 Custom text analysis support for various languages
 Custom business ranking which relied mostly on using business features (think business attributes
like reviews, name, hours_open, service_areas, etc.)
 Derived Yelp analytics data to improve quality of search results; e.g. most popular queries for a
business.

Review module

Yelp Reviews PRO Features -

 Nice Design.
 Yelp Latest API V3 Used to develop the widget.
 Can display or hide Business Information like - Country, City, Address, Phone, Zipcode.
 Display up to 3 Reviews from Yelp.
 Fully customizable from backend - 20+ Options available on Module Settings.
 Color Styling Customizable from Joomla Module Backend.
 Display Yelp Business Location Map.

We believe Yelp Reviews PRO is perfect module for displaying yelp business information on your
joomla website. Feel free to contact us along with any suggessions.

14
CHAPTER-6

Feasibility Study

15
Feasibility Study

Prior to stating whether the system we have to develop is feasible or not we believe that we should
emphasize on what is implied by the word “Feasibility”. Feasibility is the measure of how
beneficial or practical the development of the system will be to the organization. It is a preliminary
survey for the systems investigation. It aims to provide information to facilitate a later in-depth
investigation. 
Types
There are various measures of feasibility that helps to decide whether a particular project is feasible
or not. These measures include – 
 Operational Feasibility: A study about the operational aspects of the system.

 Technical Feasibility:A study of function, performance and constraints that may affect the
ability to achieve an acceptable system.

 Economic Feasibility: An evaluation of development cost weighted against the ultimate


income or benefit derived from the developed system.

 Cost Feasibility:Cost can be defined as the approximatejudgement of the costs of the


projects.

Each of these types will be explained in detail throughout the project report

OPERATIONAL FEASIBILITY

A proposed system is beneficial only if it can be turned into an information system that will meet
the operational requirements of an organization. A system often fails if it does not fit within existing
operations and if users resist the change.
Important issues a systems developer must look into are:

16
 Will the new system be used if implemented in an organization?
 Are there any major barriers to implementation or is proposed system accepted without
destructive resistance?
Another important fact to be regarded is the security control, which is handled by the system. Since
data regarding each Customer and the Organization is confidential, security is a key issue.
Information falling into the wrong hands could jeopardize the entire organization. Unlike in semi-
computerized systems
The proposed system offers adequate control to organize our files online and share with the users
and Security of data and information. This is handled by the system providing individuals with
separate login names and passwords.
The new system is user-friendlier, which enables the end-user to complete his/her work efficiently
and accurately with interest. After taking the above fact into consideration we can state the
operating of the proposed system within the organization is feasible.
In this phase of the feasibility study the following two main topics
1. Technical Performance Aspect and
2. Acceptance within the organization
Technical performance aspect is explained in the technical feasibility report and there is no new
information is needed in this to explain it again, but as for the acceptance within the organization
the following points are important and those are explained according to the topics.

TECHNICAL FEASIBILITY
Based on the outline design of the system requirements in terms of inputs, output, Procedures, the
technical issues raised during technical feasibility include: 
 Does the necessary technology exist to do what is proposed?
 Does the proposed equipment have the technical capacity to hold the data required to use ?
 Adequate responses provided by the proposed system?
 Is the system flexible enough to facilitate expansion?
 Is there any technical guarantee of accuracy, reliability, ease of access and data security?

The system developer’s task is to view needed capabilities in light of currently available
technology. Our site works hand in hand with high technology. A database has to be maintained in
order to update and backup data whenever required. To create databases we use SQL server. After
taking the above facts into consideration we can state that the new proposed system is technically
feasible. 

17
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: PHP
 Logic Development: PHP
 Back-End: MS SQL SERVER

ECONOMICAL FEASIBILITY:
In making recommendations a study of the economics of the proposed system should be made.
Even though finding out the costs of the proposed project is difficult we assume and estimate the
costs and benefits as follows. According to the computerized system we propose, the costs can be
broken down in two categories. 
1 Costs associated with the development of the system.
2 Costs associated with operating the system.

COST FEASIBILITY:
Cost estimation can be defined as the approximate judgement of the cost of project. Cost estimation
will never be an exact science because there are too many variables involved in calculation for a
cost estimate , such as human ,technical ,environmental and political. Furthermore any process that
involve a significant human factor can never be exact because humans are far too complex to be
entirely predictable.

18
CHAPTER-7
Software Requirement

19
7. Introduction
A software requirements specification (SRS) is a description of a software system to be developed,
its defined after business requirements specification (CONOPS) also called stakeholder
requirements specification (StRS) other document related is the system requirements specification
(SRS).
The software requirements specification (SRS) lays out functional and non-functional requirements,
and may include a set of use cases that describe user interactions that the software must provide.
Software requirements specification establishes the basis for an agreement between customers and
contractors or suppliers on what the software product is to do as well as what it is not expected to
do.
Software requirements specification permits a rigorous assessment of requirements before design
can begin and reduces later redesign. It should also provide a realistic basis for estimating product
costs, risks, and schedules. Used appropriately, software requirements specifications can help
prevent software project failure.
The software requirements specification document enlists enough and necessary requirements that
are required for the project development.
To derive the requirements, the developer needs to have clear and thorough understanding of the
products to be developed or being developed. This is achieved and refined with detailed and
continuous communications with the project team and customer till the completion of the software.

7.1 Characteristics of SRS :

• Complete
A complete requirements specification must precisely define all the real world situations that will be
encountered and the capability’s responses to them. It must not include situations that will not be
encountered or unnecessary capability features.

• Consistent
System functions and performance level must be compatible and the required quality features
(reliability, safety, security, etc.) must not contradict the utility of the system. For example, the only
aircraft that is totally safe is one that cannot be started, contains no fuel or other liquids, and is
securely tied down.

• Correct

20
The specification must define the desired capability’s real world operational environment, its
interface to that environment and its interaction with that environment. It is the real world aspect of
requirements that is the major source of difficulty in achieving specification correctness.

• Modifiable
Related concerns must be grouped together and unrelated concerns must be separated.
Requirements document must have a logical structure to be modifiable.

• Testable
A requirement specification must be stated in such as manner that one can test it against pass/fail or
quantitative assessment criteria, all derived from the specification itself and/or referenced
information. Requiring that a system must be “easy” to use is subjective and therefore is not
testable.
• Traceable
Each requirement stated within the SRS document must be uniquely identified to achieve
traceability. Uniqueness is facilitated by the use of a consistent and logical scheme for assigning
identification to each specification statement within the requirements document.

• Unambiguous
A statement of a requirement is unambiguous if it can only be interpreted one way. This perhaps, is
the most difficult attribute to achieve using natural language. The use of weak phrases or poor
sentence structure will open the specification statement to misunderstandings.

• Valid
To validate a requirements specification all the project participants, managers, engineers and
customer representatives, must be able to understand, analyze and accept or approve it. This is the
primary reason that most specifications are expressed in natural language.

• Verifiable
In order to be verifiable, requirement specifications at one level of abstraction must be consistent
with those at another level of abstraction.

7.2 Hardware Requirements

• Intel(Processor)
• 2 GB RAM
• 512 MB Cache Memory
• Hard disk 10 GB

7.3 Software Requirements

• Operating system : Windows


• Web-Technology : PHP

21
• Front-End : HTML,CSS,PHP
• Back-End : MYSQL
• Web Server : XAMP SERVER

7.4 Software Development Methodology

Prototyping Model has been used for software development according to which a throwaway
prototype of the proposed system, based on the currently known requirements, is given to the user
so that he has a fair idea about how the proposed system is going to be like. This will help him in
deciding the interface, input and output requirements.
It can be easily adjudged that inputs and outputs are big in number, can increase exponentially and
may create a big chaos if not restricted properly. As the user spends some time on the prototype, he
will become more precise about his own input and output requirements. This prototype will provide
him with an environment analogous to the proposed system’s environment.
Because of object oriented support in PHP, various concepts (like reusability, polymorphism,
isolation etc.) are already there but for the efficient management of system components, Component
based Software Engineering will also be exercised which will help in a resultant library of
components, the benefit of which will be reusability and fast development.
Because of lack of hierarchical structure in object oriented approach, there is no meaning of
Bottom-up or Top-down testing. Testing will begin from the most rudimentary levels of the system
and will move towards higher level components which will be based on design phase rather than
coding phase. In little words, it can be said that ‘CLUSTER Testing’ will be exercised to scrutinize
all the parts and their associative functionality.

7.5 Design

Software design is the process of implementing software solutions to one or more sets of problems.
One of the main components of software design is the software requirements analysis (SRA). SRA
is a part of the software development process that lists specifications used in software engineering.
If the software is "semi-automated" or user centered, software design may involve user experience
design yielding a storyboard to help determine those specifications.

7.5.1 Code Generation


code generation is the process by which a compiler's code generator converts some intermediate
representation of source code into a form (e.g., machine code) that can be readily executed by a
machine. Sophisticated compilers typically perform multiple passes over various intermediate
forms. This multi-stage process is used because many algorithms for code optimization are easier to
apply one at a time, or because the input to one optimization relies on the completed processing
performed by another optimization.

7.5.2 Testing
Testing is the process of evaluating a system or its component(s) with the intent to find whether it
satisfies the specified requirements or not. In simple words, testing is executing a system in order to
identify any gaps, errors, or missing requirements in contrary to the actual requirements. Testing
can be defined as - A process of analyzing a software item to detect the differences between existing

22
and required conditions (that is defects/errors/bugs) and to evaluate the features of the software
item.

7.5.3 Maintenance
Software maintenance is widely accepted part of SDLC now a days. It stands for all the
modifications and updations done after the delivery of software product. There are number of
reasons, why modifications are required, some of them are briefly mentioned below:
• Market Conditions - Policies, which changes over the time, such as taxation and newly
introduced constraints like, how to maintain bookkeeping, may trigger need for modification.
• Client Requirements - Over the time, customer may ask for new features or functions in the
software.
• Host Modifications - If any of the hardware and/or platform (such as operating system) of the
target host changes, software changes are needed to keep adaptability.
• Organization Changes - If there is any business level change at client end, such as reduction of
organization strength, acquiring another company, organization venturing into new business,
need to modify in the original software may arise.

7.5.4 Development process phase

• Project startup
• Requirement analysis
• High level design
• Low level design
• Coding
• System & integration testing
• System acceptance testing
• Release of project
• Project windup
• Software warranty support maintenance
• Review documents prepared in software development
• Product feasibility reviews(PFR)
• Software requirements reviews(SRR)
• Preliminary Design Review(PDR)
• Source Code Review(SCR)
• Acceptance Test Review(ATR)
• Product Release Review(PRR)
• Product Post-Mortem(PPM)

7.6 Software Specification

7.6.1 Front End

PHP
The PHP Hypertext Preprocessor (PHP) is a programming language that allows web developers to
create dynamic content that interacts with databases. PHP is basically used for developing web

23
based software applications. This tutorial helps you to build your base with PHP PHP started out as
a small open source project that evolved as more and more people found out how useful it was.
• PHP is a recursive acronym for "PHP: Hypertext Preprocessor".
• PHP is a server side scripting language that is embedded in HTML. It is used to manage dynamic
content, databases, session tracking, even build entire e-commerce sites.
• It is integrated with a number of popular databases, including MySQL, Postgre SQL, Oracle,
Sybase, Informix, and Microsoft SQL Server.
• PHP is pleasingly zippy in its execution, especially when compiled as an Apache module on the
Unix side. The MySQL server, once started, executes even very complex queries with huge
result sets in record-setting time.
• PHP supports a large number of major protocols such as POP3, IMAP, and LDAP. PHP4 added
support for Java and distributed object architectures (COM and CORBA), making n-tier
development a possibility for the first time.
• PHP is forgiving: PHP language tries to be as forgiving as possible.
• PHP Syntax is C-

Characteristics of PHP

Five important characteristics make PHP's practical nature possible -


• Simplicity
• Efficiency
• Security
• Flexibility
• Familiarity

Features of PHP
The main features of php is it is open source scripting language so you can free download this and
use. PHP is a server site scripting language. It is open source scripting language. It is widely used
all over the world. It is faster than other scripting language.Some important features of php are
given below;

• Simple:-It is very simple and easy to use, compare to other scripting language it is very simple
and easy, this is widely used all over the world.
• Interpreted: It is an interpreted language, i.e. there is no need for compilation.
• Faster : It is faster than other scripting language e.g. asp and jsp.
• Open Source: Open source means you no need to pay for use php, you can free download and
use.
• Platform Independent: PHP code will be run on every platform, Linux, Unix, Mac OS X,
Windows.
• Case Sensitive: PHP is case sensitive scripting language at time of variable declaration. In PHP,
all keywords (e.g. if, else, while, echo, etc.), classes, functions, and user-defined functions are
NOT case-sensitive.
• Web server and client:- A server machine may provide one or more services on the Internet.

24
For example, a server machine might have software running on it that allows it to act as a Web
server, an e-mail server and an FTP server. Clients that come to a server machine do so with a
specific intent, so clients direct their requests to a specific software server running on the overall
server machine. For example, if you are running a Web browser on your machine, it will most
likely want to talk to the Web server on the server machine.

7.6.2 BACK END

1. 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.

2. MY SQL:

1 My SQL is a database system used on the web


2 My SQL is a database system that runs on a server.
3 My SQL is ideal for both small and large applications.
4 My SQL is very fast, reliable, and easy to use.
5 My SQL uses standard SQL.
6 My SQL compiles on a number of platforms.
7 My SQL is free to download and use.
8 My SQL is developed, distributed, and supported by Oracle Corporation.

25
CHAPTER-8

System Design

26
8. System Design
“System Analysis” describes what a system should do to meet the info needs of users while
“System Design” specifies how the system will accomplish this objective. This is most creative and
challenging phase of system life cycle. The term ‘design’ describes a final system and process by
which it is developed. It refers to the technical specifications.
There are two methods for the system design stage in SDLC:
Describing Activities of System Design:
System Design is divided into two activities:
# Logical Design Activity
interface methods and products, database structures, processing & control procedures. Hardware
(machine, media), software (program and procedures) & personnel specifications are also developed
for purpose system. At this point of development we designed our forms, menus and procedures and
decided about hardware (CD-ROM) and other software requirements and put then in work.
It must also specify how such resources will convert data resources (stored in files and database
they design) into info products (displays, responses, reports and documents).
Methods of different products:
It is another way to look at System design and focus on three major products or deliverables that
should result from design stage. In this framework, System Design consists of three activities:

User Interface Design:


The user interface design activity focuses on designing the interactions between users and
computer system. It concentrates input methods and conversion of data and information between
human-readable and machine-readable forms i.e. in Greek Travel Greece.Com(Online Hotel
Reservation System) this step produces detailed specifications for information products such as
display screens, forms, reports, documents and dialog design.

27
Data design:
The data design activity focus on design of logical structure of files and databases to be used by the
proposed system. Data design produces detailed description of:
 Entities (people, place, thing, and event) about which information system needs to maintain
 Information like customers, employees.
 Relationships between these entities i.e. Foreign Keys.
 Data elements (databases, files or records) needed to maintain each entity.
 Integrity rule governing data element.
Process design:
The Program design activity focus on design of software resources that is programs and procedures
needed by proposed system. It concentrates on detailed specifications for the program modules, that
will be purchased as software packages or development by custom programming needed to meet
user interface and data design specification as well as control and performance requirements of
proposed IS.

Data Flow Diagrams

In our DFD, we give names to data flows, processes, and data stores. Although the names are
descriptive of the data, they do not give details. So the following the DFD, our interest is to build
some structured place to keep details of the contents of data flow, processes, and data store. A data
dictionary is a structured repository of data about data. It is a set of rigorous definition of all DFD
data element and data structure

DFD Symbols

1. Function symbol:-

Process

28
A function symbol is representing as circle. This symbol is called a PROCESS or a BUBBLE.
Bubbles are annotated with the names of corresponding Functions. It represents a process that
transforms incoming data flow into the outgoing data flow.

2. External entity Symbol:-

External Entity

An external entity such as a manager, customer etc. is represented by a rectangle. The external
entities are essentially those physical entities external to the software, which interact with the
system by inputting data to the system or by consuming the data produced by the system. In other
words, it defines the source or destination of the system data.

3. Data Flow Symbol:-

An arrow identifies data flow in the motion. A arrow represent the data flow occurring between two
processes, in which direction of the data flow arrow.

4. Data Store Symbol:-

29
An open rectangle is a data store – data at rest, or a temporary repository of data.

ER DIAGRAM

The entity relationship (ER DIAGRAM) data modal is based on the perception of a real world that
consists of collection of the basic objects called ENTITIES & of relationships among these objects.
An entity is a objects in the real world that is distinguishable from other objects

30
 The constructs used in the ER modal can easily be transformed into relational tables.
 This modal can be used by the database designer to communicate the design to the end user.

1. ENTITIES:-
Entities are usually recognizable concepts, either concrete or abstract such as person, places, things
or events, which have relevance to the database

ENTITY

2. RELATIONSHIPS:-
A relationship represents an association among two or more entitles.

Relationship

3. ATTRIBUTE:-
Attribute describe the properties of the entity of which they are associated. A particular instance of
an attribute is a value.

31
Attribute

4. KEY ATTRIBUTE:-
A key attribute is the UNIQUE, distinguishing characteristic of the entity.

Attribute

ER-DIAGRAM

32
Hardware Constraints

Client machine accessing PHP application

Any machine that can access a webpage

Development machine for PHP MySQL application.

Software Constraints

Operating System: Any

Software: WAMP Server, Net Beans Editor

Hardware: 160GB Hard Disk, 4GB RAM

33
CHAPTER-9

CODING

34
9.Coding

9.1 Admin coding

9.1.1 City

<?php

session_start();
include_once '../buslogic.php';
if(isset($_REQUEST["ccod"]))
{
if($_REQUEST["ccod"])
{
if($_REQUEST["mod"]=='D')
{
$obj=new clscty();
$obj->ctycod=$_REQUEST["ccod"];
$obj->delete_rec();
}
}
if($_REQUEST["mod"]='E')
{
if($_SESSION["ccod"]=$_REQUEST["ccod"])
$obj=new clscty();
$obj->ctycod=$_SESSION["ccod"];
$obj->find_rec();
$ctynam=$obj->ctynam;
}

}
if(isset($_POST["btnsave"]))
{
$obj=new clscty();
$obj->ctynam=$_POST["txtcty"];
$obj->save_rec();
}

35
if(isset($_POST["btnupdate"]))
{
$obj=new clscty();
$obj->ctycod=$_SESSION["ccod"];
$obj->ctynam=$_POST["txtcty"];
$obj->update_rec();
unset($_SESSION["ccod"]);

?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Resale_v2 a Classified ads Category Flat Bootstrap Responsive Website Template |
Home :: w3layouts</title>
<link rel="stylesheet" href="../css/bootstrap.min.css"><!-- bootstrap-CSS -->
<link rel="stylesheet" href="../css/bootstrap-select.css"><!-- bootstrap-select-CSS -->
<link href="../css/style.css" rel="stylesheet" type="text/css" media="all" /><!-- style.css ->
<link rel="stylesheet" href="../css/flexslider.css" type="text/css" media="screen" /><!--
flexslider-CSS -->
<link rel="stylesheet" href="../css/font-awesome.min.css" /><!-- fontawesome-CSS -->
<link rel="stylesheet" href="../css/menu_sideslide.css" type="text/css" media="all"><!--
</head>
<body>
<!-- Navigation -->
<div class="agiletopbar">
<div class="wthreenavigation">
<div class="menu-wrap">
<nav class="menu">
<div class="icon-list">
<ahref="../index.php"></i><span>Home</span></a>
<ahref="frmcat.php"><span>categories</span></a>
<ahref="frmser.php"><span>Services</span></a>
<a href="frmcty.php"><span>cities</span></a>
<a href="frmloc.php"><span>locations</span></a>
<a href="frmreg.php"><span>Register Bussiness</span></a>
<a href="Login.php"><span>Login</span></a>
<div class="container">
<div class="agile-its-header">
<div class="logo">
<h1><a href="index.html"><span>Yelp</span>V2</a></h1>
</div>
</div>

36
</header>
<!-- //header -->
<!-- breadcrumbs -->
<div class="w3layouts-breadcrumbs text-center">
<div class="container">
<span class="agile-breadcrumbs"><a href="index.html"><i class="fa fa-home
home_1"></i></a> / <span>Cities</span></span>
</div>
</div>
<!-- //breadcrumbs -->
<!-- Feedback -->
<form method="POST" action="frmcity.php">
<h2 class="w3-head">Cities</h2>
<input type="text" name="txtcty" value="<?php if (isset($ctynam)) echo $ctynam;?>"/>
<?php
if(isset($_SESSION["ccod"]))
{
echo "<input type=submit name=btnupdate value=update /> ";
}
else
{
echo "<input type=submit name=btnsave value=submit />";
}

?>

</form>
<?php
$obj=new clscty();
$arr=$obj->disp_rec();
if(count($arr)>0)
{
echo"<table width=60%>";
echo"<tr><th>city</th></tr>";
For($i=0; $i<count($arr); $i++)
{
echo"<tr><td>".$arr[$i][1]."</td>";
echo"<td><a href=frmcity.php?ccod=".$arr[$i][0]."&mod=E>Edit </a></td>";
echo"<td><a href=frmcity.php?ccod=".$arr[$i][0]."&mod=D>Delete </a></td>
</tr>";
}
}
?>
</body>
</html>

37
38
Category:

<?php
session_start();
include_once '../buslogic.php';
if(isset($_REQUEST["cgcod"]))
{
if($_REQUEST["mod"]=='D')
{
$obj=new clscat();
$obj->catcod=$_REQUEST["cgcod"];
$obj->delete_rec();
}

if($_REQUEST["mod"]='E')
{
if($_SESSION["cgcod"]=$_REQUEST["cgcod"])
$obj=new clscat();
$obj->catcod=$_SESSION["cgcod"];
$obj->find_rec();
$catnam=$obj->catnam;
}
}

if(isset($_POST["btnsave"]))
{
$obj=new clscat();
$obj->catnam=$_POST["txtcat"];
$obj->save_rec();
}
if(isset($_POST["btnupdate"]))
{
$obj=new clscat();
$obj->catcod=$_SESSION["cgcod"];
$obj->catnam=$_POST["txtcat"];
$obj->update_rec();
unset($_SESSION["cgcod"]);

39
?>
<head>
<title>Resale_v2 a Classified ads Category Flat Bootstrap Responsive Website Template |
Home :: w3layouts</title>
<link rel="stylesheet" href="../css/bootstrap.min.css"><!-- bootstrap-CSS -->
<link rel="stylesheet" href="../css/bootstrap-select.css"><!-- bootstrap-select-CSS -->
<link href="../css/style.css" rel="stylesheet" type="text/css" media="all" /><!-- style.css -->
<link rel="stylesheet" href="../css/flexslider.css" type="text/css" media="screen" />
<!-- flexslider-CSS -->
<link rel="stylesheet" href="../css/font-awesome.min.css" /><!-- fontawesome-CSS -->
<link rel="stylesheet" href="../css/menu_sideslide.css" type="text/css" media="all">
<!-- Navigation-CSS -->
<!-- Navigation -->
<div class="agiletopbar">
<div class="wthreenavigation">
<div class="menu-wrap">
<nav class="menu">
<div class="icon-list">
<a href="../index.php"></i><span>Home</span></a>
<a href="frmcat.php"><span>categories</span></a>
<a href="frmser.php"><span>Services</span></a>
<a href="frmcty.php"><span>cities</span></a>
<a href="frmloc.php"><span>locations</span></a>
<ahref="frmreg.php"><span>RegisterBussiness</span></a>
<a href="Login.php"><span>Login</span></a>
</div>
<div class="container">
<div class="agile-its-header">
<div class="logo">
<h1><a href="index.html"><span>Yelp</span>V2</a></h1>
</div>
</div>
</header>
<!-- //header -->
<!-- breadcrumbs -->
<div class="w3layouts-breadcrumbs text-center">
<div class="container">
<spanclass="agile-breadcrumbs"><ahref="index.html"></i></a>
<span>categories</span></span>
</div>
</div>
<!-- //breadcrumbs -->
<!-- Feedback -->
<form method="POST" action="frmcat.php">
<h2 class="w3-head">Categories</h2>
<input type="text" name="txtcat" value="<?php if (isset($catnam)) echo $catnam;?>"/>

40
<?php
if(isset($_SESSION["cgcod"]))
{
echo "<input type=submit name=btnupdate value=update /> ";
}
else
{
echo "<input type=submit name=btnsave value=submit />";
}
?>
</form>
<?php
$obj=new clscat();
$arr=$obj->disp_rec();
if(count($arr)>0)
{
echo"<table width=60%>";
echo"<tr><th>categories</th></tr>";
For($i=0; $i<count($arr); $i++)
{
echo"<tr><td>".$arr[$i][1]."</td>";
echo"<td><a href=frmcat.php?cgcod=".$arr[$i][0]."&mod=E>Edit </a></td>";
echo"<td><a href=frmcat.php?cgcod=".$arr[$i][0]."&mod=D>Delete </a></td></tr>";
}
}
?>
</body>
</html>

41
Category Services:

<?php
session_start();
include_once '../buslogic.php';
if(isset($_REQUEST["ccod"]))
{
$_SESSION["ccod"]=$_REQUEST["ccod"];
}
if(isset($_REQUEST["scod"]))
{
$_SESSION["scod"]=$_REQUEST["scod"];
}
if(isset($_POST["btnsub"]))
{
$obj=new clscatser();
$obj->catsercatcod=$_POST["drpcty"];
$obj->catsernam=$_POST["txtcatser"];
$obj->save_rec();
}
if(isset($_REQUEST ["scod"])&& isset($_REQUEST["mod"]))
{
if($_REQUEST ["mod"]=='D')
{
$obj=new clscatser();
$obj->catsercod=$_REQUEST["scod"];
$obj->delete_rec();
}
if($_REQUEST ["mod"]=='E')
{
$_SESSION["scod"]=$_REQUEST["scod"];
$obj=new clscatser();
$obj->catsercod=$_SESSION["scod"];
$obj->find_rec();
$ctynam=$obj->catsernam;
}
}
if(isset($_POST["btnupd"]))
{
$obj=new clscatser();
$obj->catsercod=$_SESSION["scod"];
$obj->catsernam=$_POST["txtcatser"];
$obj->catsercatcod=$_POST["drpcty"];

42
$obj->update_rec();
unset($_SESSION["ccod"]);
}
}?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Resale_v2 </title>
<link rel="stylesheet" href="../css/bootstrap.min.css"><!-- bootstrap-CSS -->
<link rel="stylesheet" href="../css/bootstrap-select.css"><!-- bootstrap-select-CSS -->
<link href="../css/style.css" rel="stylesheet" type="text/css" media="all" /><!-- style.css -->
<link rel="stylesheet" href="../css/flexslider.css" type="text/css" media="screen" />
<!-- flexslider-CSS -->
<link rel="stylesheet" href="../css/font-awesome.min.css" /><!-- fontawesome-CSS -->
<link rel="stylesheet" href="../css/menu_sideslide.css" type="text/css" media="all">
<script language="javascript">
function abc(a)
{
window.location="frmcatser.php?ccod="+a;
}
</script>
</head>
<body onload="intialize();">
<!-- Navigation -->
<div class="agiletopbar">
<div class="wthreenavigation">
<div class="menu-wrap">
<nav class="menu">
<div class="icon-list">
<a href="index.html"></i><span>Home</span></a>
<a href=""><span>Restaurants</span></a>
<a href="contact.html"><span>Contact</span></a>
<a href="signup.html"><span>Sign up</span></a>
<a href="signin.html"><span>Sign in</span></a>
<a href="feedback.html"><span>Feedback</span></a>
<a href="terms.html"><span>Terms & Conditions</span></a>
<a href="faq.html"><span>FAQ's</span></a>
</div>
</div>
</div>
</div>
</li>
<div class="container">
<div class="agile-its-header">
<div class="logo">
<h1><a href="index.html"><span>Yelp</span>V2</a></h1>

43
</div>
<!-- //breadcrumbs -->
<!-- Feedback -->
<div class="feedback main-grid-border">
<div class="container">
<h2 class="w3-head">Category Service</h2>
<div class="feed-back">
<h3>Add Category service for easy searching of business</h3>
</div>
<div class="container">
<br>
<div class="feed-back-form">
<form method="post" action="frmcatser.php" method="post">
<select name="drpcty" class="form-control" onchange="abc(this.value);">
<option value="0"/> Select Category
<?php
$obj=new clscat();
$arr=$obj->disp_rec();
for($i=0;$i<count($arr
{
if(isset($_SESSION["ccod"])&& $_SESSION["ccod"]==$arr[$i][0])
{
echo"<option value=".$arr[$i][0]." selected />".$arr[$i][1];
}
else
{
echo"<option value=".$arr[$i][0]." />".$arr[$i][1];
}
}
?>
</select>
<input type="text" name="txtcatser" class="form-control" placeholder="Service Name"
value="<?php if(isset($ctynam)) echo $ctynam; ?>" />
<?php
if(isset($_SESSION["scod"]))
echo "<input type=submit value=update name=btnupd />";
else
echo "<input type=submit value=submit name=btnsub />";
?>
<input type="submit" value="cancel" name="btncancel"/>
</form>
<?php
if(isset($_SESSION["ccod"]))
{
$obj=new clscatser();
$arr=$obj->disp_rec($_SESSION["ccod"]);

44
if(count($arr)>0)
echo"<table border=5 width=60%>";
echo"<tr><th>Service Name</th><th></th><th></th></tr>";
for($i=0;$i<count($arr);$i++)
{
echo"<tr><td>".$arr[$i][1]."</td>";
echo"<td><a href=frmcatser.php?scod=".$arr[$i][0]."&mod=E>Edit</a>";
echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
echo"<td><a href=frmcatser.php?scod=".$arr[$i][0]."&mod=D>Delete</a></td></tr>";
}
echo'</table>';
}}
?>
</div>
</div>
</div>
</body>
</html>

45
Location:
<?php
session_start();
include_once '../buslogic.php';
if (isset($_REQUEST["ccod"]))
{
$_SESSION["ccod"]=$_REQUEST["ccod"];
}
if(isset($_POST["btnsub"]))
{
$obj=new clsloc();
$obj->locctycod=$_POST["drpcty"];
$obj->locnam=$_POST["txtloc"];
$obj->loccrd=$_POST["hid1"];
$r=$obj->save_Rec();
}
?>
<!--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>

<html lang="en">
<head>
<title>Resale_v2 a Classified ads Category Flat Bootstrap Responsive Website Template |
Home :: w3layouts</title>
<link rel="stylesheet" href="../css/bootstrap.min.css"><!-- bootstrap-CSS -->
<link rel="stylesheet" href="../css/bootstrap-select.css"><!-- bootstrap-select-CSS -->
<link href="../css/style.css" rel="stylesheet" type="text/css" media="all" /><!-- style.css -->
<link rel="stylesheet" href="../css/flexslider.css" type="text/css" media="screen" /><!--
flexslider-CSS -->
<link rel="stylesheet" href="../css/font-awesome.min.css" /><!-- fontawesome-CSS -->
<link rel="stylesheet" href="../css/menu_sideslide.css" type="text/css" media="all">
<!--fonts-->
<!-- <link href='//fonts.googleapis.com/css?family=Ubuntu+Condensed' rel='stylesheet'
type='text/css'>
<link
<script language="javascript">
function initialize()

46
{
var mapOptions={
center:{lat:30.900,lng:76.7800},
zoom: 8
};

// Create a map object and specify the DOM element for display.
var map = new google.maps.Map(document.getElementById('map'),mapOptions);
google.maps.event.addListener(map,'click',getLangLong);
}
function getLangLong(e)
{
document.getElementById('txtcrd').value=e.latLng;
document.getElementById('hid1').value=e.latLng;

}
function abc(a)
{
window.location="frmloc.php?ccod="+a;
}
</script>
</head>
<body onload="initialize();">
<!-- Navigation -->
<div class="agiletopbar">
<div class="wthreenavigation">
<div class="menu-wrap">
<nav class="menu">
<div class="icon-list">
<a href="../index.php"></i><span>Home</span></a>
<a href="frmcat.php"><span>categories</span></a>
<a href="frmser.php"><span>Services</span></a>
<a href="frmcty.php"><span>cities</span></a>
<a href="frmloc.php"><span>locations</span></a>
<a href="frmreg.php"><span>Register Bussiness</span></a>
<a href="Login.php"><span>Login</span></a>
</div>
</nav>

<!-- Large modal -->


<div class="agile-its-selectregion">
<button class="btn btn-primary" data-toggle="modal" data-target="#myModal">
<i class="fa fa-globe" aria-hidden="true"></i>Location</button>
<div class="modal-dialog modal-lg">
<div class="modal-content">

47
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Please Choose Your Location</h4>
</div>
</div>
</div>
</div>
</div>
</div>
</li>
</ul>
</div>

<!-- //header -->


<!-- breadcrumbs -->
<div class="w3layouts-breadcrumbs text-center">
<div class="container">
<span class="agile-breadcrumbs"><a href="index.html">
<i class="fahomehome_1"></i></a> / <span>Cities</span></span>
</div>
</div>
<!-- //breadcrumbs -->
<!-- Feedback -->
<div class="feedback main-grid-border">
<div class="container">
<h2 class="w3-head">Locations</h2>
<div class="feed-back">
<h3>enter Locations to start your business</h3>
<div id="map" style="height:250px;width:950px">
</div>
<form method="POST" action="frmloc.php">
<select name="drpcty" class="form-control" onchange="abc(this.value);">
<option value="0"/>Select City
<?php
$obj=new clscty();
$arr=$obj->Disp_Rec();
// print_r($arr);
for ($i=0;$i<count($arr);$i++)
{
if(isset($_SESSION["ccod"])&& $_SESSION["ccod"]==$arr[$i][0])
{
echo "<option value=".$arr[$i][0]." Selected />".$arr[$i][1];
}
else
{
echo "<option value=".$arr[$i][0]." />".$arr[$i][1];
}

48
}
?>

</select>
<input type="text" name="txtloc" class="form-control"placeholder="Location"/>
<input type="text" id="txtcrd"type="text" name="txtcrd"disabled="true"
class="form-control"placeholder="Coordinates"/>
<input type="hidden" id="hid1" name="hid1" />
<input type="submit" name="btnsub" value="submit" class="form-control"/>
</form>
<div class="feed-back-form">
<hr>
</div>
</div>
</div>
</div>
</body>
</html>

CHAPTER-10

Output Screen

49
10.Screenshots

10.1 Index Page:Choose category and subcategory for user

Signup Page:sign up move admin,user or business

50
ADMIN

CITY: It’s a city page which is used to search city name were business is going to be started.

51
CATEGORY: It’s a category page which includes different categories of business from which
business can be selected.

CATEGORY SERVICES: It’s a service page which includes what types of services are being
provided by category of business selected.

52
LOCATION:It’s a location page which includes coordinates to represent the location while
searching the business.

53
REGISTER BUSSINESS: It’s a register business page which includes business details including
business location and title for user register business.

10.2 BUSINESS

Register business sign up with business email

54
After login manage profile

Offer set by business

55
10.3 USER

56
LOGIN; It’s a login page in which User first register the business and after that user are able to
signin through the given email and password register.

57
PROFILE: It’s a profile page where user can sets his own profile after selecting pictures and
sets as a main picture.

OFFERS: It’s a offer’s page which includes various offer for user .It includes all the offer
details offered by business.

PICTURES: It’s a picture page in which main picture to be displayed when user first login.

58
10.3 DATABASE STRUCTURE:

59
Fig:10.3.1 Tables used for admin and user.

Fig:10.3.2Columns for Table for tbbus.

60
Fig:10.3.3 Columns used for Table tbbuspic.

Fig:10.3.4 Columns used for Table tbbusser.

61
Fig:10.3.5 Columns used for Table tbcat.

Fig:10.3.6 Columns used for Table tbcatser.

62
Fig:10.3.7 Columns used for Table tbcty.

Fig:10.3.8 Columns used for Table tboff.

Fig:10.3.9 Columns used for Table tbusr.

63
Fig:10.3.10 DATABASE FOR dbyelp

64
Fig:10.3.9 Class used for dbyelp.

Fig:10.3.9 Store procedure used for insert.

65
Fig:10.3.9 Store procedure used for update.

Fig:10.3.10 Store procedure used for find.

66
Fig:10.3.11 Store procedure used for display.

67
Fig:10.3.12 Store procedure used for delete.

68
CHAPTER-11

Implementation

69
11.Implementation

11.1 Technological Environment

Technologies Used:
HTML stands for Hypertext Markup Language, and it is the most widely used language to write
Web Pages.
• Hypertext refers to the way in which Web pages (HTML documents) are linked together.
the link available on a webpage is called Hypertext.
• As its name suggests, HTML is a Markup Language which means you use HTML to simply
"mark-up" a text document with tags that tell a Web browser how to structure it to display.
Originally, HTML was developed with the intent of defining the structure of documents like
headings, paragraphs, lists, and so forth to facilitate the sharing of scientific information between
researchers. Now, HTML is being widely used to format web pages with the help of different tags
available in HTML language.

HTML Tags:

HTML is a markup language and makes use of various tags to format the content. These tags are
enclosed within angle braces <Tag Name>. Except few tags, most of the tags have their
corresponding closing tags. For example, <html> has its closing tag </html> and <body> tag has its
closing tag </body> tag etc.
To learn HTML, you will need to study various tags and understand how they behave, while
formatting a textual document. Learning HTML is simple as users have to learn the usage of
different tags in order to format the text or images to make a beautiful webpage.

Cascading Style Sheets (CSS) :

Cascading Style Sheets, fondly referred to as CSS, is a simple design language intended to
simplify the process of making web pages presentable.
CSS handles the look and feel part of a web page. Using CSS, you can control the color of the text,
the style of fonts, the spacing between paragraphs, how columns are sized and laid out, what
background images or colors are used, layout designs, variations in display for different devices and
screen sizes as well as a variety of other effects. CSS is easy to learn and understand but it provides
powerful control over the presentation of an HTML document. Most commonly, CSS is combined
with the markup languages HTML or XHTML.
CSS Versions
• Cascading Style Sheets, level 1 (CSS1) was came out of W3C as a recommendation in December
1996. This version describes the CSS language as well as a simple visual formatting model for
all the HTML tags.
• CSS2 was became a W3C recommendation in May 1998 and builds on CSS1. This version adds

70
support for media-specific style sheets e.g. printers and aural devices, downloadable fonts,
element positioning and tables.
• CSS3 was became a W3C recommendation in June 1999 and builds on older versions CSS. it has
divided into documentations is called as Modules and here each module having new extension
features defined in CSS2.

MYSQL:

My SQL is the most popular Open Source Relational SQL Database Management System. My SQL
is one of the best RDBMS being used for developing various web-based software applications. My
SQL is developed, marketed and supported by My SQL AB, which is a Swedish company. This
tutorial will give you a quick start to My SQL and make you comfortable with My SQL
programming.
• My SQL is released under an open-source license. So you have nothing to pay to use it.
• My SQL is a very powerful program in its own right. It handles a large subset of the
functionality of the most expensive and powerful database packages.
• My SQL uses a standard form of the well-known SQL data language.
• My SQL works on many operating systems and with many languages including PHP, PERL, C,
C++, JAVA, etc.
• My SQL works very quickly and works well even with large data sets.
• My SQL is very friendly to PHP, the most appreciated language for web development.

Features of MYSQL:

• Cross-platform support
• Stored procedures, using a procedural language that closely adheres to SQL/PSM
• Triggers
• Cursors
• Updatable views
• Online DDL when using the InnoDB Storage Engine.
• Information schema
• Performance Schema that collects and aggregates statistics about server execution and query
performance for monitoring purposes.
• A set of SQL Mode options to control runtime behavior, including a strict mode to better adhere
to SQL standards.
• X/Open XA distributed transaction processing (DTP) support; two phase commit as part of this,
using the default InnoDB storage engine
• Transactions with savepoints when using the default InnoDB Storage Engine. The NDB Cluster
Storage Engine also supports transactions.
• ACID compliance when using InnoDB and NDB Cluster Storage Engines
• SSL support
• Query caching
• Sub-SELECTs (i.e. nested SELECTs)
• Built-in replication support with one master per slave, many slaves per master. Multi-master
replication is provided in MySQL Cluster, and multi-master support can be added to unclustered
configurations using Galera Cluster.

71
• Full-text indexing and searching
• Embedded database library
• Unicode support]
• Partitioned tables with pruning of partitions in optimizer
• Shared-nothing clustering through MySQL Cluster
• Multiple storage engines, allowing one to choose the one that is most effective for each table in
the application.

Connectivity:

• Clients can connect using TC/IP sockets on any platform.


• On window system in the NT family (NT,2000,XP,2003,or Vista), client can connect using
named pipes if the server is started with the enable-named-piped option. In MYSQL 4.1 and
higher, Windows servers also support shared-memory connections if started with the –shared-
memory option. Clients can connect through shared memory by using the protocol=memory
option.
• On UNIX system, clients can connect using UNIX domain socket files.

Localization:

• The server can provide error messages to clients in many languages.


• All data is saved in the chosen character set.

Client and Tools:

• MYSQL includes several client and utility program. These include both command-line program
such as mysqladmin, and mysqladmin , graphical programs such as MYSQL Workbench.
• MYSQL Server has built-in support for SQL statement to check, optimize, and repair tables.
These statements are available from the command line through the mysqlcheck Client. MYSQL
also includes myisamchk, a very fast command-line utility for performing these operations on
MYISAM tables.
• MYSQL program can be invoked with the help or –? Option to obtain online assistance.

72
CHAPTER-12

System Testing

73
12.TESTING

The basic goal of the software development process is to produce software that as no errors or very
few errors. In an effort to detect errors soon after they are introduced, each phase ends with
verification activity such as a review.
As testing is the last phase before the final software is delivered, it has the enormous responsibility
of detecting any type of error that may in the software. Software typically undergoes changes even
after it has been delivered. And to validate that a change has not affected some old functionality of
software regression testing is performed.

Levels of Testing:

The basic levels of testing are unit testing, integration testing and system and acceptance testing.
These different levels of testing attempt to detect different types of faults.
Client Needs:- Acceptance Testing
Requirements:- System Testing
Design:- Integration Testing
Code:- Unit Testing

1. Acceptance Testing:

Acceptance was performed in the real environment with realistic data of the client to demonstrate if
the software developed is working satisfactorily. Here the main focus was on the external behavior
of the system; the internal logic of the program was not emphasized.

2.System Testing:

System testing is performed on the entire system in the context of a Functional Requirement
Specification(s) (FRS) and/or a System Requirement Specification (SRS). System testing tests not
only the design, but also the behaviour and even the believed expectations of the customer. It is also
intended to test up to and beyond the bounds defined in the software/hardware requirements
specification(s).

3.Unit Testing:

During the phase of unit testing different constituent modules were testing against the
specifications produced during the design for the modules. Unit testing is essentially for the
verification of the code produced during the coding the phase, and goal is to test the internal logic of
the modules. The modules once tested were then considered for integration and use by others.

4. Integration Testing:

74
The next level testing that was performed is often referred to as integration testing. During this
phase many unit tested modules were combined into subsystems, which were then tested. The goal
here was to see if modules can be integrated properly. Here the emphasis was on testing interfaces
between different constituent modules of system.

5. System Testing:

System testing is the process of executing software in a controlled manner, in order to answer the
questions "Does the software behave as specified system testing is often used in association with the
terms verification and validation .Verification is the checking of items, including software, for
conformance and consistency with an associated specification. Software testing is just one kind of
verification, which also uses techniques such as reviews, analysis, inspections and walkthroughs.
Validation is the process of checking that what has been specified is what the user actually wanted.
The test strategies will include different types of testing as describes below:

6.Logical Testing:

This will be used to test every aspect of both modes, report and query as soon as it is
implemented, using valid, invalid and extreme data test data will be added to test each code module
and results compared with the expected results. Sufficient data will be added to ensure that there is
at least one entry in each category. Subsequent tests will often involved adding new data, which will
be deleted when the test works satisfactorily. As per our requirement we have also included some
field such as character size etc and then queries were performed after that results were tabulated and
then the module were free from extra field.

7. Functional Testing:

In this menu items were tested to ensure no functions has been missed out. This is done for the
smooth working of the project.

8. System Testing:

This is done after the completion of system; all the queries were carried out again to ensure that no
errors have been introduced.

75
CHAPTER-13

System Security

76
13.Security

Introduction

The protection of computer based resources that includes hardware , software , data , procedure and
people against unauthorized use or natural.

Disaster is known as System Security.

System Security can be divided into four related issues.

 Security
 Integrity
 Privacy
 Confidentiality

System security refers to the technical innovations and procedures applied to the hardware and
operation system to protect deliberate or accidental damage from a defined threat.

Data Security is the protection of data from loss, disclosure, modification, and destruction.

System Integrity refers to the power functioning of hardware and programs appropriate physical
security and safety against external threats such s eavesdropping and wiretapping.

Privacy defines the rights of the user or organizations to determine what information they are
willing to share with or accept from others and how the organization can be protected against
unwelcome , unfair or excessive dissemination of information about it.

Confidentiality is a special status given to sensitive information in a database to minimize the


possible invasion of privacy. It is an attribute of information that characterizes its need for
protection.

12.1 Security in software

System security refers to the various validations on data in form of checks and controls to avoid
application from failing. It is always important to ensure that only valid data is entered and only
valid operations are performed on the system. The System employees two types of checks and
controls.

77
CHAPTER-14

Future Enhancement

78
14.Enhancement

Future Enhancements

 The system being standalone and reliable ,needs to be thoroughly tested to find out many
security apps.
 This system could be extended towards the web server in order to make easy availability.
Moreover it is just a beginning ;further the system may be utilized in various other types of

79
REFERENCES

15.1 BOOKS

1.Learning PHP(WROX Publisher)


2.Lerdorf, Rasmus(2007-04-26)
3.Jackson , Joab (2014-07-31). “PHP gets a formal specification , at last” ITworld.IDG.
4.David Flanagan , java in a Nutshell , second Edition ,O’Reilly,1996.
5.Kerner, Sean Michael (2008-02-01). “PHP 4 is Dead-Long Live PHP 5”
Retrieved 2008-03-16

15.2 ONLINE REFERENCE

 www.createfreewebsite.net/phpmysql1.introduction.html
 www.bogotobogo.com
 www.tizag.com/phpT/

80

You might also like