Sei sulla pagina 1di 35

DEVELOPMENT OF DYNAMIC

WEBSITE FOR AN INSTITUTION


USING ASP.NET TECHNOLOGY
REPORT
SUBMITTED IN PARTIAL FULLFILLMENT OF THE REQUIREMENT FOR
Industrial Training
At
Aptech,Delhi
(from_________to______)

SUBMITTED BY

MITUL VOHRA
I.T
039
03914803113

Information Technology Department


Department of Information Technology

ACKNOWLEDGEMENT
On the very outset of this report, I would like to extend my sincere
obligation towards all the personages who have helped me in this endeavor.
Without their active guidance, help, cooperation & encouragement, I would
not have made headway in the project.
The training opportunity I had with Aptech was a great chance for learning
and professional development. I extend my gratitude to Aptech for giving
me this opportunity. During my summer training, the staff at Aptech was
very helpful and extended their valuable guidance and help whenever
required.
I express my deepest thanks to Mr. Narendra Kr Sharma for taking part in
useful decision & giving necessary advices and guidance and arranged all
facilities to make life easier. I choose this moment to acknowledge his
contribution gratefully. I also thank who helped me by sharing her vast
experience and giving valuable direction during my work term.
I am thankful to my fellow trainees Rohit Sharma and Dhruv Sharma for
great cooperation and friendly support during my term.
I express my deepest thanks to //College Faculty// who in spite of being very
busy with his duties, took time out to guide and keep me on the right path.
I would like to thank MAIT, GGSIP University, Rohini for introducing me to
this great opportunity in which I have developed myself both academically,
professionally and socially.
Any omission in the brief acknowledgement does not mean a lack of
gratitude.

Thanking You,
Mitul Vohra
(03914803113)

DECLARATION

This is to certify that the report entitled


DEVELOPMENT OF DYNAMIC WEBSITE FOR AN INSTITUTION USING
ASP.NET TECHNOLOGY
which is submitted by me in partial fulfillment of the requirement for the award of
Summer Training in Aptech, Pitampura, Delhi comprises only my original work and
due acknowledgement has been made in the test to all other material used.

Mitul Vohra
(03914803113 )

SIGNATURE

LIST OF ABBREVIATIONS

The following are the list of conventions and acronyms used in this
document and the project as well:

Administrator: A login id representing a user with user administration


privileges to the software.

User: A general login id assigned to most users.

Member: Intended users for the software.

SQL: Structured Query Language; used to retrieve information from a


database.

Key: Used to differentiate entries in a database.

ASP- Active Server Pages

C#- C Sharp

JS-JavaScript

HTML-Hyper Text Markup Language

CSS-Cascading Style Sheet

TABLE OF CONTENTS
1. Preface

2. Organization Introduction
3. Project Review

18

3.1. Introduction

18

3.2. About The Project


3.3. Users

21

22

3.4. Database 23
3.5. E-R Diagram---------------------------------------------------------------------------------24
7.6 Project Work

25

7.6.1. Homepage
7.6.2. Login

25

26

7.6.3. Discussion

27

7.6.4. Contact 28
7.6.5. About

29

7.6.6. Question

30

7.6.7. Tutorial 31
7.6.8. Sign Up

32

7.6.9. My profile

33

7.6.10. Admin 34
8. Conclusion 35
9. Bibliography

36

10. Certificate 37

PREFACE

Learning is a very complex process. Not only a student requires the right
material to learn but he/she also requires expert guidance to learn and
consequently perform efficiently. He requires active participation of not only
himself but also his peers who in the process help him in learning efficiently
and show him the right path which they themselves follow.

Computer science is a vast field. It is the scientific and practical approach


to computation and its applications. A programming language is
a formal constructed language designed to communicate instructions to
a machine, particularly a computer. Programming languages can be used to
create programs to control the behavior of a machine or to
express algorithms. The earliest programming languages preceded
the invention of the digital computer and were used to direct the behavior
of machines such as Jacquard looms and player pianos. Thousands of
different programming languages have been created, mainly in the
computer field, and many more still are being created every year.

It becomes integral for a computer science student to learn some or at least


