Dbms FNL Report
Dbms FNL Report
Chapter 1
INTRODUCTION
1.1 Database Management System
A DBMS makes it possible for end users to create, read, update and delete data in a
database. The DBMS essentially serves as an interface between the database and end users or
application programs, ensuring that data is consistently organized and remains easily
accessible.
The DBMS manages three important things: the data, the database engine that allows data to
be accessed, locked and modified -- and the database schema, which defines the database’s
logical structure. These three foundational elements help provide concurrency, security, data
integrity and uniform administration procedures. Typical database administration tasks
supported by the DBMS include change management, performance monitoring/tuning and
backup and recovery. Many database management systems are also responsible for automated
rollbacks, restarts and recovery as well as the logging and auditing of activity.
The DBMS is perhaps most useful for providing a centralized view of data that can be
accessed by multiple users, from multiple locations, in a controlled manner. A DBMS can
limit what data the end user sees, as well as how that end user can view the data, providing
many views of a single database schema. End users and software programs are free from
having to understand where the data is physically located or on what type of storage media it
resides because the DBMS handles all requests.
Database is required to keep record of ticket booking, train’s departure and arrival status. Also
iftrains get late then people get to know it through database update.
There are thousands of books in the library so it is very difficult to keep record of all the books
in a copy or register. So DBMS used to maintain all the information relate to book issue
dates,name of the book, author and availability of the book.
Banking
We make thousands of transactions through banks daily and we can do this without going to
the bank. So how banking has become so easy that by sitting at home we can send or get
money through banks. That is all possible just because of DBMS that manages all the bank
transactions.
Universities and colleges
Examinations are done online today and universities and colleges maintain all these records
through DBMS. Student’s registrations details, results, courses and grades all the information
are stored in database.
MySQL, pronounced either "My S-Q-L" or "My Sequel," is an open source relational database
management system. It is based on the structure query language (SQL), which is used for
adding, removing, and modifying information in the database. Standard SQL commands, such
as ADD, DROP, INSERT, and UPDATE can be used with MySQL.
MySQL can be used for a variety of applications, but is most commonly found on Web
servers. A website that uses MySQL may include Web pages that access information from a
database. These pages are often referred to as "dynamic," meaning the content of each page is
generated from a database as the page loads. Websites that use dynamic Web pages are often
referred to as database-driven websites.
Many database-driven websites that use MySQL also use a Web scripting language like PHP
to access information from the database. MySQL commands can be incorporated into the PHP
code, allowing part or all of a Web page to be generated from database information. Because
both MySQL and PHP are both open source (meaning they are free to download and use), the
PHP/MySQL combination has become a popular choice for database-driven websites.
1.3 Apache Server
The Apache web server, more popular as simply Apache, represents an open-source web
server platform lying in the basis of most of the websites we see today on the World Wide
Web. Looking back at the time when it was introduced in mid 90's and gradually adopted as a
preferred server platform on the web, we could state that Apache acted as the main driving
force behind today's web expansion. As a web server 'pioneer', Apache has turned into a
standard for the development of other successful web server platforms.
The Apache web server is a work of the Apache Software Foundation open source community.
Namely the fact that it is backed up by the efforts of many supporters worldwide keeps it so
well maintained and regularly updated with new useful features and functionalities up to the
latest quality and security requirements in HTTP service delivery.
The wide use of the Apache server on the web is visible through the multitude of web
platforms and operating systems it is working with. Most of them are well established and
extremely popular among users, including Windows, Linux, Unix, Solaris, Mac OS X,
Microsoft Windows, NetWare, FreeBSD, OS/2, just to mention a few. The Apache server is
distributed with a rich set of modules, allowing for users to run miscellaneous scripts and
applications on it. This allows for every website hosted on an Apache server to be dynamic,
content driven and fully compliantwith the current HTTP standards.
Some of the capabilities supported by the server include support for CGI (Common Gateway
Interface) and SSI (Server Side Includes), URL redirection, automatic directory listings, user
authentication, anonymous user accessryts, loading modules support, HTTP header metafiles,
proxy caching abilities, etc.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source
general-purpose scripting language that is especially suited for web development and can be
embedded into HTML.
Instead of lots of commands to output HTML (as seen in C or Perl), PHP pages contain HTML
with embedded code that does something.The PHP code is enclosed in special start and end
processing instructions <?php and ?> that allow you to jump into and out of "PHP mode."
What distinguishes PHP from something like client-side JavaScript is that the code is
executed on the server, generating HTML which is then sent to the client. The client would
receive the results of running that script, but would not know what the underlying code was.
You can even configure your web server to process all your HTML files with PHP, and then
there's really no way that users can tell what you have up your sleeve.
The best things in using PHP are that it is extremely simple for a newcomer, but offers many
advanced features for a professional programmer. Although PHP's development is focused on
server-side scripting, you can do much more with it.
Command line scripting: You can make a PHP script to run it without any server
or browser. You only need the PHP parser to use it this way. This type of usage is
ideal for scripts regularly executed using cron (on *nix or Linux) or Task Scheduler
(on Windows). These scripts can also be used for simple text processing tasks. See
the section about Command line usage of PHP for more information.
Writing desktop applications: PHP is probably not the very best language to
create a desktop application with a graphical user interface, but if you know PHP
very well, and would like to use some advanced PHP features in your client-side
applications you can also use PHP-GTK to write such programs. You also have the
ability to write cross-platform applications this way. PHP-GTK is an extension to
PHP, not available in the main distribution. If you are interested in PHP-GTK, visit
» its own website.
PHP can be used on all major operating systems, including Linux, many Unix variants
(including HP-UX, Solaris and OpenBSD), Microsoft Windows, Mac OS X, RISC OS, and
probably others. PHP also has support for most of the web servers today. This includes
Apache, IIS, and many othersSo with PHP, you have the freedom of choosing an operating
system and a web server. Furthermore, you also have the choice of using procedural
programming or object oriented programming (OOP), or a mixture of them both.
With PHP you are not limited to output HTML. PHP's abilities includes outputting images,
PDF files and even Flash movies
One of the strongest and most significant features in PHP is its support for a wide range of
databases. Writing a database-enabled web page is incredibly simple using one of the database
specific extensions (e.g., for mysql), or using an abstraction layer like PDO, or connect to any
database supporting the Open Database Connection standard via the ODBC extension. Other
databases may utilize cURL or sockets, like CouchDB.
Chapter 2
SOFTWARE & HARDWARE REQUIREMENTS
2.1 Experimental Setup
• Install Mysql Server.
• Install Apache2 Server.
• Run the Code on localhost.
Chapter 3
3.2 ER Diagram
Chapter 4
SYSTEM DESIGN
Chapter 5
SYSTEM IMPLEMENTATION
5.1 MODULES DESCRIPTION
MODULES:
Campus Management System provides the modules like
Student
College
Company
A. STUDENT MODULE: In this module, creation of student input records about academic
career from SSLC, HSC and all semester with facilities to modify the records and viewing
changed records. The Student views the company details and verifies particular company
details and provides valid details for registration.
B. COMPANY MODULE: The company enrols themselves and they register their profile and
their will marquee in the main page till their drive and view the student’s details and update
their details. Login Company, registration, students details view
C. COLLEGE MODULE: The college having the placement officer who views the students
details and company details and post the selected students list. Sending email to student for
complete list of information for particular campus. Indication of hall ticket issued to candidates
through mail. Login, View company details, View selected students details, Sending mail.
5.2 AIM OF THE PROJECT
The aim of proposed system is to develop a system of improved facilities. The proposed system
can overcome all the limitations of the existing system. The system provides proper security and
reduces the manual work
Security of data.
Ensure data accuracy's.
Proper control of the higher officials.
Minimize manual data entry.
Minimum time needed for the various processing.
Chapter 6
SOURCE CODE
6.1 Tables Required
6.1.1 Admin Table
CREATE TABLE admin (
id_admin int(11) NOT NULL AUTO_INCREMENT,
username varchar(255) NOT NULL,
password varchar(255) NOT NULL,
PRIMARY KEY (`id_admin`)
);
6.1.2 User Table
CREATE TABLE users (
id_user int(11) NOT NULL AUTO_INCREMENT,
firstname varchar(255) NOT NULL,
lastname varchar(255) NOT NULL,
email varchar(255) NOT NULL,
password varchar(255) NOT NULL,
address text,
city varchar(255) DEFAULT NULL,
state varchar(255) DEFAULT NULL,
contactno varchar(255) DEFAULT NULL,
qualification varchar(255) DEFAULT NULL,
stream varchar(255) DEFAULT NULL,
passingyear varchar(255) DEFAULT NULL,
dob varchar(255) DEFAULT NULL,
age varchar(255) DEFAULT NULL,
designation varchar(255) DEFAULT NULL,
resume varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_user`),
</header>
</div>
</div>
</section>
<div style="background-color: #053a5a; height: 80px;">
<p style="font-size: 34px; color: white; text-align: center; line-height: 73px;">Register as a
Student</p>
</div>
<br>
<p style="font-size: 18px; color: red; text-align: center;"> ( Fields marked with * are required. )
</p>
<br>
<div class="container">
<div class="row">
<form method="post" action="adduser.php" enctype="multipart/form-data">
<div class="col-md-12" align="center">
<?php
//If User already registered with this email then show error message.
if(isset($_SESSION['registerError'])) {
?>
<div class="form-group">
<label style="text-align: center; color: red; font-size: 28px;">Email Already Exists!
Choose A Different Email!</label>
</div>
<?php
unset($_SESSION['registerError']); }
?>
<?php if(isset($_SESSION['uploadError'])) { ?>
<div class="form-group">
</div>
<br>
<label style="font-size: 18px;">Passing Year : </label>
<div>
<input style="border:1px solid black; border-radius: 5px; width: 80%; height: 45px;
padding: 15px; font-size: 18px;" type="date" id="passingyear" name="passingyear"
placeholder="Passing Year *" required=""></div>
<br> <label style="font-size: 18px;">Qualification : </label>
<div><input style="border:1px solid black; border-radius: 5px; width: 80%; height:
45px; padding: 15px; font-size: 18px;" type="text" id="qualification" name="qualification"
placeholder="Qualification *" required=""> </div>
<br> <label style="font-size: 18px;">Stream : </label>
<div> <input style="border:1px solid black; border-radius: 5px; width: 80%; height:
45px; padding: 15px; font-size: 18px;" type="text" id="stream" name="stream"
placeholder="Stream"></div>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"
integrity="sha384-
Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin="anonymous"></script>
</font>
</body>
</html>
Chapter 7
SAMPLE OUTPUTS
7.1 SCREENSHOTS
INDEX PAGE
LOGIN:
JOB POSTS:
CONCLUSION
Our project is only a humble venture to satisfy the needs to manage their project
work. Several user friendly coding have also adopted. This package shall prove to
be a powerful package in satisfying all the requirements of the school. The
objective of software planning is to provide a frame work that enables the manger
to make reasonable estimates made within a limited time frame at the beginning of
the software project and should be updated regularly as the project progresses.
REFERENCES
[1]. Html & css: the complete reference, fifth edition
[2]. http://www.php.net
[3]. https://www.hirecinch.com/blog-post/campus-recruitment
[4]. http://en.wikibooks.org/wiki/MySQL
[5]. https://www.w3schools.com/php/
[6]. www.google.com
[7]. www.wiki.com