You are on page 1of 80

Contents

Table of Contents
1.1 Introduction: ........................................................................................................ 5
1.2 Problem Statement: ........................................................................................................................ 5
1.3 Scope of the Project: .................................................................................................................... 5
1.4 Purpose of the Project: ................................................................................................................... 6
5.5 7
Tools and technology used in project ................................................................................................... 7
1.5.1 HTML ...................................................................................................................................... 7
HTML is a language for describing web pages. ................................................................................... 7
1.5.2 Wampserver ............................................................................................................................. 8
1.5.3 PHP .......................................................................................................................................... 9
1.5.4 Mysql ....................................................................................................................................... 9
1.5.5 Java script ................................................................................................................................ 9
1.5.6 Microsoft Office .................................................................................................................... 10
1.5.7 Dream weaver ........................................................................................................................ 10
5.1 Existing System: .................................................................................................................... 12
5.2 Problem of existing system:................................................................................................... 12
Limitations in Existing System: .......................................................................................................... 12
2.2.1 Drawbacks of existing system ............................................................................................... 13
Proposed System:................................................................................................................................ 14
Benefits of proposed system: .............................................................................................................. 15
2.2.2 CMS Web Site is Database Driven: ........................................................................................ 15
2.2.3 Separate design and content: ................................................................................................ 15
2.2.4 Use cascading style sheets (CSS) to control appearance:...................................................... 15
2.2.5 Multiple users: ....................................................................................................................... 15
2.2.6 Access from anywhere:.......................................................................................................... 15
2.2.7 Html knowledge not required: .............................................................................................. 15
2.2.8 Saves time: ............................................................................................................................. 16
2.2.9 Accuracy:................................................................................................................................ 16
2.2.10 Security: ................................................................................................................................. 16

1
Contents

2.2.11 Proper way of searching the information:............................................................................. 16


2.2.12 Reduce hard work: ................................................................................................................. 17
2.2.13 User friendly interface: .......................................................................................................... 17
2.2.14 Low cost: ................................................................................................................................ 17
2.2.15 Easy to update: ...................................................................................................................... 17
2.2.16 Efficiency:............................................................................................................................... 17
Feasibility study .................................................................................................................................. 19
3.5.1 Technical Feasibility.............................................................................................................. 19
3.5.2 Economic Feasibility ............................................................................................................. 20
3.5.3 Legal Feasibility .................................................................................................................... 21
3.5.4 Operational Feasibility........................................................................................................... 21
3.5.5 Schedule Feasibility ............................................................................................................... 21
Software Requirements ...................................................................................................................... 21
3.5.6 Functional requirements ........................................................................................................ 22
3.5.7 Non functional requirements ................................................................................................. 22
3.5.8 Developer requirements ......................................................................................................... 24
3.5.9 Software Requirements Specification .................................................................................... 24
Waterfall Model .................................................................................................................................. 25
3.5.10 Requirement analysis and definition: .................................................................................... 26
3.5.11 System and software design: ................................................................................................. 26
3.5.12 Implementation and unit testing: .......................................................................................... 26
3.5.13 Integration and system testing: ............................................................................................. 27
3.5.14 Operation and maintenance:................................................................................................. 27
4 System Design ................................................................................................................................ 29
4.1 Interface Designs .......................................................................................................................... 29
4.2 Database Design .................................................................................................................... 31
DFD (Data Flow Diagram) ................................................................................................................. 42
4.5.2 DFD LEVEL 0....................................................................................................................... 42

6.1 Chapter 5 ........................................................................................................... 49


6.2 SYSTEM TESTING.......................................................................................... 49
5.1 Introduction: .......................................................................................................................... 50

2
Contents

5.2 Unit Testing ............................................................................................................................ 50


5.3 Integration Testing................................................................................................................. 50
5.4 Sub-System Testing................................................................................................................ 50
5.5 50
5.6 50
5.7 50
5.8 50
5.8.1 Functional Testing.................................................................................................................. 50
5.8.2 Performance Testing.............................................................................................................. 50
Black-box and White-box Testing ....................................................................................................... 51
Alpha and Beta Testing ....................................................................................................................... 51
Stress Testing ...................................................................................................................................... 51
TEST CASES WITH BLACK BOX TESTING .............................................................................................. 51
5.9 51
5.10 51
5.11 51
5.12 51
5.12.1 Black Box Testing ................................................................................................................... 51

SELECT RECORDS QUERIES: ............................................................................ 64


6.1 Select record from content Table: ......................................................................................... 64
5.5 64
Select Record from Members Table: .................................................................................................. 64
Select Record from Student Record Table:......................................................................................... 64
Select Record From Setting Table: ...................................................................................................... 65
Select Record From Announcement Table: ........................................................................................ 65
Get the user logged in Record from Table:......................................................................................... 65

6.3 INSERT RECORD QUEIRIES: ....................................................................... 66


Query To Insert Record into Members Table: .................................................................................... 66
Query to insert record into student table : ........................................................................................ 67

6.4 68
6.5 UPDATE RECORDS QUERIES: ..................................................................... 68

3
Contents

To update Record of Teacher Record Table: ...................................................................................... 68


To update record of student table :.................................................................................................... 69
To Update Record of Content Table: .................................................................................................. 70

4
List of Table

List of Table

Table 4.1-Announcment.34

Table 4.2-Comments...34

Table 4.3-Content.35

Table 4.4-Members..35

Table 4.5-Message....36

Table 4.6-Pics Path...36

Table 4.7-Settings..37

Table 4.8- Student Records..37

Table 4.9- Teacher Record38

2
Appendix

Appendix

Screen Shorts:

Home76

Faculty.77

Announcement.77

Result78

Discipline78

Contact us79

Portal online for lectures assignments and results 2


Appendix

List of Figure

Figure 4.1- Interface design33

Figure 4.2 Announcement..39

Figure 4.3 Comments..39

Figure 4.4 Content..40

Figure 4.5 Member.40

Figure 4.6 Message 41

Figure 4.7 Picture path41

Figure 4.8 Settings..42

Figure 4.9 Student record42

Figure 4.10 Teacher record.43

ERD.44

DFD Level-047

DFD Level-1(user)48

DFD Level-1(Admin)50

Portal online for lectures assignments and results 3


Chapter 1 Introduction

1. Chapter Introduction

Portal online for lectures assignments and results 4


Chapter 1 Introduction

1.1 Introduction:

Online Portal refers to the system and processes whereby information is created,
managed, Published, and archived. Information typically passes through this lifecycle for
a finite period of time. A Content management system (CMS) provides the necessary
infrastructure for multiple persons to effectively contribute content and collaborate
throughout these lifecycles.

It also gives as facilitate users with facility of video conferencing by this facility they can
online participate in their class from their homes or from anywhere else in the world.

1.2 Problem Statement:

In this modern area of complex and fast changes in technology, it is an awaited need to
improve our portal online system. It is the basic requirement to provide students and
teachers a reliable source which provides them the required information with ease and in
a faster way.

1.3 Scope of the Project:

The scope of this project is to change the Lectures, assignments and results system into
Portal Online system. Its purpose is to maintain online students record about his/her
work like assignments and results. The scope of this system is to collects data,
information and knowledge from direct sources.

The scope of project lies between the users to facilitate and make it possible to take
competitive advantage of getting information without visiting to schools. It involves
following major aspects involving great deal of attention on up gradation and online
record such as:

1. The system must be simple to use.


2. Yet also allow for flexible workflows in the process of editing and approving content
before it may be made publicly accessible.

Portal online for lectures assignments and results 5


Chapter 1 Introduction

3. Multiple users can access this system at same time.


4. Only authenticate user will access data

1.4 Purpose of the Project:

Some of the purposes of the system are listed below:

a) 24 hours Available :

Minimizes time of processing due to no time barrier, in university portal online system
time is reduced. Teachers can publish students result lot earlier than they could have in
case the same thing was required to be done manually following the traditional way.
Maximizes availability allows students to check results and submit assignments at their
convenient time.

b) No Geographical Limitations :

Teachers dont need take the burden of posting the results or assignment topics for
students.
Students can submit assignment and take lectures from any convenient place.

c) No Long Queues :

Students don't need to stand in long queues to get their queries answered.
Students don't need to queue up to know their results.

d) Reduces Paper Work:

University no longer requires printing & storing answer sheets.


Teachers have not to check and save the answer sheets.
Both these result in not only cost saving but also man power saving.

Portal online for lectures assignments and results 6


Chapter 1 Introduction

e) Accurate and Reliable:

In the traditional way human error might creep in due to hard work and monotonous
nature of work involving numbers.
Very Accurate and Reliable the process is very accurate and reliable due to limited
human involvement.
1.5 Primary Goals and Objectives of the Project:

The primary goal of the project is to provide cost effective and user friendly system to
facilitate the students of MUST instead of using the existing system. Existing system is
totally manual, based on registers. The objective is to automate the existing system and
follow the computerized system. So, that every person related to the organization can
done their duties efficiently and accurately. We make this system to help the MUST to
build their image and good will.

Tools and technology used in project


The tools and technologies that are used in this project are:

HTML
Wamp Server
PHP
Mysql
Java script,
Microsoft Office
Dreamweaver

1.5.1 HTML

HTML is a language for describing web pages.

HTML stands for Hyper Text Markup Language


HTML is not a programming language, it is a markup language
A markup language is a set of markup tags

Portal online for lectures assignments and results 7


Chapter 1 Introduction

HTML uses markup tags to describe web pages


HTML tags are keywords surrounded by angle brackets like <html>
HTML tags normally come in pairs like <b> and </b>
The first tag in a pair is the start tag, the second tag is the end tag
Start and end tags are also called opening tags and closing tags

1.5.2 Wampserver

Wampserver is a Windows web development environment.


It allows you to create web applications with Apache, PHP and the Mysql database.
It also provides Admin panel to easily manage our database.
Wampserver is the only packaged solution that will allow you to reproduce your
production server. Once Wamp server is installed, you have the possibility to add as
many Apache, Mysql and PHP releases as you want.
Wampserver 2.1 includes: Apache 2.2.17, Mysql 5.5,8, and PHP 5.3.5.

1.5.2.1 Functionalities:

WampServer's functionalities are very complete and easy to use so we won't explain here
how to use them.
With a left click on WampServer's icon, you will be able to:
Manage your Apache and Mysql services
Switch online/offline (give access to everyone or only local host)
Install and switch Apache, Mysql and PHP releases
Manage your servers settings
Access your logs
Access your settings files
Create alias
With a right click:
- change WampServer's menu language
- access this page

Portal online for lectures assignments and results 8


Chapter 1 Introduction

1.5.3 PHP

PHP stands for PHP: Hypertext Preprocessor


PHP is a server-side scripting language, like ASP
PHP scripts are executed on the server.
PHP supports many databases like Mysql.
PHP is an open source software
PHP is free to download and use

1.5.4 Mysql

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. A company may have a database with the
following tables: "Employees", "Products", "Customers" and "Orders". A database most
often contains one or more tables. Each table is identified by a name (e.g. "Customers" or
"Orders"). Mysql is ideal for both small and large applications. Mysql supports standard
SQL.

1.5.5 Java script

Java script is a computer language specially designed to work with internet browsers. It
tells you create small programs called scripts and embed them inside HTML pages to
provide interactive content on your web pages.

Java script is an interpreted language. This means that the script is not compiled before it
is executed. Each java script statement in the script is processed as the browser reads it.

Portal online for lectures assignments and results 9


Chapter 1 Introduction

1.5.6 Microsoft Office

Microsoft word is most frequently used software in the word for purpose of
documentation and printed work. Microsoft Word is the word processing program used
on most computers. With Word, we can create documents and complete a number of
other functions related to word processing. This program has several advantages that can
benefit us. One benefit of using Microsoft Word is that it easily integrates with other
Microsoft Office programs. For example, if we have a spreadsheet that you created on
Microsoft Excel, you can easily paste it into a Word document.

While creating a document, Word also helps us to make sure that it is the best or need
further modifications. When we misspell a word, Microsoft Word will immediately
underline it. We can then click on the word and get suggested spellings. Another
advantages of using Microsoft Word is that it is available practically everywhere. It
provide lots of other facilities such as spelling check, different styles of writing and font
sizes, font color, text alignment, ding pictures, tables, charts, different symbols and
equations and many more.

1.5.7 Dream weaver

Adobe's Dreamweaver is a simple HTML editor. Dreamweaver is the most powerful,


most fully featured web developer tool. It allows any type of users, from beginners to
professionals, from designers to developers, to easily and conveniently create simple or
complex dynamic websites.

There are many advantages with using Dreamweaver for designing and maintaining web
sites. It provides split view interface so the user can quickly build a page in the design
view and then improve the html in the coding view. The user may adjust code coloring,
what fonts are used for coding.

Portal online for lectures assignments and results 10


Chapter 2 Existing and Proposed System

1 Chapter: Existing and proposed system

Portal online for lectures assignments and results 11


Chapter 3 Feasibility study and requirement

5.1 Existing System:


Existing System takes lots of time in performing different activities, and there is no
centralized data handling. There is no integration in the current system upon common
data format. Even with computers, Assignments, notes and results are traditionally been
done on paper, processed by hand and response letters written from a template by a
receptionist. Some major problems in exiting system are: its very difficult for a teacher
to collect assignment individually and give notes to each student individually. Mostly
assignments are given in form of hard copy so there is a chance of misplacing
assignments .Teacher has to note which student has submitted assignment and which has
not submitted yet This system is time consuming and now in present time is important
factor of everyones life, so for saving everyones time this System is introduced. This
system is very helpful for both teachers and students.

