Beruflich Dokumente
Kultur Dokumente
1. Introduction
1.1 OBJECTIVES
• Day care centers are not only encourage just learning but the
love of learning.
• It provide programs that emphasizes the physical, emotional
and social development of children.
• It provides more hygienic food for the children.
• We encourage the game and occasional events to know the
culture and traditions.
• Day care Center believes in positive methods of discipline and
establishes consistent and appropriate limits to help children
function in their world.
1.5 Modules
Home Module:
This module is used to login for both user and admin and also
new registration available.
User Module:
This Module displays the user login and his/her details and also
some fields such as Day Schedule, Fee details, Fee pay, change
password and which user able to access and privacy settings.
Admin Module:
This Module is displays the admin login and its details and
profile, admission list, change password, change fee details, reports
and day schedule.
2.System Analysis
2.1 PRESPECTIVE SOFTWARE MODEL
This model is used only when the requirements are very well
known, clear and fixed.
Product definition is stable.
Technology is understood.
There are no ambiguous requirements
Ample resources with required expertise are available freely
The project is short.
Very less customer interaction is involved during the
development of the product. Once the product is ready then
only it can be demoed to the end users. Once the product is
developed and if any failure occurs then the cost of fixing such
issues are very high, because we need to update everywhere
from document till the logic.
3. Feasibility Study
ECONOMICAL FEASIBILITY
TECHNICAL FEASIBILITY
SOCIAL FEASIBILITY
4. Data Designs
4.1 ER Diagram:
5. Data Dictionany
Users table:
1 username varchar
2 email varchar
3 password varchar
4 childname varchar
5 dob date
6 gender varchar
7 pname varchar
8 mnumber number
9 address varchar
Feepay table:
1 idno int
2 cdnumber int
3 cname varchar
4 expirym int
5 expiryn int
6 cvv int
Admin Table:
1 name varchar
2 password varchar
Messnotify Tabale:
1 Typemess Varchar
6. System Design
HTML:
Hypertext Markup Language (HTML) is the standard markup
language for creating web pages and web applications.
With Cascading Style Sheets (CSS) and JavaScript, it forms a triad of
cornerstone technologies for the World Wide Web.
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 elements are the building blocks of HTML pages. With
HTML constructs, images and other objects such as interactive
forms may be embedded into the rendered page. HTML provides a
means to create structured documents by denoting
structural semantics for text such as headings, paragraphs,
lists, links, quotes and other items. HTML elements are delineated
by tags, written using angle brackets. Tags such
as <img /> and <input /> directly introduce content into the page.
The new standard incorporates features like video playback and drag-
and-drop that have been previously dependent on third-party
browser plug-ins such as Adobe Flash, Microsoft Silverlight, and
Google Gears.
Browser Support
The latest versions of Apple Safari, Google Chrome, Mozilla Firefox,
and Opera all support many HTML5 features and Internet Explorer
9.0 will also have support for some HTML5 functionality.
New Features
HTML5 introduces a number of new elements and attributes that can
help you in building modern websites. Here is a set of some of the
most prominent features introduced in HTML5.
Drag and drop − Drag and drop the items from one location to
another location on the same webpage.
Backward Compatibility
HTML5 is designed, as much as possible, to be backward compatible
with existing web browsers. Its new features have been built on
existing features and allow you to provide fallback content for older
browsers.
If you are not familiar with any previous version of HTML, I would
recommend that you go through our HTML Tutorial before exploring
the features of HTML5.
An HTML document has two main parts: the head and the body. But
firstly every HTML document should start by declaring that it is an
HTML document.
<html>
Should appear at the beginning of your document.
</html>
Should appear at the end of your document.
HTML Tags
This leads us nicely on to say more about [X]HTML tags. All formatting
tags (or elements) are of the general form:
<tag_on>
Switches the tag sequence on. For example, to bold some text
add a <strong> at the beginning of the text.
</tag_off>
Switches the tag sequence off. The tag_on and tag_off tags are
the same except the off tag has an / character in front of it. For
example, to switch off the bolding add a </strong> character
sequence at the end of the text that is to be given the attribute
of bolding.
CSS
Cascading Style Sheets (CSS) 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.
CSS is designed to enable the separation of presentation and
content, including layout, colors, and fonts. 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, and reduce complexity and repetition in the structural
content.
Separation of formatting and content also makes it feasible to
present the same markup page in different styles for different
rendering methods, such as on-screen, in print, by voice (via speech-
based browser or screen reader), and on Braille-based tactile devices.
CSS also has rules for alternate formatting if the content is accessed
on a mobile device.
The name cascading comes from the specified priority scheme to
determine which style rule applies if more than one rule matches a
particular element. This cascading priority scheme is predictable.
The CSS specifications are maintained by the World Wide Web
Consortium (W3C). Internet media type (MIME type) text/css is
registered for use with CSS by RFC 2318 (March 1998). The W3C
operates a free CSS validation service for CSS documents.
In addition to HTML, other markup languages support the use
of CSS including XHTML, plain XML, SVG, and XUL.
Advantages of HTML:
PHP5
Hypertext Preprocessor (or simply PHP) is a server-s ide
scripting language designed for Web development, and also used as
a general-purpose programming language. It was originally created
by Rasmus Lerdorf in 1994, the PHP reference implementation is now
produced by The PHP Group.PHP originally stood for Personal Home
Page, but it now stands for the recursive initialism PHP: Hypertext
Preprocessor.
PHP code may be embedded into HTML code, or it can be used
in combination with various web template systems, web content
management systems, and web frameworks. PHP code is usually
processed by a PHP interpreter implemented as a module in the web
server or as a Common Gateway Interface (CGI) executable. The web
server combines the results of the interpreted and executed PHP code,
which may be any type of data, including images, with the generated
web page. PHP code may also be executed with a command-line
interface (CLI) and can be used to implement standalone graphical
applications.
The standard PHP interpreter, powered by the Zend Engine,
is free software released under the PHP License. PHP has been widely
ported and can be deployed on most web servers on almost
every operating system and platform, free of charge.
The PHP language evolved without a written formal
specification or standard until 2014, with the original implementation
acting as the de facto standard which other implementations aimed to
follow. Since 2014 work has gone on to create a formal PHP
specification.
PHP can handle forms, i.e. gather data from files, save data to a
file, through email you can send data, return data to the user.
Using PHP, you can restrict users to access some pages of your
website.
Characteristics of PHP
Five important characteristics make PHP's practical nature possible −
Simplicity
Efficiency
Security
Flexibility
Familiarity
"Hello World" Script in PHP
To get a feel for PHP, first start with simple PHP scripts. Since "Hello,
World!" is an essential example, first we will create a friendly little
"Hello, World!" script.
<html>
<head>
<title>Hello World</title>
</head>
<body>
</body>
</html>
Hello, World!
echo
Just above, we had already made use of the echo command in PHP.
Using this command, we can do exactly what it says, echo something
to the screen. There is another way to do this as well. In fact, almost
anything you can do in programming, you’ll find that there are many
ways to do the same thing. For example, we could rewrite our prior
example using the print command just like this.
from the page; the only thing returned to the client from the Web
server is pure HTML output.
All PHP code must be included inside one of the three special markup
tags ATE are recognised by the PHP Parser.
A most common tag is the <?php...?> and we will also use the same
tag in our tutorial.
From the next chapter we will start with PHP Environment Setup on
your machine and then we will dig out almost all concepts related to
PHP to make you comfortable with the PHP language.
MYSQL
MySQL is a fast, easy to use relational database. It is currently the
most popular open-source database. It is very commonly used in
conjunction with PHP scripts to create powerful and dynamic server-
side applications.
Reasons of popularity
o MySQL is very friendly with PHP, the most popular language for
web development.
can increase this (if your operating system can handle it) to a
theoretical limit of 8 million terabytes (TB).
RDBMS Terminology
Before we proceed to explain the MySQL database system, let us
revise a few definitions related to the database.
MySQL Database
MySQL is a fast, easy-to-use RDBMS being used for many small and
big businesses. MySQL is developed, marketed and supported by
MySQL AB, which is a Swedish company. MySQL is becoming so
popular because of many good reasons −
MySQL works very quickly and works well even with large data
sets.
Syntax
connection mysql_connect(server,user,passwd,new_link,client_flag);
1 Server
2 User
3 Password
4 new_link
5 client_flags
You can disconnect from the MySQL database anytime using another
PHP function mysql_close(). This function takes a single parameter,
which is a connection returned by the mysql_connect() function.
Syntax
Benefits of MySQL
very easy to use. With only a few simple SQL statements, you can
build and interact with MySQL.
It's secure: MySQL includes solid data security layers that protect
sensitive data from intruders. Rights can be set to allow some or
all privileges to individuals. Passwords are encrypted.
It's inexpensive: MySQL is included for free with NetWare® 6.5 and
available by free download from MySQL Web site.
It's fast: In the interest of speed, MySQL designers made the
decision to offer fewer features than other major database
competitors, such as Sybase* and Oracle*. However, despite
having fewer features than the other commercial database
products, MySQL still offers all of the features required by most
database developers.
It's scalable: MySQL can handle almost any amount of data, up to
as much as 50 million rows or more. The default file size limit is
about 4 GB. However, you can increase this number to a
theoretical limit of 8 TB of data.
It manages memory very well: MySQL server has been thoroughly
tested to prevent memory leaks.
It supports Novell Cluster Services: MySQL on NetWare runs
effectively with Novell® Cluster Services™, letting you add your
database solution to a Novell cluster. If one server goes down,
MySQL on an alternate server takes over and your customers
won't know that anything happened.
It runs on many operating systems: MySQL runs on many
operating systems, including Novell NetWare, Windows* Linux*,
many varieties of UNIX* (such as Sun* Solaris*, AIX, and DEC*
UNIX), OS/2, FreeBSD*, and others.
It supports several development interfaces: Development interfaces
include JDBC, ODBC, and scripting (PHP and Perl), letting you
create database solutions that run not only in your NetWare 6.5
environment, but across all major platforms, including Linux,
UNIX, and Windows.
7. Sample Code
Home.php
<html>
<head>
<title>HOME Page</title>
</head>
background-repeat: no-repeat;
<div id="head">
</div>
<div id="main">
<ul>
<li><a href="loglist.php">LOGIN</a></li>
<li><a href="about.php">ABOUTS<a></li>
</div>
<div id="image">
</div><br><br><br>
<br><br><br><br>
<br><br><br><br><br><br><br><br>
<br><br><br><br><br><br>
<br><br><br><br><br><br><br>
<marquee style=' font-family: "hobo"; color: ink;'> "THE WAY YOU SEE
A CHILD IS THE WAY YOU TREAT THEM, AND THE WAY YOU TREAT
THEM IS WHAT THEY WILL BECOME." </marquee>
</body>
</html>
Loglist.php:
<html>
<head>
</head>
background-repeat: no-repeat;
<div id="head">
<a href="home.php">Home</a>
</div>
</div>
<div id="main">
<ul>
</ul>
</div>
<div id="image">
</div><br><br>
<br><br><br><br><br><br>
<br><br><br><br><br>
<br><br><br><br><br><br><br>
<marquee style=' font-family: "hobo"; color: ink;'> "THE WAY YOU SEE
A CHILD IS THE WAY YOU TREAT THEM, AND THE WAY YOU TREAT
THEM IS WHAT THEY WILL BECOME."</marquee>
</body>
</html>
Registrar.php:
<!DOCTYPE html>
<html>
<head>
<title>User Registration</title>
</head>
background-repeat: repeat;
<div class="header">
<h2>Register</h2>
</div>
<div class="input-group">
<label>Username</label>
</div>
<div class="input-group">
<label>Email</label>
</div>
<div class="input-group">
<label>Password</label>
</div>
<div class="input-group">
<label>Confirm password</label>
</div>
<div class="input-group">
<label>Child Name</label>
</div>
<div class="input-group">
<label>DOB</label>
</div>
<div>
<label>Gender</label>
value="female">Female
value="male">Male
</div>
<div class="input-group">
<label>Parent/Guardian Name</label>
</div>
<div class="input-group">
<label>Moblie Number</label>
</div>
<div class="input-group">
<label>Address</label>
</div>
<div >
<div class="input-group">
</div>
<p>
</p>
</form>
</body>
</html>
Login.php
<?php
if (!$conn) {
if (!$query) {
?>
<!DOCTYPE html>
<html>
<head>
</head>
background-repeat: no-repeat;
<div class="header">
<h2>Login</h2>
</div>
<div class="input-group">
<label>Username</label>
</div>
<div class="input-group">
<label>Password</label>
</div>
<div class="input-group">
</div>
<p>
</p>
</form>
</body> </html>
Server.php:
<?php
session_start();
// initializing variables
$username = "";
$email = "";
$childname = "";
$dob ="";
$gender = "";
$pname = "";
$mnumber = "";
$address = "";
$errors = array();
// REGISTER USER
if (isset($_POST['reg_user'])) {
$password_1 = mysqli_real_escape_string($db,
$_POST['password_1']);
$password_2 = mysqli_real_escape_string($db,
$_POST['password_2']);
if ($password_1 != $password_2) {
// a user does not already exist with the same username and/or
email
$user = mysqli_fetch_assoc($result);
if (count($errors) == 0) {
VALUES('$username', '$email',
'$password','$childname','$dob','$gender','$pname','$mnumber','$addr
ess')";
mysqli_query($db, $query);
$_SESSION['username'] = $username;
header('location: index.php');
// LOGIN USER
if (isset($_POST['login_user'])) {
if (empty($username)) {
if (empty($password)) {
if (count($errors) == 0) {
$password = md5($password);
if (mysqli_num_rows($results) == 1) {
$_SESSION['username'] = $username;
header('location: index.php');
}else {
}}}
?>
<?php
session_start();
if (!isset($_SESSION['username'])) {
header('location: login.php');
if (isset($_GET['logout'])) {
session_destroy();
unset($_SESSION['username']);
header("location: login.php");
?>
Index.php:
<?php
session_start();
if (!isset($_SESSION['username'])) {
header('location: login.php');
if (isset($_GET['logout'])) {
session_destroy();
unset($_SESSION['username']);
header("location: login.php");
?>
<!DOCTYPE html>
<html>
<head>
<title>User Page</title>
</head>
background-repeat: no-repeat;
<div class="header">
<h2>User Page</h2>
</div>
<div class="content">
<h3>
<?php
echo $_SESSION['success'];
unset($_SESSION['success']);
?>
</h3>
</div>
<header>
<div class='main'>
<ul>
<li><a href='notify.php'>Notifications</a></li>
</ul>
</div>
</header>
</div>
</body>
</html>
Style.php
*{
margin: 0px;
padding: 0px;
body {
font-size: 120%;
background: #F8F8FF;
.header {
width: 30%;
color: white;
background: #5F9EA0;
text-align: center;
border-bottom: none;
padding: 20px;
form, .content {
width: 30%;
padding: 20px;
background: white;
.input-group {
.input-group label {
display: block;
text-align: left;
margin: 3px;
.input-group input {
height: 30px;
width: 93%;
font-size: 16px;
border-radius: 5px;
.btn {
padding: 10px;
font-size: 15px;
color: white;
background: #5F9EA0;
border: none;
border-radius: 5px;
.error {
width: 92%;
padding: 10px;
color: #a94442;
background: #f2dede;
border-radius: 5px;
text-align: left;
.success {
color: #3c763d;
background: #dff0d8;
margin-bottom: 20px;
Admin.php:
<!DOCTYPE html>
<html>
<head>
<title>User Page</title>
</head>
background-repeat: no-repeat;
<div class="header">
<h2>Admin Page</h2>
</div>
<div class="content">
<h3>
<?php
echo $_SESSION['success'];
unset($_SESSION['success']);
?>
</h3>
</div>
<header>
<div class='main'>
<ul>
<li><a href='about.php'>About</a></li>
</ul>
</div>
</header>
</div>
</body>
</html>
Admin-login.php:
<?php
session_start();
$conn=mysqli_connect("localhost","root","","registration");
if(isset($_POST['submit']))
$email=$_POST['name'];
$pass=$_POST['pass'];
$result=mysqli_query($conn,$query);
if(mysqli_num_rows($result)>0)
$_SESSION['name']=$email;
sleep(1);
header('location:admin.php');
else{
?>
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>admin-login</title>
<style media="screen">
.lf{
margin-top: 5%;
box-sizing: border-box;
margin-left: 30%;
margin-right: 50%;
form{
padding: 20px;
border-radius: 15px;
display: block;
text-align: left;
margin: 3px;
input[type="text"]{
text-transform: capitalize;
</style>
</head>
style="background: url(imge9.jpg);
background-repeat: no-repeat;
<a href="home.php">Home</a>
</div>
<div id="home">
<!---Header------>
<div class="container-fluid">
</div>
</nav>
<div class="lf">
<div class="row">
<div class="col">
<div class="form-group">
</div>
<div class="form-group">
</div> <br>
<div class="form-group">
</div>
</form>
</div>
</div>
</div>
</form>
</html>
8. Screen Shots
9. System Testing
Introduction to Testing
Testing Levels
Testing itself may be defined at various levels of SDLC. The testing
process runs parallel to software development. Before jumping on the
next stage, a stage is tested, validated and verified.
Testing separately is done just to make sure that there are no hidden
bugs or issues left in the software. Software is tested on various
levels -
Unit Testing:
Integration Testing:
System Testing:
Definition by ISTQB
Example
A tester, without knowledge of the internal structures of a website,
tests the web pages by using a browser; providing inputs (clicks,
keystrokes) and verifying the outputs against the expected outcome.
Levels Applicable To
Black Box Testing method is applicable to the following levels of
software testing:
Integration Testing
System Testing
Acceptance Testing
The higher the level, and hence the bigger and more complex the box,
the more black-box testing method comes into use.
Techniques
Following are some techniques that can be used for designing black
box tests.
Advantages
Tests are done from a user’s point of view and will help in
exposing discrepancies in the specifications.
Tester need not know programming languages or how the
software has been implemented.
Tests can be conducted by a body independent from the
developers, allowing for an objective perspective and the
avoidance of developer-bias.
Test cases can be designed as soon as the specifications are
complete.
M.Sc Computer Science Page 68
DAY CARE CENTER
Acceptance Testing
10. Conclusion
The project DAY CARE CENTER is for the caring define day care
centers and critically examine the role of these centers in the
development of children.
11. Bibliography
References for the Project Development were taken from the following
books and web sites.
Reference Books
Reference Sites
https://www.w3schools.com/
https://tympanus.net/codrops/css_reference/
https://guide.freecodecamp.org/
https://devdocs.io/
https://www.w3schools.com/w3css/w3css_templates.asp
https://www.tutorialspoint.com/uml/uml_standard_diagrams.
htm
https://www.uml-diagrams.org/index-examples.html