Beruflich Dokumente
Kultur Dokumente
1 Thesis Organization
The thesis is organized into five broad sections. They are sorted as follows: Section 1 gives an introduction to the background of the institute and why this web based system has been developed. This section has been written to give the reader a brief sight of the present systems and their drawbacks and than the most important part of this section, the project design discussing the remedies of the drawbacks of the current systems. Section 2 shows the requirements and explanation of project. It is important to know the basic background of any project prior to understanding the project. Section 3 discusses analysis modeling of the system. ERD and DFDs are explained in this section. Section 4 explains architectural and database design of the system. User interface has also been shown here. Section 5 In this section we discussed the basic programming idea of our system, the applications of our systems and then the conclusion & references
Location
Peshawar Business School (PBS) is located in the Posh area of University Town in Peshawar, the Provincial Capital of Khyber PakhtoonKhwa. Peshawar is one of the oldest living cities and stands at the world famous Khyber Pass, a gateway to Afghanistan and Central Asia in terms of trade and commerce.
Building
The PBS Campus is located at a Prime Location on Circular Road, and is easily access able from all routes of the city. The Campus is housed in an impressive building having well furnished air conditioned class rooms equipped with latest audiovisuals, a spacious and research. Moreover the School is situated at a close proximity to University of Peshawar which enables our students to avail some of the university facilities. The town itself has a number decent hostels both for girls and boys which can be utilized by the students who need to stay in the hostels.
Mission Statement
Peshawar Business School aspires to be acknowledged as an independent business school of first choice for outstanding quality of its graduate and post graduate programs and courses offerings. Being the first institute to be affiliated with Peshawar University, Peshawar Business school is known for its quality management education. We accomplish our mission through quality education with professional spirit and excellence. We are dedicated to the following To provide highly competent and market oriented academics degree programs. To nourish and promote communication skills and computer literacy of the students. 2
Vision
To become a unique management institute that could provide diverse and supporting learning environment having regional expectations and emphasis on leadership development.
Admissions Forms
A student interested to get the admission in the institute must have to fill an admission application form in hardcopy. This form has all the basic requirements that include name, father name, address, contact number, guardian address, guardians phone number, qualifications and other relevant and necessary information.
The attendance of each students of each class are shown with names, roll numbers, father names and institute numbers so that the parents can be informed about their children attendance and absentees.
2. Data Redundancy
The term redundancy of data refers to the inconsistency of that data i.e. the duplicated copies of identical data with multiple instances in the same database. This usually occurs when the same data is stored at multiple locations. The data duplication is not a very common problem but it is happening in the current system as the data is maintained manually and no software help is taken for dealing with the data. The online web database system for the institute has its own database that is built with MySQL and the data integrity is maintained in this database.
3. Data Inconsistency
Inconsistency means the inaccuracy of data. Data redundancy leads to data inconsistency. It means when there is data redundancy then inconsistency is prevalent. Basically inconsistency arises when data is stored in two or more places and is not identical.
Since all of the work and calculation is done manually, therefore the chances of errors increase and hence the probability of inaccuracy is high that results in remedying these errors.
4. No Backup System
The storage medium is another critical point to be noted. For handling the student record, several registers are used i.e. the same data is stored at different locations that result in considerable loss of materials. The record stored in file may be destroyed or misplaced. Therefore the present system is not adequate and should be replaced.
5. Searching Problem
Searching in the traditional approach to the databases, in all aspects is a very difficult and time-consuming task. For example if we want to search for the student attendance then we have to call the particular class teacher from his class and if he is absent in case then this become impossible. A user can search the applicant record just by logging to the internet. Presently these records are stored in registers; therefore retrieving these records for a particular student manually in a timely manner is a problem.
7. Higher Costs
Individual student result is mailed to the respective postal/home addresses of the students which require a large amount just for the postage of the result letters and a lot of printing.
Dream weaver
Dreamweaver is a web development tool created by Macro media. This is currently in version 8. initial version of the application served as simple WYSIWYG HTML editors but more recent versions have incorporated notable support for many other web technologies such as CSS ,Java Scripts and various others server side scripting frameworks. Dream weaver has enjoyed widespread success since late 1990s and currently holds approximately 80 % of the HTML editor marketed. The software is available for the both Mac and Window 6
platforms but can be run on Unix like platforms through the use of emulation software such as Wine. As a WYSIWYG editor Dreamweaver can hide the details of pages, HTML code from the user making it possible for non experts to easily create web pages and sites. Some web developers criticize this approach as producing HTML pages that are much larger than they should be which can cause web browsers to perform poorly. This can be particularly true because the application makes it very easily to create table based layouts. In addition some website developers have criticized Dreamweaver in the past producing code that often does not comply with W3C standards. However Macromedia has increased the support for CSS and other ways layout a page without tables in later versions of the application. Dreamweaver allows you to pick most browsers installed on your computer to preview websites. It also has some nice site management tools for the novice such as the ability to find and replace lines of text or code by whatever parameters you specify up to the entire site. The behavior panel also allows creation of basic JavaScript without any coding knowledge. With the advent of version MX Macromedia incorporated dynamic content creation tools into Dreamweaver. In the spirit of HTML WYSIWYG tools it allows users to connect databases such as MYSQL and Microsoft Access to filter and display content using scripting technologies such as PHP .Coldfusion, ASP and ASP.NET without any previous programming experience.
MySQL
It started out with the intention of using the MYSQL database system to connect to our tables using our own fast low level (ISAM) routines. However after some testing we came to the conclusion that my SQL interface to our database but with almost the same API interfaces as my SQL. This API was designed to allow third party code that was written for use with my SQL to be ported easily for use with MYSQL. The derivation of the name MYSQL is not clear. Our database directory and a large number of our libraries and tools have had the prefix my for well over 10 years. However cofounder Monty Windenius daughter is also named My. Which of the two gave its name to MYSQL is still a mystery even for us. 7
The name of the MYSQL Dolphin(our logo) is Salika which was chosen by the founders of MYSQL AB from a huge list of names suggested by users in our name the Dolphin contest. The wining name was submitted by Ambrose Twebaze an open source software developer from Swaziland, Africa. According to Ambrose the feminine name Sakila has its roots in SiSwati the local language of Swaziland. Sakila is also the name of a town in Arusha, Tanzania, near Ambrose country of origin, Uganda. For our database maintenance we have used MYSQL because it has the following different main features.
Feature of MYSQL
The following list describes some of the important features of the MYSQL database Software.
SQL functions are implemented using high optimized class library and should be as fast as possible. Usually there is no memory allocation atall after query initialization.
The MYSQL code is tested with purify (a commercial memory package detector) as well as with Valgrind a GPL tool. The server is available as a separate program for use in a client/server networked environment. It is also available as library that can be used in isolation or in environments where no network is available.
b. Data Types
Many data types are signed/unsigned integers 1, 3, 4 and 8 bytes long. Float, Double, CHAR, VARACHAR, TEXT, BLOB, DATE, TIME, DATETIME, TIMESTAMP, YEAR, SET, ENUM, and OpenGIS spatial types.
c. Security
A privileged and password system that is very flexible and secure and that allows host based verification. Passwords are secure because all password traffic is encrypted when you connect to a server.
e. Connectivity
Clients can connect to the MYSQL server using TCP/IP sockets on any platform. On Windows system in the NT family (NT, XP, or 003) clients can connect using named pipes. On UNIX systems clients can connect using UNIX domain socket files.
In MYSQL versions 4.1 and higher Windows Server also supports shared memory connections if started with the share memory option. Clients can connect through shared memory by using the protocol memory option. The connector/ODBC (MyODBC) interface provides MYSQL support for client programs that use ODBC(Open Database Connectivity) connections. For example you can use MS Access to connect your MYSQL server. Client can be run on Windows or Unix. MyODBC source is available. All ODBC . functions are supported as many others. MYSQL Connector/NET enables developers to easily create .NET applications that require secure, high performance data connectivity with MYSQL. It implements the required. ADO.NET interfaces and integrates into ADO.NET languages. MYSQL Connector/Net is a fully managed ADO.NET driver written in 100 % pure C#.
f. Localization
The server can provide error messages to clients in many languages. Full support for several different character sets including latin (cp 15) ,German big5 , ujis and more. For example the Scandinavian character a, a and o are allowed in table and column names. Unicode support is available as of MySQL 4.1. All data is saved in the chosen character set. All comparisons for normal string columns are case insensitive.Sorting is done according to the chosen character set ( using Swedish collation by default ). It is possible to change this when the MySQL server is started. To see an example of very advanced sorting look at the Czech sorting code. MySQL server supports many different characters sets that can be specified at compile time and runtime.
11
This is the most traditional and main target field for PHP. You need three things to make this work. The PHP parser (CGI or server module), a web server and a web browser. You need to run the web server with a connected PHP installation. You can access the PHP program output with a web browser viewing the PHP page through the server. All these can run on your home machine if you are just experimenting with PHP programming. See the installation instructions sections for more details.
12
Also more than one questionnaire is sometimes prepared for different types of users that going to use the software (end users, sophisticated users etc.). The questionnaire is filled in by the users and is returned to the software developers and then the task of finding out the proper requirements starts by studying those questionnaires. We did not apply this method because we can visit the organization anytime and can ask questions from the concerned people without any problem. 3. Observation In this method the software engineer visits the organization for which the software is being developed and spends some time with the end users, technical persons etc. The manual work is observed and practiced by the software engineer so that s/he can identify the problems and can provide computer based solutions for it. 4. Document Review Documents are always there for any manual system. When these documents are reviewed by the software engineers in order to gather requirements then it is called document review. Documents can be reviewed only if the organization can be visited and the concerned people allow us to study the documents. 2.2. Methods Adopted: Keeping in view the system, we adopted three of the above listed methods for requirements gathering. Interview were the first method of investigation as we can directly ask questions from the concerned staff members. We carried out an unstructured open interview and asked different questions from the chairman and documented the responses. Also we carried out the observation phase for a few days and collected as much information as possible. Because of the cooperation of the organization we were able to study some of the documents which could help us in gathering the requirements so we adopted the documents review as well.
14
Interview with the principal of the institute Following are the questions that were asked during the interviews we took there and the responses of the interview are: a. What do you think are the major problems associated with the existing system of the student databases of the Institute? Since the current system is manual, it has many inherent problems. It tends to be inefficient at times. For example, for searching a student record we have to ask the record keeper where the record is searched in registers, which takes a lot of time. Each time an attendance report needs to be generated, a huge amount of human effort is put, which is tedious and error prone. A lot of money is spent on registers and a lot of space is required to maintain them. b. Do you think that the general demand for a computerized system is justified? Although I believe that if people
PURPOSE In PBS, there is manual work done for the students' admission and result systems. It is not only a lengthy process but at the same time a single mistake can take the shape of a serious problem and can cause great damage to the whole data and the rectification of which will upset the whole process. Doing all this lengthy process manually in registers is not only a time-consuming process but also a time will come that there will be a pile of registers to handle the records and these registers will take a large space. Keeping the importance of the problem into consideration, our software will computerize the manual work of students' admission and result systems.
15
INTENDED AUDIENCE AND READING STAFF: Developers: Muhammad Khalid Chhaya Tabassum Sana Salah-Ud-Din Project Manager: Muhammad Khalid Users: Students of PBS and other users Testers: Engr. Arbab Waseem Abbass Documentation Staff: Chhaya Tabbassum Sana Salah-Ud-Din
Product Scope
This product facilitates the students of PBS Peshawar. It will provide the following facilities
BENEFIT
Basic information about the institute. Information about the courses offered, will be available. A downloadable Admission form is available. A photo gallery for the students and staff. Online annual results of the students will be available on the website. Online feedback submission to the Institute Principal Online information about the institutes and events. Manage all website contents.
Students can easily review their exam results throughout the academic year. Preparation of the exam result is far easier than the traditional result preparation, 16
hence reducing the overall waiting time for results to be displayed on the Institute notice board. Visitors of the Institute website can submit their message and comments to the Institute Principal. Students, who cannot express themselves in front of the Institute staff, can submit comments via the feedback form on the Institute website.
GOAL The main goal of this web database project is to facilitate the current and intended students to provide them every possible facility by computerizing the current manual system.
REFERENCE This SRS follows the IEEE Standards and its version is 1.0.
17
Economically too the system was not too feasible. The staff were spending more money on human resources and buying the stuff to maintain the records. This web system will remove all these deficiencies and flaws of manual systems. It provides strict security system searching of any record becomes very fast.
19
1. Results Operation
2. Job Operations
20
3. Feedback operations
View Delete
4. Results Operations
Insert: The administrator should be able to insert the result of the students so that this result is viewed to all other users.
View: The administrator should be able to view the result of the whole class
Update: The administrator should be able to update the result of a student, if it is to be required.
Delete: The administrator should be able to delete the result(s) of a student(s) if it is not required
website.
3. Update: The administrator should be able to update the contents of a
website, if it is to be required.
4. Delete: The administrator should be able to delete the contents of the
website.
5.
Admission Operation
Administrator should upload admission form
6.
News Operation
Delete
3.3 Methods
There are two methods for analysis modeling 1. structured Analysis 2. Object Oriented Analysis
Structured Analysis
Structured analysis is classical modeling building activity. It is categorized into the following three categories. a. Data Modeling b. Functional Analysis c. Behavioral Modeling
22
23
24
Levels of DFD
DFDs are pointed into levels that represent increasing information flow and functional detail. A level o DFD also called context level represents the entire software elements as a single bubble with the input and output data indicated by incoming and outgoing arrows, respectively. Additional processes and information flow paths are represented as the level 0 DFD is partitioned to reveal more detail. A level 1 DFD might contain five or six bubbles with interconnecting arrows. Each of the overall system depicted in the context level.
25
a. System Structuring
The system is structured into a number of principal subsystems. A sub system is an independent software unit. Communication between subsystem is identified.
b. Control modeling
A general model of the control relationships between parts of the system is established.
c. Modular decomposition
Each identified subsystem is decomposed into modules. The architect must decide on the types of module and their interconnections.
26
Repository Model
Translating this to a new model will certainly be expensive; it may be difficult or even impossible. Activities such as backup, security, access control and recoveries from errors are centralized. They are the responsibility of the repository manager. Tools can focus on their principal function rather than be concerned with these issues. Different subsystems may have different requirements for security, recovery and backup policies. The repository model forces the same policy on all subsystems. It may be difficult to distribute the repository over a month of machines. Although it is possible to distribute a logically centralized repository, there may be problems with data redundancy and inconsistency.
Layered Architecture
A number of different layers are identified. Each accomplishing operations that progressively become closer to the machine instruction set. At the outer layer components service user interface operations. At the inner layer components perform operating system interfacing Intermediate layers provide utility services and application software functions. In layered approach structuring the system can be difficult
27
28
30
31
32
33
Input design
Inaccurate input data are the most common cause of errors in data processing. Errors entered by data entry operator can be controlled by the input design . input design is the process of converting user originated data into computer based format. In the system design phase the expanded data flow diagrams identify the logical data flows, data stores, sources and destinations. Input data are collected and organized in group of similar data.
Output design
Computer output is most important and direct source of information to the user. Efficient, intelligible output design should improve the systems relationship with the user and help in the decision making. A major form of output is a hard copy from a printer. Print outs should be designed around the output requirements of the user. The output devices to consider depend on factors such as compatibility of the device with system, respondent requirement, expected print quality and the number of copies needed. In on line application the information is displayed on the screen. The layout sheet for displayed output is similar to layout chart used for designing input: the areas for displaying the information are blocked out, leaving the rest of the screen blank or for systems status information. Allowing the users to review the sample screen in the extremely important because the user is the ultimate judge of the quality of the output and in turn the success or failure of the system. The following are the input and the output forms used the website input forms 1. 2. 3. 4. 5. Output forms 1. 2. 3. View/Delete CV form View/Delete admission form View/Delete feedback form 35 Online admission form Online job application form Online feedback form Result entry form Result update form
4. 5.
37
38
39
40
41
42
43
44
alert("plz fill name field correctly as number is not allowed in name field"); return false; } if(email=="") { alert("please fill email field"); return false; } if(reg.test(email)==false) { alert("please fill email nameetc9238_klfjd@dfmsldk.com"); return false; } if(desc=="") { alert("please fill Feedback field"); return false; } } else { document.form1.submit(); } } </script> </head> <body background="images/blue-background.jpg"> <table bgcolor="#FFFFFF" width="1028" height="700"border="0" align="center" cellpadding="0" cellspacing="0"class="imgborder"> <tr> <td width="850" height="102" ><img src="images/LogoPBSRed_01.gif" width="676" height="98" alt="" /></td> <td width="297"><!-- Use of this code assumes agreement with the Google Custom Search Terms of Service. --> <!-- The terms of service are available at http://www.google.com/cse/docs/tos.html --> <?php include"form.html" ?> <script type="text/javascript" src="http://www.google.com/cse/tools/onthefly? form=searchbox_demo&lang="></script></td> </tr> <tr> <td height="18" colspan="2" valign="top"><img src="images/LogoPBSRed_03.gif" width="1147" height="17" alt="" /> <tr>
field
correctly......like
45
<td height="21" colspan="5" align="left" valign="top"><?php require_once('ddtabdemos.php'); ?></td> </tr></td> <td height="2"></tr> <tr> <td height="514" colspan="2" valign="top"><table width="1075" border="0" bgcolor="#FFFFFF"> <tr> <td width="206" height="239" valign="top"><table width="206" height="341" border="0"> <tr> <td width="200" height="337" valign="top"><table width="200" height="384" border="0"> <tr> <td height="156" valign="top"> <?php include "sidemenu.php" ?></td> </tr> <tr> <td height="222" valign="top"><?php include "inde.html" ?></td> </tr> </table></td> </tr> </table> </td> <td width="786" height="239" valign="top"><table width="786" height="290" border="0"> <tr> <td height="37" align="center" valign="middle" class="TopicHeadings">Add Your Comments and Feedback Here </td> </tr> <tr> <td height="147" align="center" valign="middle"><form id="form1" name="form1" method="post" action="?action=insert"> <p class="Admin_Panle_Heading">Name : <label> <input type="text" name="name" id="name"> </label> </p> <p class="Admin_Panle_Heading">Email : <label> <input type="text" name="email" id="email" /> </label> </p> <p class="Admin_Panle_Heading">Feedback : <label> <textarea name="desc" id="desc"></textarea> </label> </p> <p> <span class="Admin_Panle_Heading"> <label class="Admin_Panle_Heading">
46
<input name="button" type="button" id="button" value="send" onclick="validate()" /> </label> </span></p> </form></td> </tr> </table></td> <td width="69" height="239" align="right" valign="top"> </td> </tr> <tr> <td height="61" colspan="3" align="left" valign="top"><table width="895" height="40" border="0" align="center"> <tr> <td width="724" height="15" align="center"><a href="copyright.php" class="textbold">All Copy Rights Protection 2011@Khalid| Development Team</a></td> </tr> <tr> <td height="15" align="center" class="textbold"><a href="index.php" class="textbold">Home</a> | <a href="AboutUs.php" class="textbold">About us</a> |<a href="team.php" class="textbold"> Contact us</a></td> </tr> </table> <a href="#" class="textbold"></a></td> </tr> </table></td> </tr> </table> </body> </html>
47
<tr> <td height="18" colspan="2" valign="top"><img src="images/LogoPBSRed_03.gif" width="905" height="16" alt="" /> <tr> <td height="21" colspan="5" align="left" valign="top"></td> </tr></td> <td height="2"></tr> <tr> <td colspan="2" valign="top"><table width="888" height="256" border="0"> <tr> <td width="877" height="35" align="center" valign="top" class="TopicHeadings">ADMINISTRATOR AREA </td> <td width="10" rowspan="2" align="left" valign="top"> </td> </tr> <tr> <td height="168" align="center" valign="top"><table width="450" height="164" border="0"> <tr> <td width="444" height="21" align="center" bgcolor="#1E639E"><span class="TopicSubHeadings style1">ADMINISTRATOR LOGIN</span></td> </tr> <tr> <td align="center" valign="top"><form name="form1" method="post" onSubmit= "return validate();" action="verify.php"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="imgborder"> <tr> <td width="35%" height="26" align="left" class="TopicHeadings"><div align="right" class="pt10_red"><span class="TopicHeadings">UserName:</span> </div></td> <td width="65%" height="26" align="left" class="TopicHeadings"> <div align="left"> <input name="username" type="text" class="TopicSubHeadings" id="username" maxlength="15"> </div></td></tr> <tr> <td height="26" class="TopicHeadings"><div align="right" class="pt10_red"><span class="tblbluetd">Password:</span> </div></td> <td height="26" align="left" class="TopicHeadings"> 49
<div align="left"> <input name="password" type="password" class="TopicSubHeadings" id="password" maxlength="15"> </div></td> </tr> <tr> <td height="26"> </td> <td height="28"><div align="left" class="tblbluetd"> &n bsp; &nb sp; <input name="signin" type="submit" class="TopicSubHeadings" id="signin" value="Sign In"> </div></td> </tr> </table> <div align="center"></div> </form></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td colspan="2"><table bgcolor="#FFFFFF" width="890" border="0"> <tr> <td width="900" align="center" valign="top" class="ReadMore"><a href="#" class="textbold">All Copy Rights Protection 2011@ khalid| Development Team</a></td> </tr> <tr> <td height="19" align="center" valign="top" class="textbold">Home | About us | Contact us </td> </tr> </table> </body> </html>
Conclusion
50
This web based system is a full online application for a normal user and specially for the students of Peshawar business School. Users can easily check out news and events which takes place in Peshawar Business School, they can view their results, download items and the courses announced by the Peshawar Business School,
More manageable
Web based systems need only be installed on the server placing minimal requirements on the end user workstation. This makes maintaining and updating the system much simpler as usually it can all be done on the server. Any client updates can be deployed via the web server with relative ease
Highly deployable
Due to the manageability and cross platform support deploying this web based application for the end user is far easier. They are also ideal where bandwidth is limited and the system and data is remote to the user.
Reduced costs
This Web based System can dramatically lower costs due to reduced support and maintenance, lower requirements on the end user system and simplified architecture. By further streamlining your business operations as a result of your web based application additional savings can often be found. Finally this is a good web based system through which students can check their attendance and results record, and they can find out every time of information about the institute.
51
References Books:
Roger R. Pressman , Software Engineering: A Practitioner's Approach , 7th Edition, January 2009. Larry E. Ullman, Effortless E-Commerce with PHP and MySQL, October 2010. Larry E.Ullman, PHP and My SQL for dynamic websites, 2 nd Edition, June 2005. Jeffery Hoffer, February 2008. Modern Database Management, 9th Edition ,
Websites http://www.php.net http://www.zend.com http://www.apache.com http://www.mysql.com http://ww.pageresource.com http://www.codeguru.com http://www.functionx.com http://www.thesitewizard.com http://www.javascript.com http://www.dynamicdrive.com
52