5.2 Problem of existing system:


In present time when everything is changing because of technology .Everything is
becoming computerized, this is due to the rapid change in technology .Now in field of
study this field is overtaking manual system. Online study is possible its very difficult
for a teacher to collect assignment individually and give notes to each student
individually. Mostly assignments are given in form of hard copy so there is a chance of
misplacing assignments .Teacher has to note which student has submitted assignment and
which has not submitted yet This system is time consuming and now in present time is
important factor of everyones life, so for saving everyones time this System is
introduced. This system is very helpful for both teachers and students.

Limitations in Existing System:

The existing system faces some difficulties and problems in the admission. Participants
information about registration, fee & personal information is stored in registers and files
and it is very difficult to maintain these files and registers separately. When
administration needs to get information for some purpose then it is very difficult for them
to search complete information from a large number of registers which are used to save
multiple records.

Portal online for lectures assignments and results 12


Chapter 3 Feasibility study and requirement

System is register based so a lot of time required to search any type of record. More
people are required to work for such system. Response time is also slow and maximum
throughput of the system is less.

The existing system takes a lot of time to perform any task. It is very time consuming
system when search any information and record of an individual. The process of editing
and updating specific record becomes very difficult and sometimes it may become
impossible and it takes a lot of time.

2.2.1 Drawbacks of existing system

We have observed following drawbacks in the existing system:

2.2.1.1 Time consuming:

As the current system is totally manual, therefore, retrieval and data entry is time
consuming. To find errors or to get any information, all the records have to be searched
one by one.

2.2.1.2 Record keeping:

The manual record keeping is always very difficult. It is very difficult to manage the huge
amount of data manually. In addition, it is difficult to keep the data and information about
the students such as roll no, name, class, admission etc.

2.2.1.3 Data redundancy:

Due to manual system many mistakes occur, one record is saved several times in
different registers, therefore, redundancy is a big problem in existing system.

2.2.1.4 Data insecurity:

Any unauthorized user can access the data. When information is stored in registers then
any person which is not related can access it and change. In the existing system all data is

Portal online for lectures assignments and results 13


Chapter 3 Feasibility study and requirement

stored manually that is not secure but on the other side the user which dont have login
account cant login in the software and cant access the information.

2.2.1.5 No backup:

When data is stored in the registers, Recovery is not possible in case of natural disaster
e.g. earthquake, because there is no backup facility.

2.2.1.6 Workload on individual:

In manual system, work load on individual is greater because each person have to
maintain different types of record and carry on many calculations. Thats why work load
on a single person is greater and completion of work in time is difficult.

2.2.1.7 Stationary usage:

Current system manages its data manually, due to which a lot of stationary is used. Hence
daily expenses increase.

2.2.1.8 Wastage of resources:

Due to manual system, many resources are wasted. For example redundant information is
stored in big registers to keep the record but on the other hand computer system cost is
one time that is less in cost than existing system.

Proposed System:

Due to the rapid changes in daily life and in information technologies (IT), there occurs a
need to shape educational institutions parallel with technological innovations. In order to
transfer updated and reconstructed knowledge and make efficient use of IT technologies,
pre-service teachers should use the latest technology for both keeping themselves up-to-
date and transferring what is learned to new generations. Unfortunately, traditional

Portal online for lectures assignments and results 14


Chapter 3 Feasibility study and requirement

educational system is not capable of meeting those expectations and there is a need for a
solution to be proposed.
These expectations about how to use new technologies more efficiently in education is an
important option to propose new solutions. One of the solutions which can be helpful for
both students and teachers in an e-learning environment is to use content management
systems. This system facilitates both teachers and students for submission of assignments
providing notes and giving online lectures by video conferencing. To maintain data
security each user should log in with their user name and passwords.

Benefits of proposed system:

2.2.2 CMS Web Site is Database Driven:


This allows you to create and store hundreds or thousands of pages in the database
without the need to update each one of them.

2.2.3 Separate design and content:


The design of the site template is separate from the content. This allows you to change
the design any time without affecting the content.

2.2.4 Use cascading style sheets (CSS) to control appearance:


Altering one CSS file will allow you to change the design and/or color of your CMS site.
The consistency of the design can be preserved.

2.2.5 Multiple users:


If you have different authors that wish to contribute to your web site you can set up
multiple user access in the administration panel. They can just login and begin adding
their content.

2.2.6 Access from anywhere:


Authors and editors can access the site from any computer with an internet connection.
This means users can update the site at the same time from any location in the world.

2.2.7 Html knowledge not required:


This site allows non-technical people to add content. They just need to login with a user
name and password then use the web editor thats built into add their content.

Portal online for lectures assignments and results 15


Chapter 3 Feasibility study and requirement

2.2.8 Saves time:


If you were using a static site to add content from multiple authors, each author would
have to download the pages from the server to their computer first, update them, and then
upload them back to the server. This would be very time consuming and could generate a
lot of errors.

The proposed system will be a faster system. Less time will be required to search, view
update, delete any type of record. The proposed system fulfills the client request quickly.
For example when any type of record is needed less time will be required. So it is a faster
system.

2.2.9 Accuracy:

The system will provide the accurate information needed for decision making it will also
ensure efficient and accurate record keeping. When records are updated then our
proposed system will maintain accuracy of record. For example, Student result will be
compiled by computer so it will give the accurate result.

2.2.10 Security:

The security is the main quality of any application so our proposed system will also
provide the security to protect the data from unauthorized person by using passwords .As
SQL server is used for designing backend so all the request of data are to be inserted in
table to insert, update, delete or view the record from table must be routed through
DBMS engine only. Since there is a single point of control for the data manipulation,
therefore it provides the excellent data security.

2.2.11 Proper way of searching the information:

The proposed system will provide better mechanism for searching the record. For
example, if we want to search the result of student it provides a proper way to search the
information.

Portal online for lectures assignments and results 16


Chapter 3 Feasibility study and requirement

2.2.12 Reduce hard work:

Our proposed system will require the minimum hard work; anyone with a least
knowledge of computer can use this system and produce good result. So our system will
reduce the maximum hard work .Anyone can use this system easily. For example fewer
people are required to manage the organization so it will reduce the hard work.

2.2.13 User friendly interface:

The system provides an easy interface. This interface provides the method of maximum
selection of information, so anyone has to input last information.

2.2.14 Low cost:

Proposed system will be cost effective because few people will be required to working
efficiently with the help of new system. Once system has been purchased then all time
work is done on the system. So it will be cost effective.

2.2.15 Easy to update:

Information stored in computer will be easily modified. For example if a student got
admission we can easily insert, update and delete the record of student. So it will be
easily updated.