one of the programming languages, its syntax and semantics, to
understand the various concepts and realize the diverse fields of computer
science.

This project aims to simplify the communication between teachers and


students so that information sharing is seamless, fast, fool-proof, and
permanent. It also aims to improve the user experience of traditional web
based portals by utilizing flatter design practices which not only perform
well ,but also look good. It utilizes advanced libraries, .NET framework and a
client-server model. The server side coding is done in C# (C Sharp) while
the frontend utilizes HTML set of languages which are HTML, CSS,
JavaScript.

ORGANIZATION INTRODUCTION

I pursued my summer training program with Aptech Limited in C# and


ASP.NET located at Aptech Computer Education is a premier IT education
Institute. Established in 1986, Aptech is a pioneer in IT software & hardware
training.The Institute has successfully trained more than 70 lakh (7 million)
students through its wide network of education centres located in over 40
countries.

Aptech's reputation as a leader in IT training over the past 29 years & a wide network
of centres all over India make it a sound investment for starting your own business.
Aptech Ltd is the pioneer in IT education franchising with many industry awards for its
expertise & experience in the franchisee business model. It also boasts of training
students in various sectors like animation, hardware & networking, aviation all over the
world.
Aptech offers a variety of courses technology courses for IT students, career
programs for students
wanting to enter the IT sector, certification courses for IT professionals to enhance their
career and basic IT programs for school students, housewives/senior citizens etc.

TRAINING DESCRIPTION

INTRODUCTION
A website, also written as web site, or simply site, is a set of related web
pages typically served from a single web domain. A website is hosted on at
least one web server, accessible via a network such as the Internet or a
private local area network through an Internet address known as a uniform
resource locator (URL). All publicly accessible websites collectively
constitute the World Wide Web.
Web pages, which are the building blocks of websites, are documents,
typically written in plain text interspersed with formatting instructions of
Hypertext Markup Language (HTML, XHTML). They may incorporate
elements from other websites with suitable markup anchors. Webpages are
accessed and transported with the Hypertext Transfer Protocol (HTTP),
which may optionally employ encryption (HTTP Secure, HTTPS) to provide
security and privacy for the user of the webpage content. The user's
application, often a web browser, renders the page content according to its
HTML markup instructions onto a display terminal.

What Is a Web Application?


Web applications are by nature distributed applications, meaning that they
are programs that run on more than one computer and communicate
through a network or server. Specifically, web applications are accessed
with a web browser and are popular because of the ease of using the
browser as a user client. For the enterprise, the ability to update and
maintain web applications without deploying and installing software on
potentially thousands of client computers is a key reason for their
popularity. Web applications are used for web mail, online retail sales,
discussion boards, weblogs, online banking, and more. One web application
can be accessed and used by millions of people.
Like desktop applications, web applications are made up of many parts and
often contain mini-programs, some of which have user interfaces, and some
of which do not require a graphical user interface (GUI) at all. In addition,
web applications frequently require an additional markup or scripting
language, such as HTML, CSS, or JavaScript programming language. Also,
many

applications use only the Java programming language, which is ideal


because of its versatility.
A web application can be as simple as a page that shows the current date
and time or as complex as a set of pages on which you can look up and
book the most convenient flight, hotels, and car rentals for your next
vacation.
The technologies used to create web applications are a part of the Microsoft
.NET platform. In order for many of these technologies to work on a server,
the server must have a container, or web server, installed that recognizes
and runs the classes you create. Microsoft provides its own server for
ASP.NET web pages which provides better security than a third party server
software.

IIS (Internet Information Services) Server comes pre-installed on windows pro,


ultimate and
enterprise editions however, windows server 2014 is the latest standalone server used in
the industry.

10

ABOUT THE PROJECT


My project DEVELOPMENT OF DYNAMIC WEBSITE FOR AN INSTITUTION
USING ASP.NET TECHNOLOGY focusses on providing the students as well as the
teachers/ institution with a necessary platform for seamless communication, updates
and notices. It also helps in automation of the system so that manual work is reduced
and is designed with efficiency, speed and reliability in mind. The data, once stored is
permanent and reduces redundancy of information.
This project also utilizes advances technologies for front-end development for its
design and implementation which makes the site look modern and up-to-date compared
to other websites using traditional implementation of html. Some of these are:
1. Bootstrap
2. Animate library
3. MDL library
4. Font Awesome
5. Google Web Fonts
6. Various JS libraries

