Project Report
Project Report
INTRODUCTION
1.1 Description
The Wedding Industry is a multi-million pound sector with thousands of pounds being
spent on each wedding. With the wedding couple spending so much money on
making the ’big day’ perfect and memorable, they are becoming more willing to pass the
responsibility of oganizing a wedding into the hands of a professional.
Wedding organizer are given the task of generating ideas and guiding the planning of a
wedding so thatcouples can have a less stressful build up to their big day.
To develop a wedding management system where the user can add and manage services
and service providers and also client can register his/her wedding with the type of
services they want to have on their wedding.
1.3 Objective
The objective of this project is to explore how a wedding day and its preparations can be
segmented into events and tasks and to design a technique which sequences these events
so that given constraints are satisfied.
1.4 Scope
1.5 SQL
1
h
SQL (Structured Query Language) is the language which is used to communicate to our
database. It’s used on the back-end of website to provide access to user data. A web
framework is used to display SQL data on web page and write simple SQL query to
link a website to a database.
1.6 PHP
PHP is a server-side scripting language that is used in this project to create dynamic web
pages that can interact with database. PHP is used in the back-end development of the
website. PHP can be used to accessand modify data held on a database. PHP can be used
to create dynamic content. PHP can be used to create members-only areas o n your
website and manage authentication.
1.7 HTML5
HTML (Hyper Text Markup Language) is used to create the physical structure of the
website. It provides necessary tags for setting up a foundation for the website to be
created. It is assisted by CSS in the designing section.Web browsers receive HTML
documents from a web server or from local storage and render the documents into
multimedia web pages. HTML describes the structure of a web page semantically
and originally included cues for the appearance of the document. HTML can embed
programs written in a scripting language such as JavaScript, which affects the behavior
and content of web pages.
1.8 CSS3
CSS (Cascading Style Sheets) is used to design the web page that is created through
HTML. CSS isused here to style the web pages. It describes the look and formatting of a
document which is written in markup language. CSS is designed to enable the
separation of presentation and content, including layout, colors, and fonts.[3] This
separation can improve content accessibility; provide more flexibility and control in the
specification of presentation characteristics; enable multiple web pages to share
formatting by specifying the relevant CSS in a separate .css file, which reduces
complexity and repetition in the structural content; and enable the .css file to be cached to
improve the page load speed between the pages that share the file and its formatting.
1.9 XAMPP
2
h
XAMPP is an abbreviation where X stands for Cross-Platform, A stands for Apache, M
stands for MySQL,and the Ps stand for PHP and Perl, respectively. It is an open-source
package of web solutions that includes Apache distribution for many servers and
command-line executables along with modules such as Apache server, MariaDB, PHP,
and Perl. XAMPP helps a local host or server to test its website and clients via computers
and laptops before releasing it to the main server. It is a platform that furnishes a suitable
environment to test and verify the working of projects based on Apache, Perl, MySQL
database, and PHP through the system of the host itself. Among these technologies, Perl
is a programming language used for webdevelopment, PHP is a backend scripting
language, and MariaDB is the most vividly used database developedby MySQL.
1.10 JavaScript
JavaScript is a very powerful client-side scripting language. JavaScript is used mainly for
enhancing theinteraction of a user with the webpage. In other words, you can make your
webpage livelier and more interactive, with the help of JavaScript. JavaScript is also
being used widely in game development and Mobile application development.
1.11 Bootstrap
3
h
CHAPTER 2
These are statements of services the system should provide, how the system should react
to particular inputs and how the system should behave in particular situations. In some
cases, the functional requirements may also explicitly state what the system should not do.
The functional requirements for a system describe what the system should do. These
requirements depend on the type of software being developed, the expected users of the
software and the general approach taken by the organization when writing requirements.
When expressed as user requirements, the requirements are usually described in an
abstract way. However, functional system requirements describe the system function in
detail, its inputs and outputs, exceptions, and so on. Functional requirements for a
software system may be expressed in anumber of ways. The main users of this system
are two types:
1 Users : The person who register for the marriage through the system.
2.1.1 Users
The user can login to the system and register for the wedding. User are also provided with
the feature of selecting the services they required for their wedding. The users can check
the registration details in the profile section. Further user can cancel the wedding at any
time.
2.1.2 Admin
Admin is main user of the system, he can add services, manage services , can keep track
on registrations. Admin has highest level of authority in the system. Admin can
modify the look and appearance of the system’s interface. This includes changing the
4
h
display of contents and colour of the interface.
Reliability
* The system could produce required result in terms of the wedding booking done.
* It provides all the services along with expenditure if time and effort.
Consistency
* The system can generate a list of wedding registrations done in quick manner and
without error.
* There’s no case of redundancy in the database, so it will be not take any extra memory
space.Scalability
* The system should be able to handle an increasing number of users and registartions as
thebusiness grows.
Performance
* Better component design to get better performance at peak time.
* The database used is robust, reliable and fast. So user will not have to wait long time for
output.
Security
* Secure access to confidential data by username and password provided by the user.
Hardware requirements
6
h
CHAPTER 3
SYSTEM DESIGN
System Design process partitions the system into subsystems based on the requirements.
It establishes overall system architecture and is concerned with identifying various
components, specifying relationships among components, specifying software structure,
maintaining a record of design decisions and providing a blue print for the
implementation phase. Design consists of architecture design and detailed design is
concerned with thedetails of how to package processing modules and how to implement
the processing algorithms, data structures and interconnections among modules and data
structures.
3.1 ER-DIAGRAM
7
h
Figure 3.1 ER Diagram of Wedding Management System.
In the Figure 3.1, Entity-Relation diagram for Wedding Management System, consider
the user entity has seven attributes that are uid, name, uname, email, adds, pno and psw
where name is primary key. It has 1: 1 relationship with registration entity and also 1:N
relationship with venue,catering,music,decoration,theme,photoshop. registration entity
has twelve attributes, that are reg_id, name, dname, dlname, date, pno, vid, did, cid, mid,
pid and tid. It has 1: 1 relationship with user.catering entity has cid, name, price, descr as
attributes where cid is primary key it has 1: 1 relationship with user.decoration entity has
did, name, price, descr as attributes where did is primary key it has 1: 1 relationship with
user. venue entity has vid, name, price, descr as attributes where vid is primary key it has
1:1 relationship with user.music entity has mid, name, price, descr as attributes where mid
is primary key it has 1: 1 relationship with user.photoshop entity has pid, name, price,
descr as attributes where pid is primary key it has 1: 1 relationship with user. theme
entity has tid, name, price, descr as attributes where tid is primary key it has 1: 1
relationship with user.transportation entity has tpid, name, price, descr as attributes
8
h
where tpid is primary key it has 1: 1 relationship with user. makeup entity has mkid,
name, price, descr as attributes where mkid is primary key it has 1: 1 relationship with
user. lighting entity has ldid, name, price, descr as attributes where ldid is primary key it
has 1: 1 relationship with user admin entity which has three attributes that are aid, name,
psw.
A schema diagram is a diagram which contains entities and the attributes that will define
that schema. A schema diagram only shows us the database design. It does not show the
actual data of the database. Schema can be a single table or it can have more than
one table which is related.
This schema design elucidates about the relationship each table is having with others. It
also says about how the primary key and foreign key constraints are used in order to
provide relationship between the tables. Allthe tables have been normalized.
9
h
CHAPTER 4
IMPLEMENTATION
10
h
items.HTML elements are delineated by tags, written using angle brackets. Browsers do
not display the HTML tags, but use them to interrupt the content of the page
Code Snippets:
These are few codes written in PHP that includes a database access to fetch, update or
delete the data stored and display these data in the website where required. We have also
ensured to make sure the backend implementation is free from SQL injection attacks by
escaping the query values.
<?php
$con=mysqli_connect('localhost','
roo
t','','wedding');session_start(
The above code snippet in Figure 4.1.1 is used for connecting purpose. This is used to
connect back end and front end. If the connection fails then a message occurs saying
connection failed. This connection establishment is required for storing the details entered
by the users in the HTML form to the database .
$_SESSION['uid']=mysqli_insert_id($con);
<?php $_SESSION['uname']=$name;
$_SESSION['urname']=$uname;
if (isset($_POST['signup'])) {
header('location:login.php');
}
$name=$_POST['name'];
}
}else{
$uname=$_POST['uname'];
echo "<h2>Password not matched</h2>";
$email=$_POST['email'];
}
}
$pno=$_POST['pno'];
Figure 4.1.2 Code Snippet of user registration module
$add=$_POST['add'];
The above code snippet in Figure 4.1.2 is used for user Registration purpose. This is used
$psw=$_POST['psw'];
to store the values
$repsw=$_POST['repsw'
inserted
]; ifby user into the User information table of database. If user already exists in table,
($psw==$repsw)
it returns
{
appropriate message saying USERNAME ALREADY EXIST PLEASE
ENTER VALID USERNAME.
$sql="SELECT * FROM u_info WHERE uname='$uname'";
<?php $run=mysqli_query($con,$sql);
if (isset($_POST['login'])) {
if(mysqli_num_rows($run)>0){
$name=$_POST['name'];
echo "<h2>USERNAME ALREADY EXIST PLEASE ENTER
VALID USERNAME</h2>";
$psw=$_POST['psw'];
11
h }
$sql="SELECT * FROM u_info WHERE uname='$name'AND
psw='$psw'";
else{
$run=mysqli_query($con,$sql);
$sql="INSERT INTO `u_info` (`uid`, `name`, `uname`,
Figure 4.1.3 Code Snippet of user login module
The above code snippet in Figure 4.1.3 is used for User Login purpose. This is used to
check the username and password inserted by user with the Users table of database. If
username and password inserted by user isin the table, it refreshes and remains there only.
if (isset($_POST['submit'])) {
$name=$_POST['name'];
$dname=$_POST['dname'];
$dlname=$_POST['dlname'];
$date=$_POST['date'];
$pno=$_POST['pno'];
$run=mysqli
query($con,
$ sql); if
(mysqli_num
rows($run)>
) {
}else{
$run=mysqli
_query($con
,$sql);if
($run) {
header('location:../venue.php');
12
h
}
?>
The above code snippet in Figure 4.1.4 is used for wedding Registration purpose. This is
used to store the values inserted by user into the registration table of database. If
registration is already exists in table, it returns appropriate message saying Already
registered please check dashboard .
if (isset($_POST['delete'])) {
$rid=$_POST['rid'];
$sql="DELETE FROM registration WHERE reg_id='$rid'";
$run=mysqli_query($con,
$sql); if ($run) {
echo "Cancled registration";
}
CHAPTER 5
TESTING
A Test Case is a software testing document, which consists of events, action, input, output,
expected result and actual result. Technically a test case includes test description,
procedure, expected result and remarks. Test cases should be based primarily on the
software requirements and developed to verify correct functionality and to establish
Software testing is the process used to identify the correctness, security, completeness and
quality of developed computer software. This includes the process of executing the
program or applications with theintent of finding errors. An individual unit, functions or
procedures of developed project is verified and validated and these units are fit for use.
Acceptance testing- whole system with real data (involve customer, user, etc.) Alpha
testing is acceptancetesting with a single client (common for bespoke systems).
Beta testing involves distributing system to potential customers to use and provide
feedback. In this project,beta testing has been followed. This exposes system to situations
and errors that might not be anticipated .
5.1.1 Unit testing
Unit testing is process of testing individual software components unit or modules. Since it
needs the detailedknowledge of the internal program design and code this task is done by
the programmer and not by testers.
errors. This approach is continued until we have integrated all modules to form the
system as a whole. After the completion of each module, it has been combined with the
remaining module to ensure that the project is working properly as expected.
5.1.2 System Testing
System testing tests a completely integrated system to verify that it meets its requirements.
After the completion of the entire module, they are combined together to test whether the
entire project is workingproperly.
5.2 Test Cases
14
h
Test cases no Test case Expected Status
Results
1 Logging into website User id and Successful
password
provided correct
2 Logging into website User id Incorrect Unsuccessful
Table 5.2.1 represents the test case for User login module. It shows both successful and
unsuccessful resultsfor the test cases
Test cases no Test case Expected Status
Results
1 Registration for All details correct Successful
newuser
Table 5.2.2 represents the test case for register new user module.
CHAPTER 6
RESULT AND DISCUSSION
15
h
Figure 6.1 Screenshot of User Interface
Figure 6.1 indicates the user Interface page. This contains Information of services
available,and login/Registration.
Figure 6.2 indicates the user register page. This contains registration form, through which
user can add his details
16
h
Figure 6.3 Screenshot of User Login
17
h
Figure 6.5 Screenshot of Wedding registration
Figure 6.4 indicates the registration form by which user can register for wedding by
providing neccesarydetails.
Figure 6.5 indicates the dashboard containing wedding registration details registered by
user.
18
h
CHAPTER 7
CONCLUSION AND FUTURE ENHANCEMENTS
From understanding the user and admin requirements to system design and finally
consolidation of everything, each step requires in-depth understanding and commitment
toward achieving the objectives of thisProject.Wedding Management System provides
user-friendly interface for managing the the services. Few
features of this project are its simplicity, accuracy, and its user-friendly interface. This
system incorporates all the features and facilities provided by the Visual Studio Code
software. User can easily estimate the wedding budget by selecting required services.
Reducing the time of planning and organizing the wedding related Services,it Provides
the interface that include all the wedding relative services such as decoration, catering,
venue, theme, photography, music etc.The study of how a relational database will be
developed and maintained for industry purposes was done and been implemented.
Overall, the main motive of this project is to gain more knowledge about the usage of
database systems in the industrial view which was done efficiently. Also, it is indeed a
19
h
REFERENCES
• https://www.w3schools.com/
• www.stackoverflow.com
• https://www.youtube.com/
• https://getbootstrap.com/
• https://www.javatpoint.com/dbms-tutorial
• Fundamentals of database system, Ramiz Elmar, Sri Shamkanth B 7th edition,2017,
Pearson.
20
h