Your SlideShare is downloading. ×
Student information-system-project-outline
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Student information-system-project-outline

6,182
views

Published on

Published in: Technology

2 Comments
2 Likes
Statistics
Notes
No Downloads
Views
Total Views
6,182
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
371
Comments
2
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Web Portal for Student Information System Project Outline Prepared By: AANCHAL CHAUDHARY PRERNA JAIN
  • 2. ContentsIntroduction.................................................................................................................................................3 1.1 Purpose .............................................................................................................................................3 1.2 Product Scope....................................................................................................................................3 1.3 Definitions, acronyms, and abbreviations..........................................................................................3System Overview.........................................................................................................................................3Design Considerations.................................................................................................................................5 1.4 Assumptions and Dependencies.......................................................................................................5Development Methods................................................................................................................................6 1.5 Microsoft SQL Server.........................................................................................................................6 SQL Server Tables...................................................................................................................................6 Primary Key.............................................................................................................................................6 1.6 JAVA 1.6.............................................................................................................................................8Architectural Strategies...............................................................................................................................9 1.7 Table Structure................................................................................................................................10 1.8 Steps for creating Database Connections........................................................................................12 1.8.1 Introduction.............................................................................................................................12 1.8.2 Loading a database driver.........................................................................................................13 1.8.3 Creating a jdbc Connection.......................................................................................................13 1.8.4 Creating a jdbc Statement object..............................................................................................13 1.8.5 Executing a SQL statement with the Statement object, and returning a jdbc resultSet...........14 1.9 Table Creation..................................................................................................................................14 1.10 USER INTERFACES..........................................................................................................................15
  • 3. Introduction1.1Purpose This document describes the various functions of our project. The actual design of thevarious modules and components of Student Information System is described in this document,which takes care of various functionalities that our project aims to achieve and for determiningthe operating characteristics of the system..1.2Product Scope Student Information System (SIS) is a web-based application for students, faculty,academic staff and parents who want to get and retrieve student’s whole information instantly viainternet. The major benefit of this web portal is to store the students information at one place(like SERVER) and it can be accessed via online interaction. The SIS web portal is to replace theold and traditional file(paper work) storing process. Instead of tedious paper work, students willbe able to submit required information electronically, and the departments will be able toevaluate the submissions with a much quicker turnaround.1.3Definitions, acronyms, and abbreviations • SIS: Student Information System • SERVER: Refers to the Host machine • CLIENT: Refers to the user of SIS. • SQL: Structured Query Language; used to retrieve information from a database. • SQL Server: A server used to store data in an organized format. • BOOLEAN: A true/false notation • UNIQUE KEY: Used to differentiate entries in a database. • LAYER: Represents a section of the project. • DATA STORAGE LAYER: the section of the assignment referring to where all data is recorded.System Overview Student Information System (SIS) is a web-based application that tracks current student’s
  • 4. academic information. It maintains academic information for ready access by office staff,students, their faculty advisors, and committee members. Instead of tedious paper work, studentswill be able to submit required information electronically, and the departments will be able toevaluate the submissions with a much quicker turnaround.The Student Information System has been modularized into following modules.LOGIN MODULE The purpose of this module is to provide entry to the system or website. Based on thetype of login, the user is provided with various facilities and functionalities. The main functionof this module is to allow the user to use SIS. This module provides two types of login —Adminlogin and Student login.ADMINISTRATOR MODULE In this module when the administrator will enter his/her user name and password, thenhe/she will enter in to the administrator page and this page consists of two following submodules. • Student Addition/ Updation / Deletion: In SIS each Student is added, updated or deleted according to its branch. • Notice/Attendance/Result Generation: In SIS information about notice, attendance and Internal result is generated. • Fee Detail and Schedules: Fee information detail and schedule detail are managed.STUDENT MODULE In this module when a user enters his student id and password, then he can visit all thefollowing pages. • Profile View: When the student clicks on this link he/she will get his/her information like student id, student name, password, father name, date of birth, nationality, city, address, country, phone number, mobile number, email. If he/she wants then he/she can change the profile. • Notice View: When the student clicks on this link, he can see latest notices released by the administrator.
  • 5. • Attendance View: When the student clicks on this one, the student can get his overall attendance percentage (present and absent). • Internal Results View: When the student clicks on this, he/she will get the internals result in all the subjects. How much grade point he/she secure out of 20 he/she can know. • Fee Detail View: When the student clicks this link he/she can get all the fees structure semester wise and annual fee. • The Student Helpdesk: This helpdesk is staffed by faculty who are there to help you. You may contact on (faculty phone no.).Design Considerations The design consideration section shows the overall description of all technical aspectswhich are related to this project including hardware and software.1.4 Assumptions and Dependencies Although basic password authentication and role based security mechanisms will be usedto protect SIS from unauthorized access; functionality such as inserting, deleting and updatingare assumed to be sufficiently protected under the existing security policies applied by the SISdeveloping team. It describes assumptions or dependencies regarding the software and its use.These may concern such issues as: Related software: o Microsoft SQL Server 2005 to store the database. o JAVA 1.6, JSP, SERVLET, HTML to develop the product. o Virtual Server Apache Tomcat 6.0.18 and upward . End-user characteristics
  • 6. o Every user must have basic knowledge of English. o He should be able to work with computer. o All users must have his/her unique login name and password for join web portal. o The user should know the details (meaning) of the operation.Development Methods The following methods and approaches are used to develop this project.1.5Microsoft SQL Server A database management, or DBMS, gives the user access to their data and helps themtransform the data into information. These systems allow users to create, update and extractinformation from their database. A database is a structured collection of data. Data refers to the characteristics of people,things and events. SQL Server stores each data item in its own fields. In SQL Server, the fieldsrelating to a particular person, thing or event are bundled together to form a single complete unitof data, called a record (it can also be referred to as raw or an occurrence). Each record is madeup of a number of fields. No two fields in a record can have the same field name. • SQL Server Tables SQL Server stores records relating to each other in a table. Different tables are created for the various groups of information. Related tables are grouped together to form a database. • Primary Key Every table in SQL Server has a field or a combination of fields that uniquely identifies each record in the table. The Unique identifier is called the Primary Key, or simply the Key. The primary key provides the means to distinguish one record from all other in a table. It allows the user and the database system to identify, locate and refer to one particular record in the database. • Foreign Key When a field is one table matches the primary key of another field is referred to as a
  • 7. foreign key. A foreign key is a field or a group of fields in one table whose values match those of the primary key of another table. • Referential Integrity Not only does SQL Server allow you to link multiple tables, it also maintains consistency between them. Ensuring that the data among related tables is correctly matched is referred to as maintaining referential integrity. • Relational Database Sometimes all the information of interest to a business operation can be stored in one table. SQL Server makes it very easy to link the data in multiple tables. Matching an employee to the department in which they work is one example. This is what makes SQL Server a relational database management system, or RDBMS. It stores data in two or more tables and enables you to define relationships between the table and enables you to define relationships between the tables. • Data Abstraction A major purpose of a database system is to provide users with an abstract view of the data. This system hides certain details of how the data is stored and maintained. Data abstraction is divided into three levels. o Physical level: This is the lowest level of abstraction at which one describes how the data are actually stored. o Conceptual Level: At this level of database abstraction all the attributed and what data are actually stored is described and entries and relationship among them. o View level: This is the highest level of abstraction at which one describes only part of the database.Advantages of RDBMS • Redundancy can be avoided • Inconsistency can be eliminated • Data can be Shared • Standards can be enforced • Security restrictions ca be applied • Integrity can be maintained • Conflicting requirements can be balanced • Data independence can be achieved.Disadvantages of RDBMS A significant disadvantage of the RDBMS system is cost. In addition to the cost of
  • 8. purchasing of developing the software, the hardware has to be upgraded to allow for theextensive programs and the workspace required for their execution and storage. Whilecentralization reduces duplication, the lack of duplication requires that the database beadequately backed up so that in case of failure the data can be recovered.1.6JAVA 1.6 The most important characteristic of Java is that it was designed from the outset to bemachine independent. We can run Java programs unchanged on any machine and operatingsystem combination that supports Java. Java programs are intrinsically more portable thanprograms written in other languages. An application written in Java will only require a single setof source code statements, regardless of the number of different computer platforms on whichit is run, so it is very useful for internet application. • Platform independence - Java programs can be run on many platforms without modification. This portability is assured by using a Virtual machine1. When a Java program is compiled byte- code is created rather than a standard executable file. Effectively, this is machine code for a virtual machine, which is then interpreted by the Java interpreter. The byte-code can be run on any platform which has a suitable interpreter. • Security - since Java has always been designed with distributed applications in mind, security has been incorporated right from the start, and if anything this has been seen to be too restrictive.Java and the JDK The Java Development Kit contains all the necessary tools for the development of Javaapplications and applets, including a compiler, interpreter, class libraries, applet viewer anddebugger. The current version of the JDK, 1.4.2, is freely available from Suns web she- formachines running Windows 95, Windows NT, Solaris SPARC and Solaris x86, and a version forthe Macintosh is expected later this year (version 1,0 is currently available). Ports to other machinesmay also be available from other sources. It should be noted that browsers may not yet support appletscreated using features in the latest JDK.Characteristics of Java • Simple • Secure • Portable • Object-oriented • Robust • Multithreaded
  • 9. • Architecture-neutral • Interpreted • High performance • Distributed • DynamicJ2EE The Java-2 Enterprise Edition (J2EE™) provides a component-based approach to thedesign, development, assembly, and deployment of enterprise applications. The J2EE platformoffers a multitiered distributed application model, reusable components, a unified security model,flexible transaction control, and web services support through integrated data interchange onExtensible Markup Language (XML)-based open standards and protocols.Components of J2EE • SERVLET Java servlets are small, platform-independent Java programs that can be used to extend the functionality of a Web server in a variety of ways. Servlets are to the server what applets are to the client—small Java programs compiled to bytecode that can be loaded dynamically and that extend the capabilities of the host. It is a server side programming language. • JSP Java Server Pages is the extension of servlet to simplify the programming and coding of servlet. It includes HTML tags to make coding easy. Ultimately it convert into the servlet at the time of calling.HTML Without HTML, the World Wide Web wouldn’t exist. HTML allow the individual elements on the Web to be brought together and assented as a collection. Text, images, multimedia, and other files can be packed together using HTML. This section explains the basic principles behind the interaction between HTML and the World Wide Web.Architectural Strategies
  • 10. 1.7Table StructureHere in below tables * is used for denoting Foreign Key and # for Primary Key.Table 1:- Login Field Type Size(Bytes) Constraint UserID# Nchar 10 Not Null Password Varchar 20 Not NullTable 2:- Personal Profile Field Type Size(In Byte) Constraint College_ID# Nchar 10 Not Null Stud_name Varchar 50 Not Null F_Name Varchar 50 Not Null An_In_father Decimal 1,0 Not Applied DOB DateTime Std Size Not Null Nationality Varchar 50 Not Applied Gender Char 1 Not Null Category Char 10 Not Null Marr_status Char 1 Not Applied Area_R_U Char 1 Not Applied PAddress Varchar 100 Not Null City Varchar 50 Not Null Dist Varchar 50 Not Applied Pincode Decimal 6,0 Not Applied State Varchar 50 Not Null Country Varchar 50 Not Null Phone_No1 Decimal 12,0 Not Applied Email Varchar 50 Not Applied LAddress Varchar 100 Not Applied L_G_Address Varchar 100 Not Applied Phone_No2 Decimal 12,0 Not Applied Nearest_Station Varchar 50 Not Applied
  • 11. Table 3:- Academic Profile Field Type Size(Bytes) Constraint College_ID* Nchar 10 Not Null DOJ Datetime Std Size Not Null Current_sem Decimal 1,0 Not Applied *Course_Code Char 5 Not Null Sec_per Decimal (2,2) Not Null Sr_sec_per Decimal (2,2) Not Null Entrance_exam Varchar 10 Not Null Rank Decimal 5,0 Not AppliedTable 4:- Course Code Field Type Size(Bytes) Constraint Course_code# Char 5 Not Null Course_name Varchar 50 Not Null Duration Decimal 1,0 Not NullTable 5:- Attendance Field Type Size(Bytes) Constraint Collage_ID* Nchar 10 Not Null Sub1 Char 5 Not Null Att1 decimal 2,0 Not Null Sub2 Char 5 Not Null Att2 decimal 2,0 Not Null Sub3 Char 5 Not Null Att3 decimal 2,0 Not Null Sub4 Char 5 Not Null
  • 12. Att4 decimal 2,0 Not Null Sub5 Char 5 Not Null Att5 decimal 2,0 Not Null Sub6 Char 5 Not Null Att6 Decimal 2,0 Not NullTable 6:- Internal Marks Field Type Size(Bytes) Constraint College_ID* Nchar 10 Not Null Sub1 Char 5 Not Null Mark1 decimal 2,0 Not Null Sub2 Char 5 Not Null Mark2 decimal 2,0 Not Null Sub3 Char 5 Not Null Mark3 decimal 2,0 Not Null Sub4 Char 5 Not Null Mark4 decimal 2,0 Not Null Sub5 Char 5 Not Null Mark5 Decimal 2,0 Not Null Sub6 Char 5 Not Null Mark6 decimal 2,0 Not NullTable 7:- Fee Field Type Size(Bytes) Constraint College_ID* Nchar 10 Not Null H_Fee decimal 5,0 Not Null T_Fee Decimal 5,0 Not Null H_Date Datetime Std Size Not Null T_Date Datetime Std Size Not Null1.8Steps for creating Database Connections1.8.1 Introduction
  • 13. The JDBC ( Java Database Connectivity) API defines interfaces and classes for writing databaseapplications in Java by making database connections. Using JDBC you can send SQL, PL/SQLstatements to almost any relational database. JDBC is a Java API for executing SQL statementsand supports basic SQL functionality. It provides RDBMS access by allowing you to embedSQL inside Java code. Because Java can run on a thin client, applets embedded in Web pagescan contain downloadable JDBC code to enable remote database access.1.8.2Loading a database driverIn this step of the jdbc connection process, we load the driver class by calling Class.forName()with the Driver class name as an argument. Once loaded, the Driver class creates an instance ofitself. A client can connect to Database Server through JDBC Driver. Since most of the Databaseservers support ODBC driver therefore JDBC-ODBC Bridge driver is commonly used.The returntype of the Class.forName (String ClassName) method is “Class”. Class is a class injava.langpackage.try { Class.forName(”sun.jdbc.odbc.JdbcOdbcDriver”); //Or any other driver}catch(Exception x){ System.out.println( “Unable to load the driver class!” );}1.8.3Creating a jdbc ConnectionThe JDBC DriverManager class defines objects which can connect Java applications to a JDBCdriver. DriverManager is considered the backbone of JDBC architecture. DriverManager classmanages the JDBC drivers that are installed on the system. Its getConnection() method is used toestablish a connection to a database. It uses a username, password, and a jdbc url to establish aconnection to the database and returns a connection object. A jdbc Connection represents asession/connection with a specific database. Within the context of a Connection, SQL, PL/SQLstatements are executed and results are returned. An application can have one or moreconnections with a single database, or it can have many connections with different databases. AConnection object provides metadata i.e. information about the database, tables, and fields. Italso contains methods to deal with transactions.1.8.4Creating a jdbc Statement objectOnce a connection is obtained we can interact with the database. Connection interface definesmethods for interacting with the database via the established connection. To execute SQLstatements, you need to instantiate a Statement object from your connection object by using thecreateStatement() method.
  • 14. Statement statement = dbConnection.createStatement();A statement object is used to send and execute SQL statements to a database.Three kinds of StatementsStatement: Execute simple sql queries without parameters.Statement createStatement()Createsan SQL Statement object.Prepared Statement: Execute precompiled sql queries with or without parameters.PreparedStatement prepareStatement(String sql)returns a new PreparedStatement object.PreparedStatement objects are precompiledSQL statements.Callable Statement: Execute a call to a database stored procedure.CallableStatementprepareCall(String sql)returns a new CallableStatement object. CallableStatement objects areSQL stored procedure call statements.1.8.5Executing a SQL statement with the Statement object, and returning a jdbc resultSet.Statement interface defines methods that are used to interact with database via the execution ofSQL statements. The Statement class has three methods for executing statements:executeQuery(), executeUpdate(), and execute(). For a SELECT statement, the method to use isexecuteQuery . For statements that create or modify tables, the method to use is executeUpdate.Note: Statements that create a table, alter a table, or drop a table are all examples of DDLstatements and are executed with the method executeUpdate. execute() executes an SQLstatement that is written as String object.ResultSet provides access to a table of data generated by executing a Statement. The table rowsare retrieved in sequence. A ResultSet maintains a cursor pointing to its current row of data. Thenext() method is used to successively step through the rows of the tabular results.1.9Table CreationTable creation done in following steps:Statement:It is a interface. Statement object executes the SQL statement and returns the result itproduces.createStatement():It is a method of Connection interface. which returns Statement object. Thismethod will compile again and again whenever the program runs.CREATE TABLE table_name(field_name):An appropriate code used for creating a table withgiven field name.
  • 15. executeUpdate(String table):This method also executes SQL statement that may be INSERT,UPDATE OR DELETE statement are used in the code. It takes string types parameters for SQLstatement. It returns int.1.10USER INTERFACESFollowing are the required interfaces for Student Information System.1. Login Screen Login Screen will allow Student/Admin/Staff Login. Admin will provide password toStudent and Staff. Login Screen will be having two text fields one for entering username andother one for entering password.2. Home Page After successful Login, User will come to Home Page. Home Page will be havingfollowing options i) Change Password ii) Feedback iii) Notices iv) Profile v) Log Out3. Change Password Screen After login student can change his password by selecting the change password option inmain menu of home page.4. Profile Creation On clicking the profile button first choice is for creating the profile or for updating theexisting profile. In this form student upload his personal and academic information.
  • 16. 5. Profile View This is the second choice of profile button. This form shows the overall details of studentincluding personal and academic details. After filling the above form this form is generated.6. Attendance Detail Screen On clicking the attendance button this form is viewed. This form shows the subject wisestudent attendance.7. Internal Results View When the student clicks on this, he/she will get the internals result in all the subjects.How much grade point he/she secures out of 20 he/she can know.8. Fee Detail View When the student clicks this link he/she can get the entire fees structure quarter wise andannual fee.