College Website Php

April 5, 2018 | Author: Ravi Shankar K B | Category: Html, Cascading Style Sheets, Html Element, Php, Java Script
Share Embed Donate


Short Description

college website with database report...

Description

CONTENTS

I.

INTRODUCTION

II.

SYSTEM ANALYSIS AND SPECIFICATION

III.

SYSTEM DESIGN

IV.

LANGUAGE DESCRIPTION

V.

CODING

VI.

TESTING

VII.

CONCLUSION

INTRODUCTION

A WEBSITEis a collection of Web pages, images, videos and other digital assets that is hosted on one or several Web server, usually accessible via the Internet, cell phone or a LAN. The pages of websites can usually be accessed from a common root URL called the homepage, and usually reside on the same physical server. The URLs of the pages organize them into a hierarchy, although the hyperlinks between them control how the reader perceives the overall structure and how the traffic flows between the different parts of the sites. A website requires attractive design and proper arrangement of links and images, which enables a browser to easily interpret and access the properties of the site. Hence it provides the browser with adequate information and functionality about the organization, community, network etc. The website has been developed for our college (SIST) in an effort to make it as attractive and dynamic as possible. Compared to the existing site a database has been added to our project. The working of the project is as follows. The first page provides several links. The Home page contains several information about the site like campus, management, facilities, admission etc. Student login module helps the user to login to the result page. For that he must type the username and password correctly. The login provision in this page helps the already registered user to directly access the site and there is a link for registration to a user who is new to this site. Student Registration module helps the new user to register into the site. The information entered by the users is added into the table registration. A teacher page is also provided for teachers to update marks and attendance of students, and access to that page is through a teacher login user id and password. This prevent inappropriate use of student data.

SYSTEM ANALYSIS AND SPECIFICATIONS

SYSTEM ANALYSIS System analysis is the process of gathering and interpreting facts, diagnosing problems and using the information to recommend improvements on the system. System analysis is a problem solving activity that requires intensive communication between the system users and system developers. System analysis or study is an important phase of any system development process. The system is studied to the minutest detail and analyzed. The system analyst plays the role of an interrogator and dwells deep into the working of the present system. The system is viewed as a whole and the inputs to the system are identified. The outputs from the organization are traced through the various processing that the inputs phase through in the organization.

A detailed study of these processes must be made by various techniques like Interviews, Questionnaires etc. The data collected by these sources must be scrutinized to arrive to a conclusion. The conclusion is an understanding of how the system functions. This system is called the existing system. Now, the existing system is subjected to close study and the problem areas are identified. The designer now functions as a problem solver and tries to sort out the difficulties that the enterprise faces. The solutions are given as a proposal. The proposal is then weighed with the existing system analytically and the best one is selected. The proposal is presented to the user for an endorsement by the user. The proposal is reviewed on user request and suitable changes are made. This loop ends as soon as the user is satisfied with the proposal.

EXISTING SYSTEM The existing college website is static which makes it less interactive. It doesn't have database connectivity. Moreover students didn't have an access to the details of the college through the site; hence they were not updated about their marks and academic details.

PROPOSED SYSTEM In order to make the site dynamic and more interactive we have tried to include a database link to our college website. Hence teachers can update marks and attendance of students. Students can

register their selves easily and access their academic details. Thus the site becomes more interactive and accessible to students.

SYSTEM SPECIFICATIONS

PROCESSOR

:

INTEL CORE 2 DUO

MANUFACTURER

:

ZENITH

SYSTEM TYPE

:

32BIT

RAM

:

2GB DDR2

MONITOR

:

SVGA COLOUR

KEYBOARD

:

108 KEYS

MOUSE

:

2BUTTON MOUSE

SOFTWARE SPECIFICATION

OPERATING SYSTEM

:

MICROSOFT WINDOWS 7

FRONT END

:

PHP

BACKEND

:

MY SQL

