Review 2
Review 2
Review 2
CHENNAI – 600034.
DEPT NO : 19-UCS-118
NAME :A.S.SANJU
DATE : 28/04/2022
CHAPTER 5
SYSTEM DEVELOPMENT
There are some indisputable great reasons to work with PHP. As an open source product, PHP
is well supported by a talented production team and a committed user community. Furthermore,
PHP can be run on all the major operating systems with most servers.
Basic is easy any interpreted language should be easy to learn. Since you are isolated from the
system (no pointers to use, no memory to allocate). The other advantage that all modern
interpreted languages share is good associative array constructs.
b) Its Performance
While we can build an application that serves millions of pages a day on a server, when we
really look at the performance of the language it sucks. We are still orders of magnitude from
15
real performance. Not only that, but since PHP is designed around a single process model our
ability to share data structures or connection pool resources is left to native code libraries.
There are many languages which are available at very less cost. There are some languages
which are available at very less cost like below:
PHP
C
C++…etc
Technically the point is that it’s an open source project and they release patches often.
A PHP scripting block always starts with <?php and ends with ?>. A PHP scripting block can
be placed anywhere in the document.On servers with shorthand support enabled you can start a
scripting block with <? And end with ?>. However, for maximum compatibility, we recommend
that you use the standard form (<?php) rather than the shorthand form. A PHP file normally
contains HTML tags, just like an HTML file, and some PHP scripting code.
5.2.2 HTML
HTML or Hyper Text Markup Language is the standard markup language used to create web
pages.
HTML was created in 1991 by Tim Berners-Lee at CERN in Switzerland. It was designed to
allow scientists to display and share their research.
16
HTML is written in the form of HTML elements consisting of tags enclosed in angle
brackets(like <html>). HTML tags most commonly come in pairs like <h1> and </h1>,
although some tags represent empty elements and so are unpaired, for example <img>. The first
tag in a pair is the start tag, and the second tag is the end tag (they are also called opening tags
and closing tags).
The purpose of a web browser is to read HTML documents and compose them into visible or
audible web pages. The browser does not display the HTML tags, but uses the tags to interpret
the content of the page. HTML describes the structure of a website semantically along with cues
for presentation, making it a markup language rather than a programming language.
HTML allows images and objects to be embedded and can be used to create interactive forms. It
provides a means to create structured documents by denoting structural semantics for text such
as headings, paragraphs, lists, links, quotes and other items. It can embed scripts written in
languages such as Java Script which affect the behaviour of HTML web pages.
a) HTML FORMS
17
An HTML form can contain input elements like text fields, checkboxes, radio-buttons, submit
buttons and more. A form can also contain select lists, textarea, fieldset, legend, and label
elements.
To add an image to an HTML document, we just need to include an <IMG> tag with a reference
to the desired image. The <IMG> tag is an empty element i.e. it doesn’trequire a closing tag and
we can use it to include from small icons to large images.
5.2.4 CSS
Cascading Style Sheets (CSS) is a style sheet language used for describing the look and
formatting of a document written in a markup language. While most often used to style web
pages and user interfaces written in HTML and XHTML, the language can be applied to any
kind of XML document, including plain XML, SVG and XUL. CSS is a cornerstone
specification of the web and almost all web pages use CSS style sheets to describe their
presentation.
CSS is designed primarily to enable the separation of document content from document
presentation, including elements such as the layout, colors, and fonts. This separation can
18
improve content accessibility, provide more flexibility and control in the specification of
presentation characteristics.
The front end is an interface between the user and the back end. The front and back ends may be
distributed amongst one or more systems.
In network computing, front end can refer to any hardware that optimizes or protects network
traffic. It is called application front-end hardware because it is placed on the network's outward-
facing front end or boundary. Network traffic passes through the
In compilers, the front end translates a computer programming source code into an intermediate
representation, and the back end works with the intermediate representation to produce code in
a computer output language. The back end usually optimizes to produce code that runs faster.
The front-end/back-end distinction can separate the parser section that deals with source code
and the back end that generates code and optimizes.
5.2.6 MySql:
The database has become an integral part of almost every human's life. Without it, many things
we do would become very tedious, perhaps impossible tasks. Banks, universities, and libraries
are three examples of organizations that depend heavily on some sort of database system. On
the Internet, search engines, online shopping, and even the website naming convention would be
impossible without the use of a database.
A database that is implemented and interfaced on a computer is often termed a database server.
One of the fastest SQL (Structured Query Language) database servers currently on the market is
the MySQL server, developed by T.c.X. DataKonsultAB.
19
MySQL, available for download at www.mysql.com, offers the database programmer with an
array of options and capabilities rarely seen in other database servers. MySQL is free of charge
for those wishing to use it for private and commercial use. Those wishing to develop
applications specifically using MySQL should consult MySQL's licensing section, as there is
charge for licensing the server.
The MySQL database server provides the ultimate in scalability, sporting the capacity to handle
deeply embedded applications with a footprint of only 1MB to running massive data
warehouses holding terabytes of information. Platform flexibility is a stalwart feature of
MySQL with all flavors of Linux, UNIX, and Windows being supported.
b) High Performance
c) High Availability
Rock-solid reliability and constant availability are hallmarks of MySQL, with customers relying
on MySQL to guarantee around-the-clock uptime. MySQL offers a variety of high-availability
options from high-speed master/slave replication configurations, to specialized Cluster servers
offering instant failover, to third party vendors offering unique high-availability solutions for
the MySQL database server.
MySQL offers one of the most powerful transactional database engines on the market. Features
include complete ACID (atomic, consistent, isolated, durable) transaction support, unlimited
20
row-level locking, distributed transaction capability, and multi- version transaction support
where readers never block writers and vice-versa.
Since end users are the ones who are finally going to use the system, theirrequirements need to
be identified. This involves questioning the end users what theirexpectations were.
The main requirement of the end user is that the system should be easy to use and take less time.
In addition to these another important factor was to eliminate the need for database conversion
and migration that had to be carried out presently. After conducting interviews with the users a
document called the software requirement specification was created. This is the most important
document that forms the basis for system development. It should be consistent, complete,
unambiguous, traceable and inter-related.
c) User Friendly: The system produced is user friendly, understandable and easy to use so that
the users of the system can easily learn to use the system. For this the system is made menu-
driven with well-documented programs.
21
d) Time Element (response and processing time): The response time of the system is very
less and takes less time to execute queries and triggers.
e) Maximum Throughput: the system gives maximum throughput with relevant output
f) Robustness: the system will be able to handle undesirable situations and errors encountered
at various levels e.g. if the user supplies invalid input for processing, the system gracefully
halts, displaying a message to the user indicating the cause of the error and prompting him it
enter the correct input.
g) Flexibility: the system is flexible in nature so that likely changes and alterations can easily
be made.
h) Information Security: records in the system must be safe, confidential and must be
prevented from unauthorized access.
i) Moral and User Satisfaction: system will be able to satisfy the user requirements; this is the
main and conspicuous measure of the system performance. Also the system must raise the
moral of the user. The higher the moral, greater the expected work performance level.
22
CHAPTER 6
Test Results:
All the test cases mentioned above passed successfully. No defects encountered.
23
Test Results:
All the test cases mentioned above passed successfully. No defects encountered.
Test Results:
All the test cases mentioned above passed successfully. No defects encountered.
6.4 Validations
Validation refers to the process of data validation, ensuring that data insertedinto an application
satisfies pre-determined formats or complies with stated length and character requirement and
other defined input criteria. It may also ensure that only data that is either true or real can be
entered into a database. There are two types of validation that can check the authenticity and
reliability of the user input.
Ex: If the desired username exists, the end user is provided with an error message.
24
ID Scenario Test Cases Expected result Actual Result Pass/Fail
1. Login Enter null usernameor It should do the It will show message Pass
password login and show that username and
error password is incorrect
Enter correct data of It should let do It will show the message Pass
username and login ‘successful login’
password
25