Main features of the project include:

It provides a platform for communication between institute and students as well

as teachers and students.


It comprises of various functions like Notices, Updates, Assignment submission

etc.
It allows students to register for an account
11

It has separate functionality depending upon who is accessing the web


application i.e student or faculty member.

USERS
Student:
A user is a person who runs the website on his web browser. He is defined by the
various attributes which include his username, Date of Birth, Password, Country of
Origin, Name and Gender.
She/he can simply access the various written programming tutorials presented by
the website without logging in.
The user can also login to the website

A registered user has the following authorities:


She/he can access and download the various tutorials present on the website.
She/he can participate in discussions.
By participating in discussions She/he can :
Answer questions asked by other users.
Create a new discussion by asking a question related to programming.

Administrator:
An administrator is a user who has special rights above the rights of the normal
user.
She/he can do everything that a normal user can as mentioned above.
Above that She/he also has the following rights:
The admin can revoke the authority of a particular user by deleting his account
from her/his end.
The admin can also grant authority by adding a new user from his end.
The admin can view all the details every user who is registered on the website.

12

DATABASE:

The database of the following project consists of 4 tables organized in the order of their
use:
1. The User table consists of all the information entered by the student at the time
of signup which can be used for further reference.

2. The Faculty table lists all the questions asked by a particular user along with a
question ID and a distinguishing username. It stores all the questions so that it
can be referenced in the future to store the answers or to view the question data.

3. The POST table stores all the answers given by the users for the questions put
forward by their fellow programmers.
AID
1001

QID
101

USERNAME
ajain7447

ANSWER
The <div> tag is
nothing more than a
container unit that
encapsulates other
page elements and
divides the HTML
document into
sections.

4. The Notices table stores the comments entered by the users.


CID
111

USERNAME
ajain7447

COMMENT
It is a good website!!

13

E-R DAIGRAM:

14

ER DIAGRAM OF CODING TUTORIAL AND DISCUSSION


FORUMPROJECT WORK:
1. ARCHITECTURE

1.1 C# (C Sharp)
C# (pronounced as see sharp) is a multi-paradigm programming
language encompassing strong
typing, imperative, declarative, functional,generic, object-oriented (class-based),
and component-oriented programming disciplines. It was developed
by Microsoft within its .NET initiative and later approved as a standard
by Ecma (ECMA-334) and ISO (ISO/IEC 23270:2006). C# is one of the programming
languages designed for the Common Language Infrastructure.
C# is intended to be a simple, modern, general-purpose, object-oriented programming
language. Its development team is led by Anders Hejlsberg. The most recent version is
C# 6.0, which was released on July 20, 2015

The ECMA standard lists these design goals for C#:

The C# language is intended to be a simple, modern, general-purpose, objectoriented programming language.

The language, and implementations thereof, should provide support for software
engineering principles such as strong type checking, array bounds checking,
detection of attempts to use uninitialized variables, and automatic garbage
collection. Software robustness, durability, and programmer productivity are
important.

The language is intended for use in developing software components suitable


for deployment in distributed environments.

Source code portability is very important, as is programmer portability,


especially for those programmers already familiar with C and C++.

Support for internationalization is very important.


15

C# is intended to be suitable for writing applications for both hosted


and embedded systems, ranging from the very large that use sophisticated operating
systems, down to the very small having dedicated functions.

Although C# applications are intended to be economical with regard to memory


and processing power requirements, the language was not intended to compete
directly on performance and size with C or assembly language.

1.2 Syntax
The core syntax of C# language is similar to that of other C-style languages such as C,
C++ and Java. In particular:

Semicolons are used to denote the end of a statement.

Curly brackets are used to group statements. Statements are commonly grouped
into methods (functions), methods into classes, and classes into namespaces.

Variables are assigned using an equals sign, but compared using two
consecutive equals signs.

Square brackets are used with arrays, both to declare them and to get a value at
a given index in one of them.

1.3 Distinguishing Features


Some notable features of C# that distinguish it from C and C++ (and Java, where
noted) are:

1.3.1 Portability
By design, C# is the programming language that most directly reflects the
underlying Common Language Infrastructure (CLI). Most of its intrinsic types
correspond to value-types implemented by the CLI framework. However, the language
specification does not state the code generation requirements of the compiler: that is, it
16

does not state that a C# compiler must target a Common Language Runtime, or
generate Common Intermediate Language (CIL), or generate any other specific format.
Theoretically, a C# compiler could generate machine code like traditional compilers of
C++ or FORTRAN.
1.3.2 Typing
C# supports strongly typed implicit variable declarations with the keyword var , and
implicitly typed arrays with the keyword new[] followed by a collection initializer.
C# supports a strict Boolean data type, bool . Statements that take conditions, such
as while and if , require an expression of a type that implements the true operator,
such as the Boolean type. While C++ also has a Boolean type, it can be freely
converted to and from integers, and expressions such as if(a) require only that a is
convertible to bool, allowing a to be an int, or a pointer. C# disallows this "integer
meaning true or false" approach, on the grounds that forcing programmers to use
expressions that return exactly bool can prevent certain types of programming
mistakes such as if (a = b) (use of assignment = instead of equality == , which while
not an error in C or C++, will be caught by the compiler anyway).
C# is more type safe than C++. The only implicit conversions by default are those that
are considered safe, such as widening of integers. This is enforced at compile-time,
during JIT, and, in some cases, at runtime. No implicit conversions occur between
Booleans and integers, nor between enumeration members and integers (except for
literal 0, which can be implicitly converted to any enumerated type). Any user-defined
conversion must be explicitly marked as explicit or implicit, unlike C++ copy
constructors and conversion operators, which are both implicit by default.
C# has explicit support for covariance and contravariance in generic types, unlike C++
which has some degree of support for contravariance simply through the semantics of
return types on virtual methods.
Enumeration members are placed in their own scope.
The C# language does not allow for global variables or functions. All methods and
members must be declared within classes. Static members of public classes can
substitute for global variables and functions.
Local variables cannot shadow variables of the enclosing block, unlike C and C++.
17

1.3.3 Meta programming


Meta programming via C# attributes is part of the language. Many of these attributes
duplicate the functionality of GCC's and Visual C++'s platform-dependent preprocessor
directives.

1.3.4 Methods and functions


Like C++, and unlike Java, C# programmers must use the keyword virtual to allow
methods to be overridden by subclasses.
Extension methods in C# allow programmers to use static methods as if they were
methods from a class's method table, allowing programmers to add methods to an
object that they feel should exist on that object and its derivatives.
The type dynamic allows for run-time method binding, allowing for JavaScript-like
method calls and run-time object composition.
C# has support for strongly-typed function pointers via the keyword delegate . Like the
Qt framework's pseudo-C++ signal and slot, C# has semantics specifically surrounding
publish-subscribe style events, though C# uses delegates to do so.
C# offers Java-like synchronized method calls, via the
attribute [MethodImpl(MethodImplOptions.Synchronized)] , and has support
for mutually-exclusive locks via the keyword lock .
1.3.5 Property
C# provides properties as syntactic sugar for a common pattern in which a pair of
methods, accessor (getter) and mutator (setter) encapsulate operations on a
single attribute of a class. No redundant method signatures for the getter/setter
implementations need be written, and the property may be accessed using attribute
syntax rather than more verbose method calls.

18

1.3.6 Namespace
A C# namespace provides the same level of code isolation as a Java package or a C+
+ namespace , with very similar rules and features to a package .
1.3.7 Memory access
In C#, memory address pointers can only be used within blocks specifically marked
as unsafe, and programs with unsafe code need appropriate permissions to run. Most
object access is done through safe object references, which always either point to a
"live" object or have the well-defined null value; it is impossible to obtain a reference
to a "dead" object (one that has been garbage collected), or to a random block of
memory. An unsafe pointer can point to an instance of a value-type, array, string, or a
block of memory allocated on a stack. Code that is not marked as unsafe can still store
and manipulate pointers through the System.IntPtr type, but it cannot dereference
them.
Managed memory cannot be explicitly freed; instead, it is automatically garbage
collected. Garbage collection addresses the problem of memory leaks by freeing the
programmer of responsibility for releasing memory that is no longer needed.

1.3.8 Exception
Checked exceptions are not present in C# (in contrast to Java). This has been a
conscious decision based on the issues of scalability and versionability.

1.3.9Polymorphism
Unlike C++, multiple inheritance is not supported by C#, although a class can
implement any number of interfaces. This was a design decision by the language's lead
architect to avoid complication and simplify architectural requirements throughout CLI.
When implementing multiple interfaces that contain a method with the same signature,
C# allows the programmer to implement each method depending on which interface
that method is being called through, or, like Java, allows the programmer to implement
the method once and have that be the single invocation on a call through any of the
class's interfaces.
19

However, C#, unlike Java, supports operator overloading. Only the most commonly
overloaded operators in C++ may be overloaded in C#.
1.3.10 Functional programming
Though primarily an imperative language, C# 2.0 offered limited support for functional
programming through first-class functions and closures in the form of anonymous
delegates. C# 3.0 expanded support for functional programming with the introduction
of a light weight syntax for lambda expressions, extension methods (an affordance for
modules), and a list comprehension syntax in the form of a "query comprehension"
language.

1.4 Common type system


C# has a unified type system. This unified type system is called Common Type
System (CTS).
A unified type system implies that all types, including primitives such as integers, are
subclasses of the System.Object class. For example, every type inherits
a ToString() method.
1.4.1 Categories of data types
CTS separates data types into two categories:
1. Reference types
2. Value types
Instances of value types do not have referential identity nor referential comparison
semantics - equality and inequality comparisons for value types compare the actual data
values within the instances, unless the corresponding operators are overloaded. Value
types are derived from System.ValueType , always have a default value, and can always
be created and copied. Some other limitations on value types are that they cannot derive
from each other (but can implement interfaces) and cannot have an explicit default
(parameterless) constructor. Examples of value types are all primitive types, such
as int (a signed 32-bit integer), float (a 32-bit IEEE floating-point number), char (a
16-bit Unicode code unit), and System.DateTime (identifies a specific point in time
20

with nanosecond precision). Other examples are enum (enumerations)


and struct (user defined structures).
In contrast, reference types have the notion of referential identity - each instance of a
reference type is inherently distinct from every other instance, even if the data within
both instances is the same. This is reflected in default equality and inequality
comparisons for reference types, which test for referential rather than structural
equality, unless the corresponding operators are overloaded (such as the case
for System.String ). In general, it is not always possible to create an instance of a
reference type, nor to copy an existing instance, or perform a value comparison on two
existing instances, though specific reference types can provide such services by
exposing a public constructor or implementing a corresponding interface (such
as ICloneable or IComparable ). Examples of reference types are object (the ultimate
base class for all other C# classes), System.String (a string of Unicode characters),
and System.Array (a base class for all C# arrays).
Both type categories are extensible with user-defined types.
1.4.2 Boxing and unboxing
Boxing is the operation of converting a value-type object into a value of a
corresponding reference type.Boxing in C# is implicit.
Unboxing is the operation of converting a value of a reference type (previously boxed)
into a value of a value type.Unboxing in C# requires an explicit type cast. A boxed
object of type T can only be unboxed to a T (or a nullable T).
Example:
int foo = 42;
// Value type.
object bar = foo; // foo is boxed to bar.
int foo2 = (int)bar; // Unboxed back to value type.
Libraries
The C# specification details a minimum set of types and class libraries that the
compiler expects to have available. In practice, C# is most often used with some
implementation of theCommon Language Infrastructure (CLI), which is standardized as
ECMA-335 Common Language Infrastructure (CLI).
21

2. ASP.NET
ASP.NET is an open-source server-side Web application framework designed for Web
development to produce dynamic Web pages. It was developed by Microsoft to a
llow programmers to build dynamic web sites, web applications and web services.
It was first released in January 2002 with version 1.0 of the .NET Framework, and is
the
successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on
the Common Language Runtime (CLR), allowing programmers to write ASP.NET code
using
any supported.NET language. The ASP.NET SOAP extension framework allows
ASP.NET
components to process SOAP messages.

2.1 Characteristics
ASP.NET Web pages, known officially as Web Forms, are the main building blocks for
application development in ASP.NET. Web forms are contained in files with a ".aspx"
extension; these files typically contain static (X)HTML markup, as well as markup
defining server-side Web Controls and User Controls where the developers place all the
rc content for the Web page. Additionally, dynamic code, which runs on the server, can
be placed in a page within a block <% -- dynamic code -- %> , which is similar to other
Web development technologies such as PHP, JSP, and ASP. With ASP.NET
Framework 2.0, Microsoft introduced a new code-behind model which allows static
text to remain on the .aspx page, while dynamic code remains in an .aspx.vb or .aspx.cs
or .aspx.fs file (depending on the programming language used).
2.2 Code-behind model
Microsoft recommends dealing with dynamic program code by using the code-behind
model, which places this code in a separate file or in a specially designated script tag.
Code-behind files typically have names like MyPage.aspx.cs or MyPage.aspx.vb while
22

the page file is MyPage.aspx (same filename as the page file (ASPX), but with the final
extension denoting the page language). This practice is automatic in Microsoft Visual
Studio and other IDEs. When using this style of programming, the developer writes
code to respond to different events, like the page being loaded, or a control being
clicked, rather than a procedural walkthrough of the document.
ASP.NET's code-behind model marks a departure from Classic ASP in that it
encourages developers to build applications with separation of presentation and
content in mind. In theory, this would allow a Web designer, for example, to focus on
the design markup with less potential for disturbing the programming code that drives
it.

2.3 User controls


User controls are encapsulations of sections of pages which are registered and used as
controls in ASP.NET, org,etc.

2.4 Performance
ASP.NET aims for performance benefits over other script-based technologies
(including classic ASP) by compiling the server-side code the first time it is used to one
or more DLL files on theWeb server. These dll files or assemblies contain Microsoft
Intermediate Language (MSIL) for running within the common language runtime; this
provides a performance boost over pure scripted languages and is similar to the
approach used by Python and not dissimilar to java server pages.[16] This compilation
happens automatically the first time a page is requested (which means the developer
need not perform a separate compilation step for pages).
This feature provides the ease of development offered by scripting languages with the
performance benefits of a compiled binary. However, the compilation might cause a
noticeable but short delay to the Web user when the newly edited page is first requested
from the Web server, but will not again unless the page requested is updated further.
The ASPX and other resource files are placed in a virtual host on an Internet
Information Services server (or other compatible ASP.NET servers; see Other
implementations, below). The first time a client requests a page, the .NET Framework
23

parses and compiles the file(s) into a .NET assembly and sends the response;
subsequent requests are served from the DLL files. By default ASP.NET will compile
the entire site in batches of 1000 files upon first request. If the compilation delay is
causing problems, the batch size or the compilation strategy may be tweaked.
Developers can also choose to pre-compile their "codebehind" files before deployment,
using Microsoft Visual Studio, eliminating the need for just-in-time compilation in a
production environment. This also eliminates the need of having the source code on the
Web server. It also supports pre-compile text.

SOFTWARE AND HARDWARE REQUIREMENTS


HARDWARE:
PROCESSOR

core2duo or higher

RAM

1GB minimum

HARD DISK

1 GB Free Space Minimum

KEYBOARD

STANDARD 108 KEYS KEYBOARD

1024 x 768 or higher

MONITOR
VGA/SVGA/XGA

( Color Monitor)

SOFTWARE:

BACK END

Visual Studio 2013 (C#)

FRONT END

HTML, CSS and JavaScript, Atom Editor

DATABASE

MS SQL Server 2014

24

WORKING

1. HOMEPAGE (Default.aspx):

25

Homepage

The Homepage of the website utilizes mdl libraries to build a fast and responsive
website.
It consist of a header menu bar which floats (i.e fixed) when user scrolls the page. It
consists of a menu button on the extreme left which opens a slide-out menu for links to
various pages. On the right we have four button placed which are Browse, Connect,
Register, Contact each having a separate page
An image automatic slider is placed which shows pictures of the institution and
changes between them regularly.
Below the image slider , 3 buttons are placed for quick access and towards the right a
Login Web User Control is placed which is in a separate file and utilizes ASP.NET and
C# to run server side code.
The user has to select the type of login (Student/Faculty) and then provide enroll no or
ID respectively along with the password. Validation controls are placed on both of the
text box to prevent the user from submitting the form with both the textboxes empty.
On click of the button login, the website connects with the database table and searches
for a user with the supplied ID and password, if such a match is found, the server
transfers the user to the respective logged in page. A session object is also created to
keep track of the user status.
If no user exists, then a label controls text is changed to indicate that login was a
failure due to either wrong ID or Password.

26

2. Learn More

About us
Static Page which provides additional information for the institution.

27

3. AFTER LOGIN:

Logged in page
If the log in is successful, the server transfer the user to this page.
This page retains most of the layout of the homepage with the same header but now
instead of register, a logout link is added to the header menu.
28

This page provides all of the functions as a list of buttons, on click of any of the button,
the <div> element of the page is switched. Each button has an associated web user
control.
The default element is the Home. Home consist of basic information and the user image
on the extreme right.
It opens connection with the database and retrieves the information, then it changes the
labels text property to reflect the user information.

4. POSTS:

Posts page

29

By clicking on the POSTS button the div element associated with it is switched and
other are hidden.
This page utilizes two web user controls, one displays posts made by other users to the
current user and the other control allows the logged in user to send message to other
users which can be selected by the dropdown list.
The Posts web user control creates labels dynamically based on count of posts from the
table Posts.
The Send message web user control inserts the message to the table posts on click of
the button.

30

5. CONTACT:

Contact Us page

This page allows guest to get information of the institution and contact the institute by
using the controls provided.
The controls send a mail to the admin of the site with the question and email id of the
guest.

31

6. NOTICES:

Notices Page

When the user clicks on notices button, the div element associated with the button is
made visible.
this page contains a list of all the notices which are retrieved from the Notices table
from the database. The notices are ordered in decreasing order according to the submit
time of the notice.
The user can only see the list of notices but only a faculty can insert a new notice.

32

7. SIGNUP:

Signup page

This page consist of various asp.net controls along with validation controls.
It allows a guest to create an account on the website database. The information asked is
first name, last name, branch, emailId, enroll no, password, confirmation password.
If the account is successfully created, inserted values successfully is displayed to the
user.

33

CONCLUSION
As an undergraduate of the MAIT, GGSIP University, I would like to say that this
training program was an excellent opportunity for me to get to the ground level and
experience things that I would have never learned by simply reading a book. I am
grateful to NIIT Ltd and MAIT, GGSIP University for giving me this wonderful
opportunity. The main objective of the industrial training is to provide an opportunity to
under graduates to identify, observe and practice Java and its applications and develop
real time projects for the same. It is not only to get experience on technical practices
but also to observe management practices and to interact with fellow workers.
The main thing that I have learned through this training is time management skills as
well as self-motivation. When I first started I did not think that I was going to be able
to make myself learn a lot and implement it as aptly as possible. Once I realized what I
had to do, I organized my day and work so that I was not overlapping or wasting my
hours. I learned that I needed to be organized and have questions ready for when it was
the correct time to get feedback. I have gained new knowledge, skills and met many
new people. I got insight into professional practice. I learned the different facets of
creating a live project and working with individuals with different interests. I learnt the
ways of work in an organization, the importance of being punctual, the importance of
maximum commitment, and the importance of team spirit. I increased my interaction
during this period which helped my personality to improve. I learned how to implement
my knowledge in the most appropriate way and learn as much as possible. At last this
training has given me new insights and motivation to pursue my career.

34

BIBLIOGRAPHY

Web Component Development With Servlet and JSP Technologies - Student


Guide
www.google.com
http://searchsoa.techtarget.com/definition/Java-Server-Page
http://searchsoa.techtarget.com/definition/servlet
https://www.draw.io/#LER%20REPORT

https://en.wikipedia.org/wiki/Database

35

Potrebbero piacerti anche