saloni project report

44
COLLEGE WEBSITE A Project Report Submitted in Partial fulfillment for the award of MASTER OF COMPUTER APPLICATION Submitted to RAJIV GANDHI PROUDYOGIKI VISHWAVIDYALAYA BHOPAL (M.P) MAJOR PROJECT REPORT SUBMITTED BY SALONI SINGH UNDER THE SUPERVISION OF NEERAJ GUPTA

Upload: shantilal

Post on 11-Nov-2015

232 views

Category:

Documents


0 download

DESCRIPTION

Saloni Project Report

TRANSCRIPT

COLLEGE WEBSITEA Project ReportSubmitted in Partial fulfillment for the award ofMASTER OF COMPUTER APPLICATIONSubmitted toRAJIV GANDHI PROUDYOGIKI VISHWAVIDYALAYABHOPAL (M.P)

MAJOR PROJECT REPORTSUBMITTED BYSALONI SINGHUNDER THE SUPERVISION OF NEERAJ GUPTA

MASTER OF COMPUTER APPLICATIONSAM COLLEGE OF ENGINEERING & TECHNOLOGY, BHOPAL (M.P.)SESSION-2014-15ACKNOWLEDGEMENT

Setting an endeavor may not always be an easy task. Obstacles are bound to come in its way and when this happens, help is welcome and needless to say without help of these people whose names are mentioned here, this project would not have been successful.We are very thankful from our core of heart for the contribution of our project guide Mr. DANISH ALI (Designation, Department) and Mr. NEERAJ GUPTA (H.O.D MCA Department) , SAM College of Engineering & Technology, Bhopal who provided their best possible help and the successful completion of this project has been possible due to their sincere cooperation, guidance, moral support and timely advice.We are also very thankful to lab assistants for their co-operation. It was their careful evaluation, keen interest, timely guidance and valuable suggestions that steered us out of difficulties at every stage of the project. It was great pleasure and good learning experience to have worked under their guidance during tenure of the project. And finally deepest gratitude to our families, colleagues and other department members for their unfailing support during completion of this project because we sought in them that attitude towards project which we wanted this work to reflect. BY: SALONI SINGH

SAM COLLEGE OF ENGINEERING & TECHNOLOGY, BHOPAL (M.P.)MASTER OF COMPUTER APPLICATION

CERTIFICATE

This is to certify that the work embodied in this report entitled COLLEGE WEBSITE has been EXCELLENT completed by SALONI SINGH .It is a bonafide piece of work, carried out under our/my guidance in the Department of Master of Computer Application, SAM College of Engineering & Technology, Bhopal for the partial fulfillment of the Master of Computer Application during the academic year 2014-15. Project Guide DANISH ALI

Approved BY Head MCANEERAJ GUPTA

Forwarded By Principal

Forwarded By

SAM COLLEGE OF ENGINEERING & TECHNOLOGYBHOPALMASTER OF COMPUTER APPLICATION

DECLARATION

I,SALONI SINGH student of Master of Computer Application (MCA), SAM College of Engineering & Technology, Bhopal hereby declare that the work presented in this Major project is outcome of my own work, is bonafide, correct to the best of my knowledge and this work has been carried out taking care of Engineering Ethics. The work presented does not infringe any patented work and has not been submitted to any University for the award of any degree.

BY : SALONI SINGH

Index

Content Page

1. Certificate2. Declaration3. Acknowledgement4. Abstract5. Introduction6. System Analysis7. System Requirement8. System Analysis9. SRS 10. Language Description 11.Project Introduction 12.Print Screen Shorts 13.System Designa. ER Diagramb. DFDc. Database Structure 14.Testing 15.Conclusion 16.Project CD/DVD

Acknowledgement

I express my sincere thanks to my guide Mr. Ashish Kr. Swami ( PHP Developer, Udaipur), for guiding me right from the inception till the successful completion. I sincerely acknowledge him for extending his valuable guidance, support for literature, critical reviews on PHP (PHP: Hypertext Preprocessor) and the report and above all the moral support he had provided me with all stages of this topic. Thanks also too many people who provided detailed reviews on the topic PHP (PHP: Hypertext Preprocessor) and thanks also to the people who are responsible for the publication of the report.Finally, with all this assistance, little remains for which I can take full credit.

DATE: SALONI SINGH MCA FINAL YEAR 2014-15

ABSTRACT

PHP was developed by Rasmus Lerdorf . It is a freeware . It is also a weakly typed, free form language. PHP has since evolved into a powerful server-side markup language with syntax that resembles a mix between Perl and C. PHP is a server-side scripting language designed specifically for the Web. Within an HTML page, we can embed PHP code that will be executed each time the page is visited.HTML generates the web page with the static text and images. However the need evolved for dynamic web based application, mostly involving database usage. These dynamic usages are facilated by PHP. Other tasks that PHP is especially good at are database access, disk access, networking and text manipulation. PHP is an excellent alternative to such similar programming solutions as Microsoft's proprietary scripting engine ASP and Allaire's rather expensive ColdFusion. As mentioned before, PHP is a cross-platform language. Finally, PHP is easy. If you know C or Perl, learning PHP is a cinch. The language is a mix between the two, taking the best features from both. Plus PHP adds features to solve common problems that programmers often encounter when programming for the Web.

INTRODUCTION

A WEBSITE is 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 ANALYSISSystem 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 SYSTEMThe 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 SYSTEMIn 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 DUOMANUFACTURER : ZENITHSYSTEM TYPE : 32BITRAM : 2GB DDR2MONITOR : SVGA COLOURKEYBOARD : 108 KEYSMOUSE : 2BUTTON MOUSE

SOFTWARE SPECIFICATION

OPERATING SYSTEM : MICROSOFT WINDOWS 7FRONT END : PHPBACKEND : 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

LANGUAGE DESCRIPTION

PHPPHPis a general-purposeserver-sidescripting languageoriginally designed forWeb developmentto producedynamic Web pages. It is one of the first developed server-side scripting languages to be embedded into anHTMLsource document, rather than calling an external file to process data. Ultimately, the code isinterpretedby a Web server with a PHP processor module which generates the resulting Web page. It also has evolved to include acommand-line interface capability and can be used instandalonegraphical applications.PHP can be deployed on most Web servers and also as a standaloneshellon almost everyoperating systemandplatformfree of charge.A competitor toMicrosoft'sActive Server Pages(ASP) server-side script engineand similar languages, PHP is installed on more than 20 million Web sites and 1 millionWeb servers.PHP was originally created byRasmusLerdorfin 1995. The main implementation of PHP is now produced byThe PHP Groupand serves as the formal reference to the PHP language.PHP isfree softwarereleased under thePHP License, which is incompatible with theGNU General Public License(GPL) due to restrictions on the usage of the termPHP.While PHP originally stood for "Personal Home Page", it is now said to stand for "PHP: Hypertext Preprocessor", arecursive acronym.

HTMLHypertext 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 likeand , 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.ElementsHTML 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. AttributesMost 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.

CSSCascading 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. JAVASCRIPTJavaScript is a prototype-based scripting language that is dynamic, weakly typed and has first-class 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, site-specific 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.

ABOUT THE PROJECT

The website has been developed for our college 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, infrastructure etc.

User Login module helps the user to login to the site. 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.

Member Registration module helps the new user to register into the site. The information entered by the users is added into the table registration.In the Login link a recruiter can login using the appropriate Username and password, through which he can submit the required criteria for a student to appear for a placement drive. He can also post the number of vacancies that are available and the salary packages offered.

The flash news and the events corner display the latest developments, announcements and events associated with the college activities.

The administrator has the responsibility for displaying the recruiters form on the notice board, in response to which student can submit his willingness to attend the drive along with his resume.

HOME PAGE

COLLEGE FUNCTION

COURCE OFFERS

COURCES QUALIFICATION

CAREER

CONTACT FORM

LOGIN FORM

LOGIN FORM -A

ADMIN PANEL PAGE

CATEGOTY PAGE

MAIN SLIDER PAGE

GALLERY PAGE

FACULTY PAGE

CONTACT PAGE

NEWS AND EVENTS

SIDEBAR

QUALIFICATION

ER DIAGRAM

DATA FLOW

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 are1. Testing is a process of executing a program with the intent of finding an error2. 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 program1. For Correctness2. For Implementation efficiency3. 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 Measures2. Spot checks3. Testing all parts of the program4. Test Data5. Looking for trouble6. Time for testing7. 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 phases1. Unit Testing2. Integrated Testing3. Final/ System testing

UNIT TESTING

As this system was partially GUI based WINDOWS application, the following were tested in this phase1. Tab Order2. Reverse Tab Order3. Field length4. Front end validationsIn 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 modules1. Loop testing2. Boundary Value analysis3. 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.

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.