2.2.16 Efficiency:

Efficiency of any system is concerned with the minimum transaction processing time as
well as optimal use of system resource .In designing the proposed system, the efficiency
factor has been taken well to consideration .Performance of the system is greatly
enhanced.

Portal online for lectures assignments and results 17


Chapter 3 Feasibility study and requirement

2 Chapter:

Feasibility study and requirement analysis

Portal online for lectures assignments and results 18


Chapter 3 Feasibility study and requirement

Feasibility study

Being the first step in the development of existing software is the feasibility study. A
feasibility study is an evaluation of a proposal designed to determine the difficulty in
carrying out a designed task. A Feasibility study is a short, focused study that aims to
answer a number of questions:

1. Does the system contribute to the overall objectives of organization?


Yes Our system is fully contributing to overall objectives of organization
2. Can the system be implemented using current technology and within given
cost and time?
Yes the system which we are implementing is within current technology
cost and time.
3. Can the system be integrated with other systems which are already in
place?
Yes we have integrated our system with other system which are already in
place.

Generally, a feasibility study precedes technical development and project


implementation. Our project is feasible according to the following rules:

3.5.1 Technical Feasibility

In technical feasibility we have to determine whether a particular technology that is


required for development and running of our project is available and is capable to meet
the user request. The main points considering our technology feasibility are:

With the previous system the maintenance of the security occurred. The data was
entered manually could be changed by anyone. Large amount of money spent still created
the problem of security. It could be changed easily. This system provides solution for this
system. This system includes the security system which can access by only specific users
and will maintain the integrity and security of the data as well.

Portal online for lectures assignments and results 19


Chapter 3 Feasibility study and requirement

With the previous system the time savage problem was a great problem. Any data
to be reread by the any user of the organization needed time as large data being entered in
manually. With this system the problem of the problem of the time is solved. Any data
needed to be accessed at any time could be within any time. As time is a key factor to
success.
With the previous system the main disadvantage was that it was not compatible
with the latest technology. Today is an age of science. Every organization wants to get
best result of services provided. With the system organization is able to be in race and be
able to compete with the other organization.

With the previous system to transfer data to another organization was problem.
The data first was of large space already. A lot of work and money was required for that.
With the new system it can be transferred to another organization with no
problem.

3.5.2 Economic Feasibility

Economic analysis is the most frequently used method for evaluation effectiveness of the
proposed system. More commonly known as the cost/benefit analysis, the procedure is to
determine the benefit and saving that are expected from a proposed system and compare
them with cost. If benefit out weight costs then the decision is made to design and
implement the system. Otherwise, further justifications are alterations in the proposed
system will have to be made. The main points considering economical feasibility of our
system are:

With the previous system the problem of saving of pervious data and the latest
information being entered was faced. As in manual system the data kept in register and
large spaced required which increases the average investment spends on the organization.
With our new system our large problem is solved. This system allows handling
data of great size with no problem with small space occupied which shows a great drop in
the price.

Portal online for lectures assignments and results 20


Chapter 3 Feasibility study and requirement

3.5.3 Legal Feasibility

The tools that are used for the project development are totally legal.

3.5.4 Operational Feasibility

Operational feasibility depends on human resources available for the project and involves
projecting whether will be operated and used once it is installed. To determine
operational feasibility following criteria has implemented.

Top-level management will easily support because there are so many complexities
resolved by adopting intended system
The new system contains the easy operational keys for entering the data. It helps the staff
to operate easy they entered information.
There will be no performance decline in any way for the organization; rather it will
enhance the capability of the organization.
Our software can be easily expended in future according to user requirements. Any
programmer of language can easily understand our system.

3.5.5 Schedule Feasibility

A project will fall if it takes too long to be completed before it is useful. Typically this
mean estimating how long the system will take to develop and if it can be completed in
given time period using some methods like payback period. Schedule feasibility is a
measure of how reasonable the project timetable is. Some projects are initiated with
specific deadlines. You need to determine whether the deadlines are mandatory or
desirable.

Software Requirements
The requirements for the system are the description of services provided by the system
and its optional constraints. These requirements reflect the needs of customer for system
that helps solve some problem such as controlling a device placing an order or finding
information.

Portal online for lectures assignments and results 21


Chapter 3 Feasibility study and requirement

3.5.6 Functional requirements

Functional requirements are those which involve input, output and processing. These
requirements are regarding to the working of the system. System should be interactive &
easy to navigate through so that user would be able to get the required services with ease.
The functional requirements of the proposed system are following.

System will maintain the students registration and login information.


System will maintain teachers registration and login information.
The system will facilitate administration to add, edit, and delete student record. User can
see the record of these students.
System must keep previous result record of each student.
System will maintain information about teachers record regarding their designation, id
number, qualification, and/or additional assignment etc.
System will allow only authorize user can access the system.

3.5.7 Non functional requirements

Non functional requirement are those requirements which are not directly concerned with
the specific functions delivered by the system. They may relate to emergent system
properties such as reliability response time and store occupancy .They doesnt involves
input, output and processing of system rather these are regarding to the accuracy and
working of the system under design. Following are the non-functional requirements
which are to be fulfilled by the system to make itself a more powerful system:

Maintainability
This portal needs little technical knowledge and needs to have a website that is easy to
maintain and requires minimal updates outside content.

Requirement Priority
System is easy to maintain and update. High
Training should be conducted to ensure staff understands how to use the CMS High

Portal online for lectures assignments and results 22


Chapter 3 Feasibility study and requirement

(Content Management System) and is able to maintain the system internally


Provide full documentation that staff can use if internal maintenance or updating is
High
required; create a quick reference guide to troubleshoot common issues.
Customize CMS (Content Management System) to meet needs so that little internal
High
customization is needed after the project team leaves

Portability This web application will be viewed from several different platforms and
browsers, so compatibility is crucial. While mobile use may be considered in the future
with the portals, it is not currently a priority.

Requirement Priority
Check cross-browser compatibility (IE 7, IE 8, Firefox, Google Chrome, Safari) High
Downloadable content must be compatible with different platforms (Windows, Mac,
High
Linux)

Scalability The Content Management System (CMS) can handle growing data
storage and servers can handle increasing traffic.

Requirement Priority
This CMS provides database that has the capacity for the potential growth High
Capacity requirements should be checked with host to ensure server scalability Medium

Security A multi-level access system needs to be in place so only admens have full
back-end access.

Requirement priority
Multi-level access for staff (admin, teacher, etc.) High
Password login for portal (student, etc.) High

Portal online for lectures assignments and results 23


Chapter 3 Feasibility study and requirement

3.5.8 Developer requirements

These requirements involve requirement related to the developer such as required data,
tools and technology required to complete the project.

Web page development tools, Dreamweaver, Notepad


Grip on the languages PHP, HTML, and Mysql.
Domain for the school system.

3.5.9 Software Requirements Specification

The software requirements specification is the official statement of what the system
developers should implement. It should include both the user requirements for a system
and detailed specification of the system requirements.
Back-end

o MySQL 5.5.8

Front-end

o PHP 5.3.5
o Dreamweaver CS3
o HTML

Web-Server

o Apache 2.2.17

Operating System
o Windows XP/Windows 8

Portal online for lectures assignments and results 24


Chapter 3 Feasibility study and requirement

Browser
o Internet Explorer,
o Chrome
o Firefox
o Maxthon 3

Waterfall Model
There is growing recognition that software, like all complex systems, evolves over a
period of time. Business and product requirements often change as development
proceeds, making a straight path to an end product unrealistic; tight market deadlines
make completion of a comprehensive software product impossible, but a limited version
must be introduced to meet competitive or business pressure; a set of core product or
system requirements is well understood, but the details of product or system extensions
have yet to be defined. In these and similar situations, software engineers need a process
model that has been explicitly designed to accommodate a product that evolves over time.
The linear sequential model is designed for straight-line development.
In general, it is not designed to deliver a production system. The evolutionary nature of
software is not considered in either of these classic software engineering paradigms.
Evolutionary models are iterative. They are characterized in a manner that enables
software engineers to develop increasingly more complete versions of the software.

Portal online for lectures assignments and results 25


Chapter 3 Feasibility study and requirement

Requirements
definition

System and software


design

Implementation and
unit testing

Integration and system


testing

Operation and
maintenance

Figure3.1-Waterfall model

3.5.10 Requirement analysis and definition:


The systems service, constraints and goals are established by consultation with system
users. They are then defined in detail and service in system specifications.

3.5.11 System and software design:


The system design process partition the requirements to either hardware or software
system. It established overall system architecture. Software design involves identifying
and describing the fundamentals software system subtractions and their relationships.

3.5.12 Implementation and unit testing:


During this stage the software designed is released as a set of programs or program
unites. Unit testing involves verifying that each unit meets its application.

Portal online for lectures assignments and results 26


Chapter 3 Feasibility study and requirement

3.5.13 Integration and system testing:


The individual program units or the programs are integrated and tested as a complete
system to ensure that the software requirement has been met. After testing, the software is
delivered to the system.

3.5.14 Operation and maintenance:


Normally this is the longest lifecycle phase. The system is installed and put into the
practical use. Maintenance involves correcting errors which were not discovered in
earlier stages of the life cycle, improving the implementations of the system unit and
enhancing the systems services as new requirements are discovered.

Portal online for lectures assignments and results 27


Chapter 4 System Design

4. Chapter

System Design

Portal online for lectures assignments and results 28


Chapter 4 System Design

4 System Design

The design is based on the information obtained during the system analysis. In this phase,
all the processes of proposed system are designed. This is identification that what are the
different processes, how they will be implemented and how they will interact with each
other. The design of the system is the best if it is built precisely according to the analysis
made. It completely satisfies the requirements of the organizations. At this phase we will
design our software completely. Basic design activities include:

Interface design
Database design

4.1 Interface Designs

Application interface is a source through which user can interact with the system. It also
encompasses the way through which user will input into the system and acquired desired
output from the system. In the interface design we take the interest of the user therefore
our design is user friendly. When making user interface design decisions, you should take
into account the physical and mental capabilities of the people who use software. We
dont have space to discuss human issues in detail here but important factor that you
should consider are:

Portal online for lectures assignments and results 29


Chapter 4 System Design

Interface Design

Portal for online lecture assignments & results

Logo

Profile Faculty announcement Result Discipline Contact

Members login
Username:
Announcements

Sliders Password:

Content

Figure 4.1-Interface Design

Portal online for lectures assignments and results 30


Chapter 4 System Design

4.2 Database Design

Database is a collection of data items or entities with some logical relationship among
them. An entity is a person, a thing or an event about which an organization desire to
collect and maintain the information. The purpose of database is to store the information
that is used by the system.

Table 4.1-Announcements

Table 4.2-Comments

Portal online for lectures assignments and results 31


Chapter 4 System Design

Table 4.3-content

Table 4.4-members

Portal online for lectures assignments and results 32


Chapter 4 System Design

Table 4.5-Messages

Table 4.6-Pics Path

Portal online for lectures assignments and results 33


Chapter 4 System Design

Table 4.7-Settings

Table 4.8-Student.Records

Portal online for lectures assignments and results 34


Chapter 4 System Design

Table 4.9-Teachers Record

Database design can be divided into following:

4.5.1.1 Logical Database Design

The process of mapping the conceptual data model to structure data specified to the target
DBMS. If the target environment is a relational DBMS, then the conceptual data model
are mapped to normalized relation. Relations formed according to entity relationship
diagram.

Portal online for lectures assignments and results 35


Chapter 4 System Design

Member.id semester
Annou.id

title

discipline
Announcements

description
Date post

session photo

Figure 0.2 Announcements

Comment.id

status
Comment

Comments

email
name

announcements

Figure 0.3 Comment

Portal online for lectures assignments and results 36


Chapter 4 System Design

metadesc Page id

image name
Content

description title

Figure 0.4 Content

Roll No
Member id Users

Email Password

Phone
Level

Members

Semester

Full name

Session

Type
Discipline
Status Designation

Figure 0.5 Members

Portal online for lectures assignments and results 37


Chapter 4 System Design

name title

msgid
Description

Date post

Messages From

Too

Member id
Status1
status

Figure 0.6 Messages

Id Image url

Pic path

Figure 0.7 pic path

Portal online for lectures assignments and results 38


Chapter 4 System Design

Fav icon
Email Site url

Setting Settings id
Phone

Meta Desc
Title
Footer

Figure 0.8 setting

Date post File post

S. record id

Subject

Std record Title

Discipline

Description

Semester Member
Session id

Figure 0.9 std record

Portal online for lectures assignments and results 39


Chapter 4 System Design

Type
Upload
file
Teacher id

Mem-id

Title

Tec Record

Date
post
Description

Discipline
Semester
Session

Figure 0.10 Teacher Record

Portal online for lectures assignments and results 40


Chapter 4 System Design

4.5.1.2 Physical Database Design

The process of mapping the database structure from logical design into physical storage
structures such as files and tables. A major objective of physical design is to provide
adequate performance for user application in term of response time, through rates and so
on. Also physical design is concerned, backup recovery and normalized database tables.

ERD

Records
Made

has

Announcements
Teachers
Upload

View Assignments

Students Manage
Admin

Communicate Results

Download
Message
s

Portal online for lectures assignments and results 41


Chapter 4 System Design

DFD (Data Flow Diagram)

A data flow diagram (DFD) is a graphical representation of the "flow" of data through an
information system. DFDs can also be used for the visualization of data processing
(structured design). On a DFD, data items flow from an external data source or an
internal data store to an internal data store or an external data link, via an internal process.

A DFD provides no information about the timing of processes, or about whether


processes will operate in sequence or in parallel. It is therefore quite different from a
flowchart, which shows the flow of control through an algorithm, allowing a reader to
determine what operations will be performed, in what order, and under what
circumstances.

In design phase the analysis of the system is first done so far. For this purpose structured
approach is used and analysis is done by using tool like DFD for easy understanding of
user. For this purpose different levels of data flow diagram are adopted and relation
between the working of administrator, user and system are drawn graphically with the
help of diagrams. DFD completely shows the structure of organization and system.

Here the rectangle shows the input/output signal, circle shows the processes, arrowhead
shows the flow of data. Following levels of a DFD are maintained.

1. DFD level 0
2. DFD level 1

4.5.2 DFD LEVEL 0


A context-level data flow diagram is drawn first, which shows the interaction between
the system and external agents which act as data sources and data links. On the context
diagram (also known as the 'Level 0 DFD') the system's interactions with the outside
world are modeled purely in terms of data flows across the system boundary.

The context diagram shows the entire system as a single process, and gives no clues as to
its internal organization. This level shows the overall context of the system and its
operating environment and shows the whole system as just one process. It does not

Portal online for lectures assignments and results 42


Chapter 4 System Design

usually show data stores, unless they are "owned" by external systems, e.g. are accessed
by but not maintained by this system, however, these are often shown as external entities.

DFD Level-1

DFD Level-1 shows interaction between user and system, it describes all the actions perform by
the user with data. It shows where data stores and where it comes from. User send any request
and system gives some results.

Portal online for lectures assignments and results 43


Chapter 4 System Design

DFD Level-0

User (Teacher/Student) System Admin

Request for registration Login request


Portal Online for

Registration response Teachers & studentsLogin accept/Error

Login request Manage profile information

Login accept/Error Managed successfully

Request For profile information Manage faculty information

Profile information displayed Managed successfully

Request for Teacher record Manage announcements

Teacher record displayed Managed successfully

Request for add/view announcements Manage Result record

Announcements displayed/added Managed successfully

Request for student record

Student record displayed

Request for View discipline

Discipline displayed

Request for message

Message sent

Portal online for lectures assignments and results 44


Chapter 4 System Design

DFD Level-1 (User)

View/add announcement View/add announcement


1.0
Displayed/Added Displayed/Added Announcements
Announcement

View/add comments View/add comments

2.0
Displayed/Added Displayed/Added Comments
Comments

Request for Content Request for Content

3.0
Content Displayed Content Displayed Content
Content

User

Login Request Login Request


4.0
Successful/Error Successful/Error Members
Members Login

Successful/Error Send Messages


5.0
Sent/Error Sent/Error Messages
Messages

Request for picture path Request for picture path

6.0
Successful/Error Successful/Error Picture path
Picture path

Request for add/edit/delete Request for add/edit/delete


7.0

Successful/Error Settings Successful/Error Settings

Portal online for lectures assignments and results 45


Chapter 4 System Design

Request for stud. Record Request for stud. Record


8.0
Record displayed Record displayed Stud. Record
Stu.Record

Display Teacher Record Display Teacher Record


9.0

Displayed/Error Tech.Record Displayed/Error Tech.Record

Portal online for lectures assignments and results 46


Chapter 4 System Design

DFD LEVEL-1(Admin)

Add/Edit/Delete announcement Add/Edit/Delete announcement


1.0
Added/edited/deleted Added/edited/deleted Announcements
Announcement

Add/Edit/Delete comments Add/Edit/Delete comments

2.0
Added/edited/deleted comments Added/edited/deleted Comments
Comments

Add/edit/delete Content Add/edit/delete Content

3.0
Added/edited/deleted content Added/edited/deleted Content
Content

Admin

Add/edit/delete members Add/edit/delete members


4.0
Added/edited/deleted Added/edited/deleted Members
Members Login

Add/edit/delete Messages Add/edit/delete Messages


5.0
Added/edited/deleted messages Added/edited/delete Messages
Messages

Request for picture path Request for picture path

6.0
Successful/Error Successful/Error Picture path
Picture path

add/edit/delete settings add/edit/delete settings


7.0

Successful/Error Settings Successful/Error Settings

Portal online for lectures assignments and results 47


Chapter 4 System Design

Add/edit/delete stud. Record Add/edit/delete stud. Record


8.0
Added/edited/deleted Added/edited/deleted Stud. Record
Stu.Record

Add/edit/delete Teacher Record Add/edit/delete Teacher Record


9.0

Added/edited/deleted Tech.Record Added/edited/deleted Tech.Record

Portal online for lectures assignments and results 48


Chapter 5 System Testing

6.1Chapter 5

6.2SYSTEM TESTING

Portal online for lectures assignments and results 49


Chapter 5 System Testing

5.1 Introduction:
In the software engineering context, testing is regarded as quality assurance activity.

Its aim is to verify/ensure compliance of the software component under test with stated
requirements.

There are two main categories of testing: static & dynamic. Static testing techniques
include desk checking, walkthroughs, inspections & compiling. Dynamic testing
comprises both white box & black box testing techniques.

5.2 Unit Testing


Unit testing is the testing of a single module of a code. This is done by the coder. In this
type of testing ,various modules of the system were tested individually e.g. registration,
logging in, making appointments, adding removing or updating the records etc. In this
phase, black box testing explained later was applied to remove errors.

5.3 Integration Testing


Integration testing was the activity of finding errors when different units were integrated
& tested the individually tested components together, e.g. In this phase all the modules
e.g registration, logging in ,changing password etc were all integrated together & were
tested by using Black box testing.

5.4 Sub-System Testing


Multiple modules were tested together. It is seen that what kind of errors in result have
been found in contrast to the requirements obtained in analysis & design phase of the
system development.

Two kinds of system level testing is done

5.8.1 Functional Testing


The requirements from the REQUIREMENT analysis document were tested to

find the functional requirements fulfillment without errors.

5.8.2 Performance Testing


Performance testing was performed to check the non-functional requirements.

Portal online for lectures assignments and results 50


Chapter 5 System Testing

All the non-functional requirements of the system were checked & all the problems &

Errors were recorded.

Black-box and White-box Testing


In Black box testing, the system was tested without using knowledge of the system
internals to test.

Black box testing techniques comprise equivalence partitioning, boundary value analysis,
logic-based testing, & data validation testing.

In White box testing, the system was tested where knowledge of the internals was used to
test.

White box testing technique comprises basic path testing, graph matrices & loop testing.
Graph matrices, in the form of connection matrices, are generated by flow analyzers.
Loop testing is specifically for loops & is used as a supplementary measure.

Alpha and Beta Testing


After conducting all kinds of the previously mentioned tests, Alpha testing was
performed by considering the full completion of the project. It was internal testing before
release.

Stress Testing
Stress testing is done to ensure that the system meets the requirements even in full
production mode & in more than typical production scenarios.

TEST CASES WITH BLACK BOX TESTING


A test case is done with the set of input data & expected results that exercises a
component with the purpose of causing failures & detecting faults. Following are some of
the test cases to test the application:

5.12.1 Black Box Testing

Portal online for lectures assignments and results 51


Chapter 5 System Testing

Identification
The identification of this test case is 1
Actor
Admin
Test Item
To test the input made for registration of user
Input specifications
Numeric value in first name
Output specification
Error message, please enter alphabetic value
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required

Identification
The identification of this test case is 2
Actor
Admin
Test Item
To test the input made for registration of user
Input specifications
Two character long username
Output specification
Error message, User name should not be less then 3
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies

Portal online for lectures assignments and results 52


Chapter 5 System Testing

No one

Identification
The identification of this test case is 3
Actor
Admin
Test Item
To test the input made for registration of user
Input specifications
Email address without @ sign
Output specification
Error message, please enter correct email address
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one

Identification
The identification of this test case is 4
Actor
User
Test Item
Members Login
Input specifications
Email & password
Output specification

Portal online for lectures assignments and results 53


Chapter 5 System Testing

Login Successful
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one

Identification
The identification of this test case is 5
Actor
User
Test Item
Profile button in menu item
Input specifications
Login & Mouse click on Profile button
Output specification
Profile is opened/Login First to access
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one

Identification
The identification of this test case is 6
Actor
User

Portal online for lectures assignments and results 54


Chapter 5 System Testing

Test Item
Faculty button in menu item
Input specifications
Mouse click on faculty button
Output specification
List of faculty is displayed
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one

Identification
The identification of this test case is 7
Actor
User
Test Item
Announcements Button in menu item
Input specifications
Mouse click on announcements
Output specification
Recent announcements should open
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one

Portal online for lectures assignments and results 55


Chapter 5 System Testing

Identification
The identification of this test case is 8
Actor
User
Test Item
To view the result of particular student
Input specifications
Enter roll no of student
Output specification
Result record is viewed
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one

Identification
The identification of this test case is 9
Actor
Admin
Test Item
To register new user
Input specifications
Fill the registration form and click on register button
Output specification
User register successfully
Environmental needs

Portal online for lectures assignments and results 56


Chapter 5 System Testing

PHP & Html


Special procedural requirement
No special procedure is required
Inter-case dependencies
No one

Identification
The identification of this test case is 10
Actor
Admin
Test Item
Add new student record
Input specifications
Fill the form and click on save button
Output specification
Student record added
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one

Identification
The identification of this test case is 11
Actor
Admin
Test Item
To edit particular record

Portal online for lectures assignments and results 57


Chapter 5 System Testing

Input specifications
Edit particular record field
Output specification
Record edit successfully
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one

Identification
The identification of this test case is 12
Actor
Admin
Test Item
To add result record of student
Input specifications
Enter subject vise result and click on save button
Output specification
Result save
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one
Identification
The identification of this test case is 15
Actor

Portal online for lectures assignments and results 58


Chapter 5 System Testing

User
Test Item
To test the logout button
Input specifications
Mouse click on logout button
Output specification
Logout successfully
Environmental needs
PHP & Html
Special procedural requirement
No special procedure is required
Inter-case dependencies
No one

Portal online for lectures assignments and results 59


Chapter 5 System Testing

5.9 System Evaluation:

1. The project is fulfilling the following objectives:


2. User can sign up
3. Keep track of history
4. User & Admin can update & maintain the records
5. User & Admin can change password
6. User can make request for appointments
7. View Donations
8. Admin can remove ,add or modify profiles
9. User can view news and events
10. User can also view other staff

Portal online for lectures assignments and results 60


Chapter 5 System Testing

Portal online for lectures assignments and results 61


Chapter 5 System Testing

Portal online for lectures assignments and results 62


Chapter 6 Implementation

6. Chapter

Implementation

Portal online for lectures assignments and results 63


Chapter 6 Implementation

SELECT RECORDS QUERIES:

6.1 Select record from content Table:


mysql_select_db($database_cmsmust, $cmsmust);

$query_pages = "SELECT * FROM content";

$pages = mysql_query($query_pages, $cmsmust) or die(mysql_error());

$row_pages = mysql_fetch_assoc($pages);

$totalRows_pages = mysql_num_rows($pages);

Select Record from Members Table:


mysql_select_db($database_cmsmust, $cmsmust);

$query_media = "SELECT * FROM members";

$media = mysql_query($query_media, $cmsmust) or die(mysql_error());

$row_media = mysql_fetch_assoc($media);

$totalRows_media = mysql_num_rows($media);

mysql_select_db($database_cmsmust, $cmsmust);

$query_teachersrecord = "SELECT * FROM trecords";

$teachersrecord = mysql_query($query_teachersrecord, $cmsmust) or die(mysql_error());

$row_teachersrecord = mysql_fetch_assoc($teachersrecord);

$totalRows_teachersrecord = mysql_num_rows($teachersrecord);

Select Record from Student Record Table:


mysql_select_db($database_cmsmust, $cmsmust);

$query_studentsrecord = "SELECT * FROM srecords";

$studentsrecord = mysql_query($query_studentsrecord, $cmsmust) or die(mysql_error());

Portal online for lectures assignments and results 64


Chapter 6 Implementation

$row_studentsrecord = mysql_fetch_assoc($studentsrecord);

$totalRows_studentsrecord = mysql_num_rows($studentsrecord);

Select Record From Setting Table:


mysql_select_db($database_cmsmust, $cmsmust);

$query_settings = "SELECT * FROM settings";

$settings = mysql_query($query_settings, $cmsmust) or die(mysql_error());

$row_settings = mysql_fetch_assoc($settings);

$totalRows_settings = mysql_num_rows($settings);

Select Record From Announcement Table:


mysql_select_db($database_cmsmust, $cmsmust);

$query_announcements = "SELECT * FROM announcements ORDER BY announcementid DESC";

$query_limit_announcements = sprintf("%s LIMIT %d, %d", $query_announcements,


$startRow_announcements, $maxRows_announcements);

$announcements = mysql_query($query_limit_announcements, $cmsmust) or


die(mysql_error());

$row_announcements = mysql_fetch_assoc($announcements);

Get the user logged in Record from Table:


mysql_select_db($database_cmsmust, $cmsmust);

$query_activemember = sprintf("SELECT * FROM members WHERE email = %s",


GetSQLValueString($colname_activemember, "text"));

$activemember = mysql_query($query_activemember, $cmsmust) or die(mysql_error());

$row_activemember = mysql_fetch_assoc($activemember);

$totalRows_activemember = mysql_num_rows($activemember);

Portal online for lectures assignments and results 65


Chapter 6 Implementation

6.3INSERT RECORD QUEIRIES:

Query To Insert Record into Members Table:


$insertSQL = sprintf("INSERT INTO members (users, passs, `level`, fullname, email, phone,
department, imageurl, interest, subject, type, status) VALUES (%s, %s, %s, %s, %s, %s, %s, %s,
%s, %s, %s, %s)",

GetSQLValueString($_POST['users'], "text"),

GetSQLValueString($_POST['passs'], "text"),

GetSQLValueString($_POST['level'], "int"),

GetSQLValueString($_POST['fullname'], "text"),

GetSQLValueString($_POST['email'], "text"),

GetSQLValueString($_POST['phone'], "text"),

GetSQLValueString($_POST['department'], "text"),

GetSQLValueString($filename, "text"),

GetSQLValueString($_POST['interest'], "text"),

GetSQLValueString($_POST['subject'], "text"),

GetSQLValueString($_POST['type'], "text"),

GetSQLValueString($_POST['status'], "text"));

mysql_select_db($database_cmsmust, $cmsmust);

$Result1 = mysql_query($insertSQL, $cmsmust) or die(mysql_error());

Query to insert record into content table :

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "add")) {

Portal online for lectures assignments and results 66


Chapter 6 Implementation

$insertSQL = sprintf("INSERT INTO content (name, title, `description`) VALUES (%s, %s, %s)",

GetSQLValueString($_POST['name'], "text"),

GetSQLValueString($_POST['title'], "text"),

GetSQLValueString($_POST['description'], "text"));

mysql_select_db($database_cmsmust, $cmsmust);

$Result1 = mysql_query($insertSQL, $cmsmust) or die(mysql_error());

Query to insert record into student table :


if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "update")) {

$updateSQL = sprintf("UPDATE trecords SET title=%s, `description`=%s, uploadfile=%s,


datepost=%s, discipline=%s, `session`=%s, semester=%s, subject=%s, type=%s, memberid=%s
WHERE trecordsid=%s",

GetSQLValueString($_POST['title'], "text"),

GetSQLValueString($_POST['description'], "text"),

GetSQLValueString($_POST['fileupload'], "text"),

GetSQLValueString($_POST['datepost'], "text"),

GetSQLValueString($_POST['discipline'], "text"),

GetSQLValueString($_POST['session'], "text"),

GetSQLValueString($_POST['semester'], "text"),

GetSQLValueString($_POST['subject'], "text"),

GetSQLValueString($_POST['type'], "text"),

GetSQLValueString($_POST['memberid'], "int"),

Portal online for lectures assignments and results 67


Chapter 6 Implementation

GetSQLValueString($_POST['trecordsid'], "int"));

mysql_select_db($database_cmsmust, $cmsmust);

$Result1 = mysql_query($updateSQL, $cmsmust) or die(mysql_error());

6.4
6.5 UPDATE RECORDS QUERIES:

To update Record of Teacher Record Table:


if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "update")) {

$updateSQL = sprintf("UPDATE trecords SET title=%s, `description`=%s, uploadfile=%s,


datepost=%s, discipline=%s, `session`=%s, semester=%s, subject=%s, type=%s, memberid=%s
WHERE trecordsid=%s",

GetSQLValueString($_POST['title'], "text"),

GetSQLValueString($_POST['description'], "text"),

GetSQLValueString($_POST['fileupload'], "text"),

GetSQLValueString($_POST['datepost'], "text"),

GetSQLValueString($_POST['discipline'], "text"),

GetSQLValueString($_POST['session'], "text"),

GetSQLValueString($_POST['semester'], "text"),

GetSQLValueString($_POST['subject'], "text"),

GetSQLValueString($_POST['type'], "text"),

GetSQLValueString($_POST['memberid'], "int"),

GetSQLValueString($_POST['trecordsid'], "int"));

Portal online for lectures assignments and results 68


Chapter 6 Implementation

mysql_select_db($database_cmsmust, $cmsmust);

$Result1 = mysql_query($updateSQL, $cmsmust) or die(mysql_error());

To update record of student table :


if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "update")) {

$updateSQL = sprintf("UPDATE trecords SET title=%s, `description`=%s, uploadfile=%s,


datepost=%s, discipline=%s, `session`=%s, semester=%s, subject=%s, type=%s, memberid=%s
WHERE trecordsid=%s",

GetSQLValueString($_POST['title'], "text"),

GetSQLValueString($_POST['description'], "text"),

GetSQLValueString($_POST['fileupload'], "text"),

GetSQLValueString($_POST['datepost'], "text"),

GetSQLValueString($_POST['discipline'], "text"),

GetSQLValueString($_POST['session'], "text"),

GetSQLValueString($_POST['semester'], "text"),

GetSQLValueString($_POST['subject'], "text"),

GetSQLValueString($_POST['type'], "text"),

GetSQLValueString($_POST['memberid'], "int"),

GetSQLValueString($_POST['trecordsid'], "int"));

mysql_select_db($database_cmsmust, $cmsmust);

$Result1 = mysql_query($updateSQL, $cmsmust) or die(mysql_error());

Portal online for lectures assignments and results 69


Chapter 6 Implementation

To Update Record of Content Table:


if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "update")) {

$updateSQL = sprintf("UPDATE content SET name=%s, title=%s, `description`=%s WHERE


pageid=%s",

GetSQLValueString($_POST['name'], "text"),

GetSQLValueString($_POST['title'], "text"),

GetSQLValueString($_POST['description'], "text"),

GetSQLValueString($_POST['pageid'], "int"));

mysql_select_db($database_cmsmust, $cmsmust);

$Result1 = mysql_query($updateSQL, $cmsmust) or die(mysql_error());

Portal online for lectures assignments and results 70


Appendix

Appendix

Portal online for lectures assignments and results 71


Appendix

Screen Shots

Home

Portal online for lectures assignments and results 72


Appendix

Faculty

Announcements

Portal online for lectures assignments and results 73


Appendix

Results

Disciplines

Portal online for lectures assignments and results 74


Appendix

Contact Us

Portal online for lectures assignments and results 75


References

References

[1] Roger S. Pressman, Software Engineering A Practitioners Approach Sixth


Edition.

[2] Ian Somerville, Software Engineering, Sixth Edition.

[3] Roger S.Pressman, Software Engineering. Singapore: McGraw Hill,Int Edition

2010.

[4] Flowchart, en.wikipedia.org/wiki/flowchart

[5] Feasibility study, http://en.wikipedia.org/wiki/Feasibility_study

Portal online for lectures assignments and results 76

You might also like