SYSTEM DESIGN System design is the solution to the creation of a new system. This phase is composed of several systems. This phase focuses on the detailed implementation of the feasible system. It emphasis on translating design specifications to performance specification. System design has two phases of development logical and physical design. During logical design phase the analyst describes inputs (sources), out puts (destinations), databases (data sores) and procedures (data flows) all in a format that meats the uses requirements. The analyst also specifies the user needs and at a level that virtually determines the information flow into and out of the system and the data resources. Here the logical design is done through data flow diagrams and database design. The physical design is followed by physical design or coding. Physical design produces the working system by defining the design specifications, which tell the programmers exactly what the candidate system must do. The programmers write the necessary programs that accept input from the user, perform necessary processing on accepted data through call and produce the required report on a hard copy or display it on the screen.

TABLES Database – Student Field id name email branch usernm passw attend mark photo

Table - studlog Constraints

int varchar varchar varchar varchar varchar int int blob

null null

DATA FLOW

STUDENT’S LOGIN

TEACHER’S LOGIN

STRUCTURE CHART

LANGUAGE DESCRIPTION

 PHP PHP is

a

general-purpose server-sidescripting

language originally

designed

for Web

development to produce dynamic Web pages. It is one of the first developed server-side scripting languages to be embedded into an HTML source document, rather than calling an external file to process data. Ultimately, the code isinterpreted by a Web server with a PHP processor module which generates the resulting Web page. It also has evolved to include a command-line interface capability and can be used in standalone graphical applications. PHP can be deployed on most Web servers and also as a standalone shell on almost everyoperating system and platform free of charge. A competitor to Microsoft's Active Server Pages (ASP) server-side script engine and similar languages, PHP is installed on more than 20 million Web sites and 1 million Web servers. PHP was originally created by RasmusLerdorf in 1995. The main implementation of PHP is now produced by The PHP Group and serves as the formal reference to the PHP language. PHP is free software released under the PHP License, which is incompatible with the GNU General Public License (GPL) due to restrictions on the usage of the term PHP. While PHP originally stood for "Personal Home Page", it is now said to stand for "PHP: Hypertext Preprocessor", a recursive acronym.

 HTML Hypertext Markup Language (HTML) is the main markup language for web pages. HTML elements are the basic building-blocks of WebPages. HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like ), within the web page content. HTML tags most commonly come in pairs like

and ,

although some tags, known as empty elements, are unpaired, for example .

The first tag in a pair is the start tag, the second tag is the end tag (they are also called opening tags and closing tags). In between these tags web designers can add text, tags, comments and other types of text-based content. The purpose of a web browser is to read HTML documents and compose them into visible or audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page. HTML elements form the building blocks of all websites. HTML allows images and objects to be embedded and can be used to create interactive forms. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. It can embed scripts in languages such as JavaScript which affect the behavior of HTML webpages. Web browsers can also refer to Cascading Style Sheets (CSS) to define the appearance and layout of text and other material. The W3C, maintainer of both the HTML and the CSS standards, encourages the use of CSS over explicitly presentational HTML markup. Elements HTML documents are composed entirely of HTML elements that, in their most general form have three components: a pair of tags, a "start tag" and "end tag"; some attributes within the start tag; and finally, any textual and graphical content between the start and end tags, perhaps including other nested elements. The HTML element is everything between and including the start and end tags. Each tag is enclosed in angle brackets. Attributes Most of the attributes of an element are name-value pairs, separated by "=" and written within the start tag of an element after the element's name. The value may be enclosed in single or double quotes, although values consisting of certain characters can be left unquoted in HTML (but not XHTML). Leaving attribute values unquoted is considered unsafe. In contrast with

