Prajwal DBMS Mini Project 2
Prajwal DBMS Mini Project 2
Submitted by
PRAJWAL P SHANKAR
USN: 4MO21CS035
Mr. Jayaram CV
Asst.Prof.
Department of CSE
MYCEM College.Mysore
CERTIFICATE
This is to certify that the Mini Project work entitled “Company management system” is a
presentation done by Mr. PRAJWAL P SHANKAR (4MO21CS035) in partial fulfilment for
the award of Bachelor of Engineering in COMPUTER SCIENCE & ENGINEERING of
the Visveswaraya Technological University, Belagavi, during the year 2023-2024. The Mini
Project report has been approved as it satisfies the academic requirements in respect of Mini
Project work prescribed for the bachelor of engineering.
…………………………………
Mr. Jayaram C V
Asst.Prof.
Department of CSE
MYCEM College. Mysore
…………………………………. ………………………………
Prof.HARSHAKUMAR H S Dr.M.S.PRABHUSWAMY
HOD PRINCIPAL
Dept. of CSE MyCEM College, Mysore
MyCEM College, Mysore
External Viva:
1)……………………….. ………………………
2)……………………….. ………………………
DECLARATION
We are extremely thankful to Dr. MS Prabhuswamy., Principal, Mycem., Mysore, for providing us
the academic ambience and everlasting motivation to carry out this work and shaping our careers.
We express our sincere gratitude to Mr. Harsha Kumar HS, HOD, Dept. of Computer Science and
Engineering, Mycem,Mysore, for his stimulating guidance, continuous encouragement and
motivation throughout the course of present work.
I extend my sincere appreciation to my guide Mr. Jayaram CV, Assistant professor, Department
Of Computer Science & Engineering, Mycem who provided her valuable suggestions and precious
time in accomplishing my midterm min project report.
We would also like to thank all other teaching and technical staffs of Department of Computer
Science and Engineering, who have directly or indirectly helped us in the completion of this Project
Work.
Lastly, I would like to thank the almighty and my parents for their moral support and my friends with
whom I shared my day-to-day experience and received lots of suggestions that improved my quality
of work.
This Company Management System Project will have different modules. The login section will have
login facility for the admin and for the user who will operate this system. The Company Management
System is a web-based application that allows visitors details availability,can maintain the details of
the company
Company management system is an application based system, having two applications developed, one
for employers to manage employee details and another for employees to mark their attendance. Every
organisation whether government or private uses an information system.to store data of their staff.
However, in India it is found that many small scale industries use pen and paper to keep a record.
However, there are many advanced technology systems available that can do this work but they all are
costly for these low level industries. This paper discusses making a system for solving problems for
them at a cheaper cost. This system will mark attendance of each employee and calculate the salary of
them at the end of month. It also calculates overtime and total working hours of each employee. As in
small scale each company has their own holidays preference and variable week off for employees, so
all this power is given to the employer to manage holidays and week days of each employee separately.
It saves lots of time and has no error in pay calculation hence preventing clashes between HR Team
and employees. So that both employer and employee can focus on their work to develop their
company.
CONTENTS
CHAPTER 1 PAGE NO
INTRODUCTION 1
1.1 WHAT IS THE NEED OF DBMS 1
1.2 DESIGN AND MODELLING 2
1.3 OBJECTIVE 3
1.4 PROBLEM STATEMENT 3
1.5 SCOPE OF THE REPORT 3
CHAPTER 2
2.1 FUNCTIONAL REQUIREMENTS 4
2.1.1INTERFACE REQUIREMENTS 4
2.2 NON FUNCTIONAL REQUIREMENTS 4
2.2.1 USABILITY 4
2.2.2 SECURITY 4
2.2.2 RELIABILITY 5
2.3 SOFTWARE REQUIREMENTS 5
2.4 HARDWARE REQUIREMENTS 5
CHAPTER 3
3.1 ER DIAGRAM AND RELATIONSHIPS 6
3.2 SCHEMA DIAGRAM 7
3.3 ER DIAGRAM 8
CHAPTER 4
4.1 LIBRARIES AND FRAMEWORKS 9
4.2 FUNCTIONAL MODULES 10
CHAPTER 5
MODULES IN COMPANY MANAGEMENT SYSTEM 11
APPENDIX A 12
SNAPSHOTS 12-17
REFERENCES 18
CONCLUSION 19
LIST OF FIGURE FIGURES
13
Snapshot 3:Employee login Page
VI
COMPANY MANAGEMENT SYSTEM
2023-24
CHAPTER 1
INTRODUCTION
Definition
Database is a collection of data and Management System is a set of programs to
store and retrieve those data. Based on this one can define DBMS as a collection of inter-
related data and set of programs to store & access those data in an easy and effective manner.
➢ cost
➢ vendor support
The first task of a database designer is to produce a conceptual data model that
reflects the structure of the information to be held in the database. A common approach to
this is to develop an entity-relationship model, often with the aid of drawing tools. Another
popular approach is the Unified Modelling Language. A successful data model will
accurately reflect the possible state of the external world being modelled: for example, if
people can have more than one phone number, it will allow this information to be captured.
1.3 Objective
The main objective of this project is to determine how an interactive inventory
management system helps in the smooth functioning of a warehouse compared to traditional
inventory management, by digitizing all the records and transacting everything on a computer
rather than on paper. This project is a two-tier architecture application.
CHAPTER 2
Definition:
The program works on Desktop PC and is executed using a PHP 5 interface which
interacts with a MySQL database running on localhost.
2.2.1 Usability
Usability is the ease with which a user can learn to operate the online examination system
and get results.
2.2.2 Security
Security requirements are included in a system to ensure:
➢ All questions and users are well secured
➢ SQL injection is prevented
➢ Secure Of the Project
➢ Will Protect from unwanted Hackers
➢ Will Work without any problems
➢ Will make helpful for the Developer
2.2.3 Reliability
Reliability is the ability of a system to perform its required functions under stated
conditions for a specific period of time. Constraints on the run-time behaviour of the system can be
considered under two separate headings:
➢ Availability: is the system available for service when requested by end-users.
➢ Failure rate: how often does the system fail to deliver the service as expected by end- users.
CHAPTER: 3
In any data model it is important to distinguish between the description of the database
and the database itself. The description of a database is called the database schema, which is specified
during database design and is not expected to change frequently.
A displayed schema is called a schema diagram. A schema diagram displays only some aspects of a
schema, such as the names of record types and data items, and some types of constraints.
3.3 ER DIAGRAM:
CHAPTER: 4
IMPLEMENTATIONS
Definition:
This chapter of the report describes the Functions, packages and modules used in the project:
PHP
PHP is Hypertext Pre-processor is a general-purpose programming language originally
designed for web development.
HTML
Hypertext Markup Language is the standard markup language for documents designed
to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets
and scripting languages such as JavaScript.
CSS
Cascading Style Sheets is a style sheet language used for describing the presentation of
a document written in a markup language like HTML. CSS is a cornerstone technology of the World
Wide Web, alongside HTML and JavaScript. Functional Modules.
JAVASCRIPT
JavaScript, often abbreviated as JS, is a high-level, interpreted scripting language that
conforms to the ECMAScript specification. JavaScript has curly-bracket syntax, dynamic typing,
prototype based object-orientation, and first-class functions.
PHP MAILER
PHP Mailer is a code library to send emails safely and easily via PHP code from a web
server. Sending emails directly by PHP code requires a high-level familiarity to SMTP standard
protocol and related issues and vulnerabilities about Email injection for spamming.
When it comes to adding email functionality to your PHP app, PHP Mailer class is the winning
option. It is compatible with most of the PHP frameworks (Laravel or Symfony are based on the
Swift Mailer library, though, but it is still possible to use PHP Mailer as well.) PHP Mailer provides
powerful functionality to create HTML emails with attachments and send them to multiple recipients
via SMTP or a local webserver.
Insert Module:
This module provides the functionality of collecting the required data from the designed
interface and transmitting it to the appropriate table present in the database designed for this project.
If the provided data does not satisfy the given constraints, it must refrain from storing it into the
database. This is the first module in the Functional Module
Update Module:
This module again has the functionality of collecting the data from the designed
interface, but it updates the already existing tuple that matches the provided primary key of the tuple
to be updated, by replacing the existing attribute values with the newly collected data. Again, if the
newly provided data does not satisfy the given constraints, it must refrain from updating the
corresponding tuple. This is the second module in the functional module.
Delete Module:
The delete counterpart is loaded with the ability to delete a single or multiple records
from the table.
It searches for the tuple, in the query specified table, based on the provided value for an attribute.
Admin can delete in the interface, based on which delete module searches for the record
corresponding to that provided attribute value and deletes the record. This is the Last second module
in the functional module.it comes under the 4th module of the functional module.
Retrieve Module:
The retrieve module has a basic functionality of accessing the entire specified table from
the database and displays it. This module is used to retrieve the data of some database which is
searched by the customer or any some another user or admin of the database. Retrieve module refers
to the viewing the data of an employee or some salary data of the employee etc. This are all comes
under the module called Retrieve Module.This is the last module in the functional module, it comes
under the 5th module of the functional module.
CHAPTER 5
MODULES IN COMPANY MANAGEMENT SYSTEM
Company Management System is that which enables the Company Database, user can
choose the employee details and update according to their choice, In this project the admin can easily
access the number of employees present in the company and the project assigned to the each
employee and status of the each project.
➢ Admin
➢ Employee Details
➢ Project Assign
➢ Salary Table
Admin:
Login is must and should for only admin or controller. So that all records will be safely
saved to the database. If someone had forgot the password, one can reset that password. An
administrator is responsible for overseeing and coordinating various administrative tasks, which may
include: Company details etc...
Employee Details:
Through the employee details the admin can easily access the employee i.e to add the
employee details, to delete the employee details, to update the employee details and it includes
Employee ID, Name, Date of birth,Address,Gender,Salary.These are the details of the employee in
the project called Company Management System.
Project Assign:
In the company management system, there are some employees for the employee we are
assigning some of the project from project they can earn money easily. From the project the company
the company recruitment will be incremented. It contains the employee department, department
location, project, works on, dependent etc are the tables in the company management system.
Salary Table:
In the company management system, there are some employees for the employees we
are assigning some salary to the employee.by visualizing how the employee works in the company
the intelligence of the company depends on the salary of the employee.
APPENDIX A
SNAPSHOTS
REFERENCES
[3] https://bootstrapmade.com/
[4] https://www.w3schools.com/php/default.asp
CONCLUSION
Definition
The Company Management System plays a very important role in managing the
company details, Adding the employee details, Assigning the projects to the employee, Salary table
of the employee can be managed by using the web application for implementing this system, PHP,
HTML, CSS, JavaScript and MySQL are used.
The system comprises of following features: