You are on page 1of 50

Digital Diary

INTRODUCTION TO PROJECT:

1.1 ABSTRACT:

Digital Diary is a money and data manager application that combines an expense
manager, a bill reminder, and a budget planner! Digital Diary provides a rich, detailed
window into your personal finances and daily money management needs. Track and manage
daily expenses quickly & easily! Business expenses, personal expenses, travel expenses etc
can be managed rapidly using Digital Diary. Digital Diarys simple and intuitive user
interface, Interactive reports & graphs let you analyze income, expenses, cash flow and
balance over various date ranges and accounts.
The other elements such as Events, Reminder, Notes and Faculty will help user to
handle various tasks. According to the users need here user can use it by its friendly
environment. Easy to use and understand. Also it is including all the features as a Normal
diary. One more important feature is that a individual can make his/her own circle in this
application namely faculty. Where admin can share his/her information if he/she want.
Hopefully it is very helpful for a college or a department use where a user can get all the
elements for users regular usage.

This system provides the following facilities:


Notes
Events
Notification
Reminders
Expenses
Daily Expenses details

1.2 OBJECTIVE & SCOPE OF PROJECT:

Digital Diary is a money and data manager application that combines an


expense manager, a bill reminder, and a budget planner! Digital Diary
provides a rich, detailed window into your personal finances and daily

1
Digital Diary

money management needs. Track and manage daily expenses quickly &
easily! Business expenses, personal expenses, travel expenses etc can be
managed rapidly using Digital Diary. Digital Diarys simple and intuitive
user interface, Interactive reports & graphs let you analyze income,
expenses, cash flow and balance over various date ranges and accounts.

1.3 THEORETICAL BACKGROUND

1.3.1 Definition of problem

There is no such application which can provide such kind of educational


notes and other materials as notescorner providing, and notescorner is
providing a very big database of all degree notes as per student requirement
and with that it is also providing lots of educational study material for
students and also for staff people.

1.3.2 Advantages:

We can dowmload every material for free.


Anybody can register.
User can share his own created notes files.
Saves the time and mony of users.

2 SYSTEM ANALYSIS & DESIGN:

It is highly desirable if some important properties about the behavior of the


system can be determined before the system is actually built. This will allow the designers
to consider alternatives and select the one that will best suit the needs. Many engineering
disciplines use models to analyze design of a productfor it cost,
reliability,performance,etc.Architecture opens such possibilities for software also.It is
possible to analyze or predict the properties of the system being built from its architecture.

2
Digital Diary

For example, the reliability or the performance of the system can be analyzed. Such an
analysis can help determine whether the system will meet the quality and performance
requirements, and if not, what needs to be done to meet the requirements. For
example,while building a website for shopping, it is possible to analyze the response time or
throughput for a proposed architecture, given some assumptions about the request load
and hardware . It can then be decided whether the performance is satisfactory or not, and if
Software Architecture.

2.1 LITERATURE SURVE

Existing system:

There is no such application which can provide such kind of educational notes
and other materials as notescorner providing, and in currunt system it is difficult to collect
old final exam question papers, student have to collect it from their senior student and by
taking its Xerox they have to maintain its hard copy for a year.

Problems in Existing System

In case of notes the same problem is there, even it is easy to collect but
difficult to maintain and carry the notes anywhere. If student want only
single chapters notes he has to buy whole big book. Maintenance of these
hard copies is so difficult in todays case.
Another problem of student is ,if any student have any doubt about any
concept student can only ask to his teacher from his college staff, in holidays
he may not meet to them also.so it is difficult to get proper solution on his
doubt.
If student search for any educational subject related video, he may get
several links,and it will be difficult to choose proper from them.
Reading magazine is helpful for student to improve knowledge,but
purchasing the magazines is costly. This is major problem about magazines.

Proposed System Overview:

Digital Diary is a money and data manager application that combines an expense
manager, a bill reminder, and a budget planner! Digital Diary provides a rich, detailed

3
Digital Diary

window into your personal finances and daily money management needs. Track and manage
daily expenses quickly & easily! Business expenses, personal expenses, travel expenses etc
can be managed rapidly using Digital Diary. Digital Diarys simple and intuitive user
interface, Interactive reports & graphs let you analyze income, expenses, cash flow and
balance over various date ranges and accounts.
The other elements such as Events, Reminder, Notes and Faculty will help user to
handle various tasks. According to the users need here user can use it by its friendly
environment. Easy to use and understand. Also it is including all the features as a Normal
diary. One more important feature is that a individual can make his/her own circle in this
application namely faculty. Where admin can share his/her information if he/she want.
Hopefully it is very helpful for a college or a department use where a user can get all the
elements for users regular usage.

2.2 MODULES OF PROPOSED SYSTEM ARE:

admin
student
staff

4
Digital Diary

3 User Requirements System Planning(PERT Chart)

Pert chart:
PERT developed by the United states department of defense as a management tool for
complex military projects is an acronymfor Program and Evaluation and Review
technique.

Pert chart are used for project scheduling

Pert charts allowsoftware planners, or indivisuals to:

Determine the critical path a project must follow.

Establish most likely time estimates for indivisual task by applying statistical
models.

Calculate boundary times that defines a time window for a perticular task.

How To Create A Pert Chart?

Make a list of the project tasks.

Assign a task identification letter to each task.

Determine the duration time for each task.

Draw the PERT network, number each node, label each task with its task
identification letter, connect each node from start to finish, and put each tasks
duration on the network.

5
Digital Diary

Determine the need for any dummytasks.

Determine the earliest completion time for each task node.

Determine the latest completion time for each task node.

Verify the PERT network for coreectness.

6
Digital Diary

4 Methodology adopted

4.1 System Development Lyfe Cycle:

4.1.1User Characteristics:

In common the customer should be familiar and must have the knowledge of
windows operating system. Basic computer knowledge of using keyboard, mouse and
common windows environment is required.
The primary user of the application is the admin who maintains the software or product he
should know about the data present and the data he want to view, so that he can efficiently
use the function of the proposed system. The software is GUI based to reduce the user non-
friendliness towards the software.
There are various kinds of users for the product. Usually web products are visited by
various users for different reasons.

Admin:

Admin must have privileges to this application for managing events, gallery , notes,
expenses and expenses details. Admin must have knowledge of the computer and
internet.
Admin should have the knowledge about the current products in the
market update to the database.
staff:

7
Digital Diary

Staff is another main module of this application. Staff is added by admin.


Staff e Can also set events and reminders to other staff and they can send the
notification or view the notification.

4.2 System Features:


In general the user should be familiar and must have the knowledge of windows
operating system. Basic computer knowledge of using keyboard, mouse and common
windows environment is required.
The primary user is admin who maintains the software or product he should know about the
data present and the data he want to view, so that he can effectively use the function of the
proposed system. The software is GUI based to reduce the user non-affability towards the
software. It is also provided with the proper information message when clicked on the
button.

4.3 Specific Requirements:

4.3.1 External Interface Requirements:

User Interface: Accomplishes via mouse and keyboard input to the GUI based forms.
Software Interface: The product requires to runtime Php environment in server
machine.

4.3.2 Functional Requirements:

Functional requirements are statements of the services that the system must provide or are
descriptions of how some computations must be carried out.The plan for implementing
functional requirements is detailed in the system design.

Digital Diary is a money and data manager application that combines an expense
manager, a bill reminder, and a budget planner! Digital Diary provides a rich, detailed
window into your personal finances and daily money management needs. Track and
manage daily expenses quickly & easily! Business expenses, personal expenses, travel
expenses etc can be managed rapidly using Digital Diary. Digital Diarys simple and

8
Digital Diary

intuitive user interface, Interactive reports & graphs let you analyze income, expenses,
cash flow and balance over various date ranges and accounts.
The other elements such as Events, Reminder, Notes and Faculty will help user to
handle various tasks. According to the users need here user can use it by its friendly
environment. Easy to use and understand. Also it is including all the features as a
Normal diary. One more important feature is that a individual can make his/her own
circle in this application namely faculty. Where admin can share his/her information if
he/she want. Hopefully it is very helpful for a college or a department use where a user
can get all the elements for users regular usage.

4.4 Non-Functional Requirements:

A non-functional requirement is a requirement that specifies criteria that can be used to


judge the operation of a system, rather than specific behaviours. This should be
contrasted with functional requirements that define specific behaviour or functions. The
plan for implementing non-functional requirements is detailed in the system
architecture.
The application is available from several locations and it is accessible 24*7 with the
help of internet
The code is easily understood and read because of the structure and coding style of the
application.
Various components are provided in order to improve the performance at peak time.

User Interface:

The user interface allows the users to remotely access the system via several
applications. Users will be able to use the service through applications such
as Mozilla Firefox, Microsoft Internet Explorer, etc. Allow the user to access
the information fast and easily from remote locations.
Compatibility

The software is compatible with Windows XP. It also works well with
Windows 2000 or higher. It requires Microsoft Internet Explorer 5.0 or above
with Wamp Server.

Portability:

The software is extremely portable in the sense that it can be run on any

9
Digital Diary

machine with a web-browser.

Acceptance Criteria

The system must work well and compile with all the requirements and
constraints stated above. All conditions defined by the need user by the end
user are to be satisfied. The system should satisfy all the requirement and
constraints of the USER and must work well according to necessity.
4.5 Design Constraints:

In case of any errors Error Handling mechanisms have been provided

Without proper authorization the data in the database cant be modified.


Complete validation has been done so that no mandatory fields are empty by chance if
any field is left empty then appropriate alert message will be displayed.
In case of any errors Error Handling mechanisms have been provided.

4.6 Feasibility Study:


Preliminary investigations examine project feasibility; the likelihood of how the system is
will be useful to the organization. Three tests of feasibility-all equally important are studied.

Three tests of feasibility-all equally important are studied.

4.6.1 Operational feasibility:


Operational feasibility is based on whether the user will accept the developed application
and will satisfy the needs of the user.

4.6.2 Technical Feasibility:


Technical feasibility is based on whether the proposed system is capable of holding the data
required for the application.

4.6.3 Financial Feasibility:


This concept is based on the financial status of the owner such that he must have sufficient
budget to develop the proposed system which is cost effective.

10
Digital Diary

4.7 SDLC Methodology:


This document play a vital role in the development of life cycle (SDLC) as it describes
the complete requirement of the system. It means for use by developers and will be the
basic during testing phase. Any changes made to the requirements in the future will have to
go through formal change approval process.

The waterfall model is a sequential design process, often used in software


development processes, in which progress is seen as flowing steadily downwards (like a
waterfall) through the phases of Conception, Initiation, Analysis, Design, Construction,
Testing, Production/Implementation, and Maintenance.

The first formal description of the waterfall model is often cited as a 1970 article by
Winston W. Royce, although Royce did not use the term "waterfall" in this article. Royce
presented this model as an example of a flawed, non-working model. This, in fact, is how
the term is generally used in writing about software developmentto describe a critical
view of a commonly used software development practice.

The waterfall development model originates in the manufacturing and construction


industries; highly structured physical environments in which after-the-fact changes are
prohibitively costly, if not impossible. Since no formal software development
methodologies existed at the time, this hardware-oriented model was simply adapted for
software development.

The waterfall model shows a process, where developers are to follow these phases in order:

Requirements specification (Requirements analysis)


Software design
Implementation and Integration
Testing (or Validation)
Deployment (or Installation)
Maintenance
Requirements defines needed information, function, behavior, performance and
interfaces.

11
Digital Diary

Design data structures, software architecture, interface representations, algorithmic


details.
Implementation source code, database, user documentation, testing.
The following diagram shows how a Water model acts like:

Advantages:

Easy to understand, easy to use


Provides structure to inexperienced staff
Milestones are well understood
Sets requirements stability
Good for management control (plan, staff, track)
Works well when quality is more important than cost or schedule

In a strict Waterfall model, after each phase is finished, it proceeds to the next one.
Reviews may occur before moving to the next phase which allows for the possibility of
changes (which may involve a formal change control process). Reviews may also be
employed to ensure that the phase is indeed complete; the phase completion criteria are
often referred to as a "gate" that the project must pass through to move to the next phase.

12
Digital Diary

Waterfall discourages revisiting and revising any prior phase once it's complete. This
"inflexibility" in a pure Waterfall model has been a source of criticism by supporters of
other more "flexible" models.

5 System Implementation & Details of Hardware & Software used

5.1 SYSTEM IMPLEMAINTATION:

Introduction:
Implementation is the process of converting a new revised system design into
operation. The objective is to put the new revised system, which has been tested into
operation while holding costs, risks and personal irritation to the minimum. A critical aspect
of the implementation process is to ensure that there will be no description in the function of
the organization. The best methods for gaining control while implementation any new
system would be to use well planned test files for testing all new programs. Another factor
to be considered in the implementation phase in the acquisition of the hardware and
software. Once the software is developed for the system and testing is carried out, it is the
process of making the newly designed system fully operational and consistent in
performance.

5.2 HARDWARE & SOFTWARE USED

5.2.1 SYSTEM REQUIREMENTS:


System specification forms the foundation on which the architecture, design, and
implementation of a software is built. Documents containing system specifications are
critical because major expenses come along with having to fix the implementation of
incorrect requirements as a result of not having a specification document on hand. System
specification documents can thus be defined as the requirements documentation that
formally specifies the system-level requirements of a software application.

System specification documents most predominantly contain information on basic


website requirements which include

performance levels

13
Digital Diary

reliability
quality
interfaces
security and privacy
constraints and limitations
functional capabilities
data structures and element

HARDWARE SPECIFICATION:

Processor Intel p-IV & above

RAM 512 MB & above

Hard disc 10GB & above

SOFTWARE SPECIFICATION:

Operating System Window XP & above

Front End HTML, CSS

Back End MySQL

Middleware PHP

Server WAMP

Design Tool Dreamweaver

5.3 Introduction to technologies used in this project:


Implementation is the realization of an application, or execution of a plan, idea, model,
design, specification, standard, algorithm, or policy and it is a process of having the systems

14
Digital Diary

personnel check out and put new equipment into use, train users, install new application a
and construct any files of data needed to use it.

Why You Need WAMP, MySQL, and PHP?


PHP is a powerful scripting language that can be run by itself in the command line of any
computer with PHP installed. However, PHP alone isn't enough in order to build dynamic
web sites. To use PHP on a web site, you need a server that can process PHP scripts. WAMP
server allows developers to test PHP scripts locally; this makes it an invaluable piece of
your local development environment.
Additionally, dynamic websites are dependent on stored information that can be and easily;
this is the main difference between a dynamic site and a static HTML site. However, PHP
doesnt provide a simple, efficient way to store data. This is where a relational database
management system like MySQL comes into play.

5.3.1 PHP:

PHP originally stood for Personal Home Page and was released as a free, open

source project. Over time, the language was reworked to meet the needs of its users. In

1997, PHP was renamed to the current PHP: Hypertext Preprocessor.PHP is generally

used as a server-side scripting language; it is especially well-suited for creating dynamic

web pagesand client-side GUI applications. . PHP generally runs on a web server, taking

PHP code as its input and creating web pages as outputThe scripting language features

integrated support for interfacing with databases such as MySQL, which makes it a prime

candidate for building all manner of web applications, from simple personal web sites to

complex enterprise-level applications.

Unlike HTML, which is parsed by a browser when a page loads, PHP is preprocessed by the

machine that serves the document (this machine is referred to as a server). All PHP code

15
Digital Diary

contained withthe document is processed by the server before the document is sent to the

visitors browser.PHP is a scripted language, which is another great advantage for PHP

programmers. PHP can be deployed on most web servers, many operating systems and

platforms, and can be used with many relational database management systems. It is

available free of charge, and the PHP Group provides the complete source code for users to

build, customize and extend for their own use.Many programming languages require that

you compile files into machine code before they can be run, which is a time-consuming

process. Bypassing the need to compile means youre able to edit and test code much more

quickly Because PHP is a server-side language, running PHP scripts on your local machine

requires installing a server on your local machine.

PHP is free software released under the PHP License; however it is incompatible with the

GNU General Public License (GPL), due to restrictions on the usage of the term PHP. It is a

widely-used general-purpose scripting language that is especially suited for web

development and can be embedded into HTML. It generally runs on a web server, taking

PHP code as its input and creating web pages as output. It can be deployed on most web

servers and on almost every operating system and platform free of charge. PHP is installed

on more than 20 million websites and 1 million web servers.

Usage:

PHP is a general-purpose scripting language that is especially suited forweb


development. PHP generally runs on a web server, taking PHP code as its input and creating
web pages as output. It can also be used for command-line scripting and client-side GUI
applications. PHP can be deployed on most web servers, many operating systems and
platforms, and can be used with many relational database management systems. It is
available free of charge, and the PHP Group provides the complete source code for users to
build, customize and extend for their own use.

16
Digital Diary

PHP primarily acts as a filter, taking input from a file or stream containing text
and/or PHP instructions and outputs another stream of data; most commonly the output will
be HTML. It can automatically detect the language of the user. From PHP 4, the PHP parser
compiles input to produce byte code for processing by the Zend Engine, giving improved
performance over its interpreter predecessor. Originally designed to create dynamic web
pages, PHPs principal focus is server side scripting, and it is similar to other server-side
scripting languages that provide dynamic content from a web server to a client, such as
Microsofts Active Server Pages, Sun Microsystems JavaServer Pages, and mod_perl. PHP
has also attracted the development of many frameworks that provide building blocks and a
design structure to promote rapid application development (RAD). Some of these include
CakePHP, Symfony, CodeIgniter, and Zend Framework, offering features similar to other
web application frameworks.

The LAMP architecture has become popular in the web industry as a way of
deploying web applications. PHP is commonly used as the P in this bundlealongside Linux,
Apache and MySQL, although theymay also refer to Python or Perl.As of April 2007, over
20 million Internet domains were hosted on servers with PHP installed, and PHP was
recorded as the most popular Apache module. Significant websites are written in PHP
including the user-facing portion of Facebook, Wikipedia (MediaWiki), Yahoo!,
MyYearbook, ,Digg, Wordpress and Tagged.In addition to server-side scripting, PHP can be
used to create stand-alone, compiled applications and libraries, it can be used for shell
scripting, and the PHP binaries can be called from the command line.

5.3.2 HTML:
HTML means Hypertext Markup Language. HTML is a method of describing the
format of document, which allows them to be viewed on computer screen. Web browsers
display HTML documents, program which can navigate across networks and display a wide
variety of types of information. HTML pages can be developed to be simple text or to be
complex multimedia extra advantages containing, moving images, virtual reality, and java
applets.
The global publishing format of the Internet is HTML. It allows authors to use not
only text but also format that text with headings, list and tables, and also includes still

17
Digital Diary

images videos, and sound within text. Readers can access pages information from any
where in the world at the click of mouse button information can be downloaded to readers
own PC or workstations HTML pages can also be used for entering a data and as a front end
for commercial transaction.

5.3.3MY SQL:
INTRODUCTION TO SQL SERVER
SQL Server is a Relational Database Management System (RDBMS) that runs
exclusively under the Windows operating system. One benefit of using Windows
exclusively is that you can send and receive E-mail messages based on SQL Server "events"
and you can also let the operating system handle login security.The data base is an
organized collection of data. A database management system (DBMS) such as Access,
FileMaker Pro, Oracle or SQL Server provides you with the software tools you need to
organize that data in a flexible manner. It includes facilities to add, modify or delete data
from the database, ask questions (or queries) about the data stored in the database and
produce reports summarizing selected contents.
MySql is a multithreaded,multi-user SQL database management system (DBMS). The basic
program runs as a server providing multi-user access to a number of databases. Originally
financed in a similar fashion to the JBoss model, MySql was owned and sponsored by a
single for-profit firm, the Swedish company MySQLAB now a subsidiary of Sun Micro
system , which holds the copyright to most of the codebase.

Database Evolution:
SQL was invented back in the 1960's by E.F. Cod of IBM. in order to increase data
integrity and reduce repetitive data. RDBMS systems didn't appear until the late 70's when
Sybase and Oracle introduced systems. These systems existed on mainframes at the time.

ANSI-SQL came to be in the 1980's. This was important because it meant that disparate
systems could communicate through an agreed set of standards. There are different levels of
ANSI-SQL compliance. Almost every major RDBMS today is entry level compliant,
including SQL Server 2000. Every RDBMS has its own flavour of SQL that complements

18
Digital Diary

ANSI-SQL with proprietary elements. SQL Server's flavour of SQL is known as Transact
SQL (T-SQL).

SQL Server was originally a Sybase product. Microsoft bought the product outright from
Sybase and by version 7.0, the version prior to 2000, all the code had been rewritten by
Microsoft's programming gurus.

FEATURES OF SQL:
It is simple English like language and uses simple commands such as SELECT,
CREATE, DROP etc.

It is not having condition loops, variables and most of the commands are single line
commands.

To implement application logics, SQL has got extension language popularly called
as PL/SQL (Procedural language of sql).

One of the key features of sql server is the XML support. XML has

Grown to be standard technology for organizations that share data on the web.

Now with sql server 2000 XML documents can be retrieved directly from the
database and it provides various ways to retrieve data in XML format.

The entire SQL has been divided into 4 major categories.

1. Data Manipulation Language.

2. Data Definition Language.

3. Transaction Control language.

4. Data Control Language.

Security:

View are basically used as a part of security, means in many organizations ,the end user
will never be given original tables & all data entry will be done with the help of views only.
But the data base administrator will be able to see everything because all the operations
done by the different users will come to the same table.

19
Digital Diary

5.3.4 Queries:

A query is a question or a request. With MySql, we can query a database for specific
information and have a record set returned.

Create a connection to a database:

Before you can access data in a database, you must create a connection to the database. In
PHP, this is done with the mysql_connect() function.
Syntax:
mysql_connect (server name, username, password);
Server name: Optional Specifies the Server to connect .Default values is
localhost: 330

Example:
In the following example we store the connection in a variable ($con) for
later use in the script. The die part will be executed if the connection fails:

20
Digital Diary

Closing a Connection:

The connection will be closed automatically when the script ends. To close
the connection before, use the mysql_close() function:

5.3.5MySql Functions:
What is a database? Quite simply, its an organized collection of data. A database
management system (DBMS) such as Access, FileMaker Pro, Oracle or SQL Server
provides you with the software tools you need to organize that data in a flexible manner. It
includes facilities to add, modify or delete data from the database, ask questions (or queries)
about the data stored in the database and produce reports summarizing selected contents.

MySql is a multithreaded, multi-user SQL database management system (DBMS).


The basic program runs as a server providing multi-user access to a number of databases.
Originally financed in a similar fashion to the JBoss model, MySql was owned and
sponsored by a single for-profit firm, the Swedish company MySQLAB now a subsidiary of

21
Digital Diary

Sun Micro system , which holds the copyright to most of the codebase. The projects source
code is available under terms of the GNU General Public License, as well as under a variety
of proprietary agreements. MySql is a database. The data in MySql is stored in database
objects called tables. A table is a collection of related data entries and it consists of columns
and rows. Databases are useful when storing information categorically.

Create a connection to a database:

Before you can access data in a database, you must create a connection to the database. In
PHP, this is done with the mysql_connect() function.

Syntax: Mysql connect (server name, username, password);

Server name: Optional Specifies the Server to connect .Default values is localhost: 3306

5.4 Steps to create a database in PHPMyAdmin:

1) The following figure shows your PHPMyAdmin interface, just enter your database name
and click the 'Create' button to create your database.

2) Now to create a new table enter your table name and the number of fields in the table,
then click the 'Go' Button.

22
Digital Diary

3) The next step is to create the fields, just enter values for each field name, type, length of
the field, null option and mention whether it is a primary key or not. Then click the 'Save'
button to complete your table creation.

4) The following figure is displayed upon successful creation of your table

5.5 WAMP SERVER:


AMP is an acronym for Apache(an HTTP server), MYSQL (a relational database) and
PHP(a server side programming platform). These are industrial strength, open-source
software that collectively can be used to develop, deploy and run web application.

Depending on the operating platform, we have:


WAMP: Windows-Apache-MySQL-PHP

LAMP: Linux-Apache-MySQL-PHP

MAMP: Mac-Apache-MySQL-PHP

Setting UpWampServer:

WampServer bundles Apache, MySQL and PHP for Windows in a single package. It also
includes tools such as PhpMyAdmin (a MySQL database administration tool), SQL Buddy

23
Digital Diary

(an alternative to PhpMyAdmin), XDebug (a PHP Debugging Tool), Web Grind (a PHP
Profiling Tool).Server, denoted as <WAMPSERVER_HOME>, in this article.

Starting WampServer
To start the wampServer , choose start Wamp Server from the start menu; or run
:wampmanager.exe from the Wamp Server installed directory. An icon will appear on the
icon tray. Green icon indicates that all the services have started. Red indicates that all
the services have stopped. You can put the server online (so that user can access the server
over the Internet) by selecting the option Put Online. Alternatively, you could put the
server Offline, such that it is accessible only within the local host.

Verifying the Installation


By default, a directory called www was created under the wamp Server installed
directory, which server as the root directory of the Apache Server. A welcome page called
index.php was also created in the www directory.

To verify the installation:


1. Start the Wamp Server. Wait for the icon to appear green (indicates that all services have
started). Otherwise, click the icon and select Start all Services. For testing, put the server
offline to disable external access (i.e., it can be accessed only in localhost).

2. Start a browser and issue URL http://localhost. This will in turn request for index.php.
Observe the output and compare with index.php source.

How to run Php script in wamp server


How to run Php script in wamp server. Php Stands for Hypertext Pre-processor. To run php
script we need server (tomcat) as php is server side programming language. This post will
demonstrate running php script on wamp server. So before getting started with it, we need
to install wamp server on your computer. Now let us make a very basic php script, to print
hello world. This script is as shown below. Echo prints the statements.

How to run Php script in wamp server


<html>

<head>

<title>PHP script</title>

</head>

<body>

24
Digital Diary

<?php echo Hello World; ?>

</body>

</html>

Save it as hello.php or with any name that you want to save it with.

5.6 Dreamweaver:
Dreamweaver is a web design and development application that provides a visual
WYSIWYG editor (colloquially referred to as the Design view) and a code editor with
standard features such as syntax highlighting, code completion, and code collapsing as well
as more sophisticated features such as real-time syntax checking and code introspection for
generating code hints to assist the user in writing code. The Design view facilitates rapid
layout design and code generation as it allows users to quickly create and manipulate the
layout of HTML elements. Dreamweaver features an integrated browser for previewing
developed WebPages in the programs own preview pane in addition to allowing content to
be open in locally installed web browsers. It provides transfer and synchronization features,
the ability to find and replace lines of text or code by search terms or regular expression
across the entire site, and a templating features that allows single-source update of shared
code and layout across entire sites without server-side includes or scripting. The behaviours
panel also enables use of basic JavaScript without any coding Knowledge, and integrating
with Adobes Spry Ajax framework offers easy access to dynamically-generated content and
interfaces.

Dreamweaver can use third-party Extensions to extend core functionality of the


application, which any web developer can write (largely in HTML and JavaScript ).
Dreamweaver is supported by a large community of extension developers who make
extensions available (both commercial and fee ) for most web development tasks from
simple rollover effects to full-featured shopping carts. Dreamweaver, like other HTML
editors edits files locally then uploads them to the remote web server using FTP, SFTP, and
Or WEBDAV. Dreamweaver CS4 now supports the Subversion (SVN) version control
system.

25
Digital Diary

6 SYSTEM MAINTAINANCE& EVALUATION:


The results obtained from the evaluation process help the organization to
determine whether its information systems are effective or efficient or otherwise. The
process of monitoring, evaluating, and modifying of existing information systems to make
required or desirable improvements may be termed as System Maintenance. For the purpose
of convenience, maintenance may be categorized into three classes,

1. Corrective

2. Adaptive, and

3. Perfective

1. Corrective:

This type of maintenance implies removing errors in a program, which might have crept in
the system due to faulty design or wrong assumptions. Thus, in corrective maintenance,
processing or performance failures are repaired.

2. Adaptive:
In adaptive maintenance, program functions are changed to enable the information system
to satisfy the information needs of the user. This type of maintenance may become
necessary of organizational changes which may include:

a). Change in the organizational procedures,

b). Change in organizational objectives, goals, politics, etc

c). Change in forms

d). Change in information needs of managers

e). Change in system controls and security needs, etc

3. Perfective Maintenance:
Perfective maintenance means adding new programs or modifying the existing programs to
enhance the performance of the information system. This type of maintenance undertaken to
response to users additional needs which may be due to the changes within or outside of

26
Digital Diary

the organization. outside changes are primarily environmental changes, which may in the
absence of system maintenance, render the information system ineffective and inefficient.

These environmental changes include:


a). Changes in governmental policies, laws, etc

b). Economic and competitive conditions, and

c). New technology.

27
Digital Diary

8 DETAILED LYFE CYCLE OF THE PROJECT:

8.1.1DFD, ERD

1 Data Flow Diagram:


The data flow diagram (DFD) is one of the important modelling tools. It shows the user of
the data pictorially. DFD represents the flow of the data between different transformations
and processes in the system. The data flow diagram shows logical flow of the data. It
represents the functional dependencies within a system. It shows output values in a
computation are derived from input values. It is a simple pictorial representation or model
for system behaviour. It specifies, What is to be done but not how is to be done. It
describes the logical structure of the system. It relates data information to various processes
of the system. It follows top-down approach.

Data Flow Diagram Notations:

Data Flow:

It may be from file-to-file or file-to-process or process- process. It is generally in terms of


attributes. There may be either an input data flow or output data flow.

Functional Processing:

The process is nothing but the transformation of data it starts


with the subject and it has the verb followed by the subject.

Data store:

28
Digital Diary

It includes file, data base and repository. To parallel lines


represent it or a one end closed rectangle.

Or

Actor/source/sink:

The files which are outside the system and used by the
process or the processes of the system.Generally Source/Sink
in the actor.

Objectives
To graphically document boundaries of a system.
To provide hierarchy breakdown of the system.
To show movement of information between a system and itsenvironment.
To document information flows within the system.
To aid communication between users and developers.

29
Digital Diary

Admin Page:

BEST
ELECTRONICS

Login
User Id,
Password

Login Process

Admin
Homepage

Add Product Details


Check Query Update Process Data Storage

30
Digital Diary

Level - 0 DFD

login
Digital
Admin Faculty
Diary

Data Flow Diagram(Level 1)

1st level DFD of Admin

Events

Reminders

Notification
Digital
Admin Notes
Diary
Expense
Expense details

Faculty

31
Digital Diary

1st level DFD of Faculty

Notification

Events

Digital
Admin
Diary Notes

Remainders

Data Flow Diagram(Level 2)

2nd level DFD for Admin

Admin
Login
Home page
Admin
process

Add, View, Edit, and


Update Modify, Delete.
DB
Process

32
Digital Diary

2nd level DFD for Faculty

Faculty Login Faculty


Home page
Process

Add, View, Edit, and


Update
Modify, Delete.
DB
Process

Logical Design:

The logical design describes the detailed specification for the system, describing its
features, effective communication and the user interface requirements. The logical
system of a proposed system should include the following.

1. External System Structure.

2. Relationship between all the activities.

3. The physical construction and all the activities.

4. Global data.

5. Control flow.

6. Derived program structure.

Design Principles:

33
Digital Diary

Basic design principles that enable the software engineer to navigate the design
process are:
The design process should not suffer from Tunnel vision.

The design should be traceable to analysis model.

The design should not reinvent the wheel.

The design should minimize the intellectual distance between the software and the
problem, as it exists in the real world.

The design should exhibit uniformity and integrity.

The design should be structured to accommodate changes.

The design not coding, the coding is not a design.

The design should be assessed for the quality, as it is being created, not after the fast.

The design should be reviewed to minimize the conceptual errors.

34
Digital Diary

8.1.2ER-Diagram:

35
Digital Diary

8.2 DATA DICTIONARY:

8.3 INPUT & OUTPUT SCREEN DESIGN:

8.3.1 INPUT DESIGN CODING:

8.4 METHODOLOGY USED FOR TESTING:

8.4.1 Introduction:
The code is tested at various levels in software testing. Unit, system and user acceptance
testings are often performed. This is a grey area as many different opinions exist as to what
the stages of testing are and how much if any iteration occurs. Iteration is not generally part
of the waterfall model, but usually some occur at this stage.

Software testing is the execution of program to find its faults. The testing process focuses
on the logical internals of the software, ensuring that all statements have been tested and on
the functional externals, that is conducting test to uncover errors and ensure that defined
inputs will produce actual results agreed with required results. The following test strategies
were adopted to test the system.

36
Digital Diary

Testing Objective:

Testing is process of executing a program with the intent of finding an error. A good test
case is one that high probability of finding an as yet undiscovered error. A successful test
is one that uncovers an as yet undiscovered error. The above objectives imply a dramatic
change in view point. Testing cannot show the absence of defect, it can only show that
software errors are present.

Testing Strategies:

There are two general strategies for testing software. These are as follows:

Code Testing:This examines the logic of the program. To follow this test, cases
are developed such that every path of program is tested.

Specification Testing:Specification Testing examines the specification starting


what the program should do and how it should perform under various conditions.
Then test cases are developed for each condition and combinations of conditions and
to be submitted for processing.

8.4.2 Testing Method Used:

Here black box testing and statistical testing are used. In black box testing, all possible
types of inputs and seen for corresponding outputs and if not giving, code are corrected.
In statistical testing, checking for all variables whether they assigned values before
using it, whether array bound correctly defined, whether looping statement terminating
without going to infinite loop, whether function parameter are passed in order and
about number of parameters etc., are checked successfully and found correct everything
working satisfactorily.

The stages in testing process are:

Unit Testing:

37
Digital Diary

Individual components are tested to ensure that they operate correctly. Each
component tested independently without other system components.

Ex. Checked for Username and Password with the table, after the next module is
loaded session allocation.

Integration Testing:

Integration testing is a systematic technique for constructing the program structure


while at the same time conducting test to uncover errors associated with interfacing.
This testing is done using the bottom-up approach to integrate the software
components of the software system in to functioning whole.

System Testing:

System testing is actually a series of different tests whose primary purpose is fully to
exercise the computer-based system. The system tests that where applied are
recovery testing and performance testing. Finally a review or audit is conducted
which is a final evaluation that occurs only after operating the system long enough
for user to have gained a familiarity with it. System testing was done by the
inspection team to verify that all the functionality identified is the software
requirement specification has been implemented. Defects that crept in the system
has been found defect free and is working well. System testing is concerned with
interfaces, design logic, control flow recovery, procedures throughput, capacity and
timing characteristics of the entire system.For blank field, alphabets, number and
special character validation.

Acceptance Testing:

User acceptance of the system is the key factor for the success of any system. This is
done by user. The system is given to the user and they test it with live data.
Acceptance testing involves the planning and execution of functional test.
Performance tests, stress tests in order to demonstrate that the implemented system
satisfies its requirements. Two sets of acceptance test can be run, those developed by
the customer. The system has been tested for its performance at unit level by the
individuals through performance testing that is designed to test the run time

38
Digital Diary

performance of the software. The performance of the fully integrated system is


tested and was found good.

8.5 Test Report, PrintOut Of The Reports & Printout Of

The Code Sheet:


TCP 1:
Project Name : Notescorner

Module Name: User(student)

Author Name: Amit & Rajesh

Pass Test: 05 Fail Test:00

39
Digital Diary

Sl Objective Precondition Test Test Data Expected Result Actual Pass/


no Steps Result Fail

TC To validate browser 1.enter http://localh notescorner web As Pass


_1 the should be the URL ost:8080 page should be expecte
Notescorner present and it in opened d
website should be address
opened bar

2.press
enter

TC Validating Login page 1.enter username : Amit should get As Pass


_2 login button should open valid m121 logged in expecte
with valid usernam d
username Password:
e
& password student100
2.enter
valid
password
3.click
on login
button

Validating Login page 1.enter username : System should As Pass


login button should open valid prompt error expecte
TC m121
with valid usernam message as invalid d
_3 username e Password: username or
& invalid 123 password
2.enter
password invalid
password
3.click
on login
button
TC Validating Login page 1.enter Customer System should As Pass
_4 login button should open invalid id: prompt error expecte
with invalid usernam message as invalid d
xyz
username e username or
& invalid Password: password
2.enter
password 123
invalid
password
3.click
on login
button

40
Digital Diary

TC Varifying Login Amit All the As Pass


_5 login Notescorner should buttons,labels,head expecte
Notescorner page should logged in ngs should be d
page be opened according to srs

TC Validating User should 1.click Notes list uploaded As Pass


_6 Notes Icon be logged in on Notes by User must expecte
of User Icon Visible. d

TC Validating User should 1.click Videos list As Pass


_7 Videos Icon be logged in on uploaded by User expecte
of User Videos must Visible. d
Icon

TC Validating User should 1.click Magazine list As Pass


_8 Magazines be logged in on uploaded by User expecte
Icon of Magazin must Visible d
User esIcon

TC Validating User should 1.click Files uploaded by As Pass


_9 File upload be logged in on File User must Visible expecte
Icon of uploads d
User Icon

TC Validating User should 1.click News Links list As Pass


_1 News Icon be logged in on News must be visible to expecte
0 of User Icon user. d

TC Validating User should 1.click Staff list on As Pass


_11 Staff details be logged in on staff notescorner must expecte
Icon of detailsIc visible to user. d
User on

TC Validating User Click on Password Must As Pass


_1 change change change. expecte
2 password Should password d
button of be logged button.
user.
in Insert old
and new
password
in
respectiv
e
textboxe

41
Digital Diary

s.

TC Validating User should Click on User must log out. As Pass


_1 Log out be logged in logout expecte
3 button of button d
user.

TCP 2:
Project Name : Notescorner

Module Name: User(staff)

Author Name: Amit & Rajesh

Pass Test: 05 Fail Test:00

Sl Objective Precondition Test Test Data Expected Result Actual Pass


no Steps Result /
Fail

TC To validate browser 1.enter http://localh notescorner As Pass


_1 the should be the URL ost:8080 expecte
Notescorner present and it in web page d
website should be address
opened bar should be

2.press opened
enter

TC Validating Login page 1.enter username David should As Pass


_2 login button should open valid :kle1000 expecte
with valid get logged in d
usernam
username Password:
e
& password 0906030559
2.enter
valid
password
3.click
on login

42
Digital Diary

button

Validating Login page 1.enter username : System should As Pass


login button should open valid prompt error expecte
TC m121
with valid usernam message as invalid d
_3 username e Password: username or
& invalid 123 password
2.enter
password invalid
password
3.click
on login
button
TC Validating Login page 1.enter Customer System should As Pass
_4 login button should open invalid id: prompt error expecte
with invalid usernam message as invalid d
xyz
username e username or
& invalid Password: password
2.enter
password 123
invalid
password
3.click
on login
button
TC Varifying Login David All the As Pass
_5 login Notescorner should buttons,labels,head expecte
Notescorner page should logged in ngs should be d
page be opened according to srs

TC Validating User should 1.click Notes list uploaded As Pass


_6 Notes Icon be logged in on Notes by User must expecte
of User Icon Visible. d

TC Validating User should 1.click Videos list As Pass


_7 Videos Icon be logged in on uploaded by User expecte
of User Videos must Visible. d
Icon

43
Digital Diary

TC Validating User should 1.click Magazine list As P ass


_8 Magazines be logged in on uploaded by User expecte
Icon of Magazin must Visible d
User esIcon

TC Validating User should 1.click Files uploaded by As Pass


_9 File upload be logged in on File User must Visible expecte
Icon of uploads d
User Icon

TC Validating User should 1.click News Links list As Pass


_1 News Icon be logged in on News must be visible to expecte
0 of User Icon user. d

TC Validating User should 1.click Staff list on As Pass


_11 Staff details be logged in on staff notescorner must expecte
Icon of detailsIc visible to user. d
User on

TCP 3:
Project Name : Notescorner

Module Name: Admin

Author Name: Amit & Rajesh

Pass Test: 05 Fail Test:00

44
Digital Diary

Sl Objective Precondit Test Steps Test Data Expected Atual Pass/


no ion Resultc Result Fail
TC To validate browser 1.enter the http://local notescorner As expected Pass
_1 the should be URL in host:8080 web page
Notescorner present address bar should be
website and it opened
should be 2.press enter
opened

TC Validating Login 1.enter valid username : Amit should As expected Pass


_2 login button page username m121 get logged in
with valid should
username open 2.enter valid Password:
& password password student100
3.click on
login button

Validating Login 1.enter valid username System As expected


login button page username : should
TC with valid should prompt error Pass
_3 2.enter m121
username open message as
invalid
& invalid Password: invalid
password
password 123 username or
3.click on password
login button
TC Validating Login 1.enter Customer System As expected Pass
_4 login button page invalid id: should
with invalid should username prompt error
xyz
username open message as
2.enter
& invalid Password: invalid
invalid
password 123 username or
password
password
3.click on
login button
TC Varifying Login David should All the As expected Pass
_5 login Notescorn logged in buttons,labels
Notescorner er page ,headngs
page should be should be
opened according to
srs
TC Validating User 1.click on Notes list As expected Pass
_6 Notes Icon should be Notes Icon uploaded by
of User logged in User must
Visible.

45
Digital Diary

TC Validating User 1.click on Videos list As expected Pass


_7 Videos Icon should be Videos Icon uploaded by
of User logged in User must
Visible.

TC Validating User 1.click on Magazine list As expected Pass


_8 Magazines should be MagazinesIc uploaded by
Icon of logged in on User must
User Visible

TC Validating User 1.click on File Files As expected Pass


_9 File upload should be uploads Icon uploaded by
Icon of logged in User must
User Visible

TC Validating User 1.click on News Links As expected Pass


_1 News Icon should be News Icon list must be
0 of User logged in visible to
user.

TC Validating User 1.click on Staff list on As expected Pass


_11 Staff details should be staff notescorner
Icon of logged in detailsIcon must visible
User to user.

TC Validating User Click on Password As expected Pass


_1 change should be change Must change.
2 password logged in password
button of button.
user.
Insert old and
new password
in respective
textboxes.

TC Validating User Click on User must As expected Pass


_1 Log out should be logout button log out.
3 button of logged in
user.

46
Digital Diary

9 User/Operational Manual:

9.1 User/Operational Manual:


NotesCorner providing Online notes, model question papers, syllabus copies,
educational videos, magazines and many more educational material. Any additional
modules can be added. in that project we are using main three modules that is:

1. Admin

47
Digital Diary

2. Student

3. Staff

1. First open the application through any browser.


2. If student is new to the application, student should register first using student registration
option. & then login through the particular username(USN) & password.
3. After login successfully, we go to the homepage of the application, there are some options
like Notes, Question papers, syllabus copies, videos, newspapers etc.
4.The student will first visit to home page there he will get various options.
5. When user will click on notes option he will get department options, user has to choose
department and subject of notes, then he will get the list of notes available to that
department subject.
6. To download that notes the user has to log in and then he can download that notes.
7. The same procedure will be for question papers and syllabus copies download.
8.On homepage only the video option is provided on clicking that option use will get
several educational links.
.

9..2 Future Enhancement:

This project ha0s been developed in the short duration.

Future Enhancement includes:

Allowing students to get more and more notes..


Students asks query about any subject.
Staff people will give answers to students query..
Any users can upload their files .
Any additional modules can be added.

9.3 Conclusion:

Software is said to have attained its objective only when it meet all requirements of the user,
further the user himself is the person to judge the success of the system. Every attempt has
been made to ensure that the system is fully functional & works effectively & efficiently.

48
Digital Diary

The system has been tested with simple data to cover all possible options & checked for al
outputs. Since the system is flexible & modular, further modifications of this package can
be easily incorporated.

Importance of the system:

Less manual work.

Increased efficiency.

Decreases the rate of errors.

It reduces the time consumption.

Quick (instant) result.

10 Bibliography:

Books

1. Software Engineering, by Ian Somerville, Sixth Edition, Pearson Education Ltd


2007.

2. Web Programming, by Chris Bates Wiley Dreamtech India, 2nd Edition.

3. IEEE SRS Format.

4. Database Management Systems, by Navathe.

Websites

1. http://en.wikipedia.org/wiki/PHP for Php.

2. http://www.hotscripts.com/category/php/ for Php

3. http://www.mysql.com/click.php?e=35050 for MySql

49
Digital Diary

4. http://w3schools.com for information on HTML.

50

You might also like