name-value pair attributes, there are some attributes that affect the element simply by their presence in the start tag of the element.

 CSS Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the look and formatting) of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can also be applied to any kind of XML document, including plain XML, SVG and XUL. CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the layout, colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for tableless web design). CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen reader) and on Braille-based, tactile devices. It can also be used to allow the web page to display differently depending on the screen size or device on which it is being viewed. While the author of a document typically links that document to a CSS style sheet, readers can use a different style sheet, perhaps one on their own computer, to override the one the author has specified. CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-called cascade, priorities or weights are calculated and assigned to rules, so that the results are predictable.

 JAVASCRIPT JavaScript is a prototype-based scripting language that is dynamic, weakly typed and has firstclass functions. It is a multi-paradigm language, supporting object-oriented, imperative, and functional programming styles. JavaScript was formalized in the ECMAScript language standard and is primarily used in the form of client-side JavaScript, implemented as part of a Web browser in order to provide enhanced user interfaces and dynamic websites. This enables programmatic access to computational objects within a host environment. JavaScript's use in applications outside Web pages — for example in PDF documents, sitespecific browsers, and desktop widgets — is also significant. Newer and faster JavaScript VMs and frameworks built upon them (notably Node.js) have also increased the popularity of JavaScript for server-side web applications. JavaScript uses syntax influenced by that of C. JavaScript copies many names and naming conventions from Java, but the two languages are otherwise unrelated and have very different semantics. The key design principles within JavaScript are taken from the Self and Scheme programming languages.

TESTING SYSTEM TESTING Testing is a set activity that can be planned and conducted systematically. Testing begins at the module level and work towards the integration of entire computers based system. Nothing is complete without testing, as it is vital success of the system.

• Testing Objectives: There are several rules that can serve as testing objectives, they are 1. Testing is a process of executing a program with the intent of finding an error 2. A good test case is one that has high probability of finding an undiscovered error. 3. A successful test is one that uncovers an undiscovered error.

If testing is conducted successfully according to the objectives as stated above, it would uncover errors in the software. Also testing demonstrates that software functions appear to the working according to the specification, that performance requirements appear to have been met. There are three ways to test a program 1. For Correctness 2. For Implementation efficiency 3. For Computational Complexity.

Tests for correctness are supposed to verify that a program does exactly what it was designed to do. This is much more difficult than it may at first appear, especially for large programs.

Tests for implementation efficiency attempt to find ways to make a correct program faster or use less storage. It is a code-refining process, which reexamines the implementation phase of algorithm development.

Tests for computational complexity amount to an experimental analysis of the complexity of an algorithm or an experimental comparison of two or more algorithms, which solve the same problem.

• Testing Correctness

The following ideas should be a part of any testing plan: 1. Preventive Measures 2. Spot checks 3. Testing all parts of the program 4. Test Data 5. Looking for trouble 6. Time for testing 7. Re Testing

The data is entered in all forms separately and whenever an error occurred, it is corrected immediately. A quality team deputed by the management verified all the necessary documents and tested the Software while entering the data at all levels. The entire testing process can be divided into 3 phases 1. Unit Testing 2. Integrated Testing 3. Final/ System testing

UNIT TESTING As this system was partially GUI based WINDOWS application, the following were tested in this phase 1. Tab Order 2. Reverse Tab Order 3. Field length

4. Front end validations In our system, Unit testing has been successfully handled. The test data was given to each and every module in all respects and got the desired output. Each module has been tested found working properly.

INTEGRATION TESTING Test data should be prepared carefully since the data only determines the efficiency and accuracy of the system. Artificial data are prepared solely for testing. Every program validates the input data.

VALIDATION TESTING In this, all the Code Modules were tested individually one after the other. The following were tested in all the modules 1. Loop testing 2. Boundary Value analysis 3. Equivalence Partitioning Testing

In our case all the modules were combined and given the test data. The combined module works successfully with out any side effect on other programs. Everything was found fine working.

OUTPUT TESTING This is the final step in testing. In this the entire system was tested as a whole with all forms, code, modules and class modules. This form of testing is popularly known as Black Box testing or system tests.

Black Box testing methods focus on the functional requirement of the software. That is, Black Box testing enables the software engineer to derive sets of input conditions that will fully exercise all

functional requirements for a program. Black Box testing attempts to find errors in the following categories; incorrect or missing functions, interface errors, errors in data structures or external database access, performance errors and initialization errors and termination errors.

CONCLUSION The project report entitled "COLLEGE WEBSITE” has come to its final stage. The system has been developed with much care that it is free of errors and at the same time it is efficient and less time consuming. The important thing is that the system is robust. We have tried our level best to make the site as dynamic as possible. Also provision is provided for future developments in the system. The entire system is secured. This online system will be approved and implemented soon.

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF