Anda di halaman 1dari 84

Chapter

Introduction

1
1.1Overview:
This chapter contains the introduction about the company and the project. In this chapter I
am describing the features of the organization and the project. This chapter contains the
information regarding the organization in terms of its establishment, its plans, its vision etc.
This chapter also gives a brief overview of the project as well, in terms of its objective,
features, comparison with similar projects and its future scope.

Overview

1.2 1.7 Minimum


Company 1.3 1.4 1.6 Processing 1.8
1.5 About
profile Company Company Technologie Requirement Conclusion
project
vision strategy s used
Company
Profile

1.5.2
1.5.1Feature 1.5.3compar 1.5.4Future
Objective of
s of projects ison study scope
the projects

2
1.3 Company Vision
Vision - We aim to bridge the gap between your business and your target audience. With a
cumulative experience of over 15 years, we have been providing solutions in the following
space: - Development: Microsoft Technologies, Open Source Technologies & Mobile platforms -
Design: Graphics, Web & Mobile - Marketing: Organic & Inorganic search, Content, Social
Media An architect by definition is the one who creates. Here at CS, that's what we do. That's
who we are.
We create:
• Designs that win clients
• Codes that deliver
• Strategies that builds business &
• Analysis that gives useful insight

1.4 Company Strategy:

To liaise with business houses, entrepreneurs and strategic leaders from across the globe and
deliver solutions that make a difference.

1.5About the Project


If you can’t seem to sit still while you’re on vacation, Peek serves up a nearly endless list of
activities for more than 20 cities around the world. Activities are sorted into groups like “What to
do when it rains” or “Under $50,” and there’s a “Perfect Day” section that features hand-picked
activities by high-profile experts from each locale. We know that an unforgettable trip is built on
the special experiences you share with friends and family. Yet these activities are often difficult
to find and even more challenging to book. We’re changing this. We carefully curate our
offering of high-quality activities, display them beautifully, and make them easily bookable
online via computer, tablet or mobile phone. We’re dedicated to making travel planning
enjoyable, so you can focus on what matters – creating memories that will last a lifetime.

Project Title: Peek


Project category: Web Based Application

The project is very important. Through project a student can get practical
experience. He /She will know the difference between theory and practical work.
Through practical student can increase lot knowledge. The word project meaning itself.

 P- Performing

 R- Reasoning

3
 O- Object

 J-Joyful Moments

 E-Efficiency

 C-Co-operative

 T-Training

Project is a combination of interrelated activities to achieve specific


objectives with in schedule, budget and quality. A project is one time job that has defined
starting and ending dates. It involves the group activities. We create the project under the
guidance of Mrs. Shalini Sharma. The project titled “Peek” is form based that provide
various gadgets. To access this project there is an authorization process.

1.5.1 Feature of the project:


The benefits of the proposed system must also be evaluated. Benefits may be categorized as
tangible orIntangible.
Tangible benefits that are measured in money terms consist of the saving of
 Time.
 Certain operating costs.
 Security of data
 Better performance

Intangible benefits are more difficult to estimate and justify. They are often impossible to give a
money value to.
These may include –
 Satisfaction of the customers
 Efficiency in handling complaints.

1.5.2objectives of project:

 Discover placesLooking for something fun to do last minute? No problem! Book


activities on the go.Browse activities by:Dates.
 Categories like “Off the Beaten Path”, “What to Do with Kids”, “Walking Tours” &
more.

4
 Neighborhoods like “Brooklyn” or “Notting Hill” Points of interest like “Eiffel Tower”
or “Chinatown”
 You can browse and wishlist (favorite). Subways, tunnels, and far-off lands are no
problem!

Purpose
The purpose of this project is to develop software package that will provide user
friendly environment which is very easy to work with even for people with very little
knowledge of computer. Management of the various task is incorporated in the package
and will deliver required information in very easy to access manner. This package will
provide accuracy, efficiency, speed and easiness to end user.

Proposed System

The software I designed PEEK allows user to search and share travel experiences around the
globe. The website is user-friendly. User can find travel related blogs on this site and discussion
forums very easy. The site offers creation of albums and sharing of pictures among users. Site
has Google Map implementation for easy search of locations.

1.5.3 Comparistion Study

The comparison study involves a systematized endeavor to compare two items, with an eye
toward identifying points that the items hold in common, along with citing areas where the two
items differ. These studies take place in a number of different environments, and usually have a
specific purpose in mind.

The comparison study is often used in the business world as a means of identifying how a given
good or service compares to similar products offered by a competitor. In going through the
process of comparing each facet of the two items, it is often possible to identify areas where both
products perform at a similar rate of efficiency. At the same time, comparative studies will often
yield insights about areas where one product excels in comparison with the other. Utilizing the
results of the study, it is possible to develop some powerful tools that can be incorporated into
corporate marketing strategies and sales campaigns.

1.5.4 Future scop of project:


Completion of the development process will result in a software package that will provide user-
friendly environment, which is very easy to work with, even for people with very little
knowledge of computer. Management of various tasks is incorporated in the package and will
deliver the required information in a very easy to use and easy to access manner. This package
will provide accuracy, efficiency, speed and easiness to the end user. Since the system is verified

5
with valid as well as invalid data and is run with an insight into the necessary modifications that
may require in the future, it can be maintained successfully without much hassles.

1.6 Technologies sed in projects:


1.6.1Front End: ASP.NET 5.0

1.6.2 Back End: MSSQLSERVER2014\2012

1.7 Minimum Processing Requirement:


1.7.1 SDLC Model used

Objectives of sdlc
The primary objectives of SDLC( Software Development Life Cycle) are:
 To reduce the risk of project failure.
 To consider system and data requirements throughout the entire life of the system.
 To identify technical and management issues early.
 To foster realistic expectations of what the systems will and will not provide.
 To provide information to better balance programmatic, technical, managemant, and cost
aspects of proposed system development or modification.

6
1.8 Conclusion:
This project is divided into four parts which correspond to the four layers of the logical
architecture of the project. The users of the project interact with Presentation Layer. The
Business Logic Layer (BLL) provides the internal computation of the requirements. The Data
Access Layer (DAL) is the intermediate layer which communicates with the DATABASE

7
Chapter
2

Observational Study, Analysis&


Specifications

8
2.1 Overview
In this chapter we can study about the system analysis. It contains the observations that observe
during project development by the developers. There are various requirements of the project are
also mentioned in this chapter.

Overview

2.2Introduction 2.3Requireme 2.4 System


of system system nt study requirement 2.5Conclusion
analysis analysis specification

2.3.1 Present
system& 2.4.2Non-
Identification Functional
requirement

2.4.3 H/W
2.4.1Functional
Requirement and
requirement
S/W Requirement

2.2Introduction System Analysis


System analysis is the process of collecting factual data, understand the processes involved,
identifying problems and recommending feasible suggestions for improving the system
functioning. This involves studying the business processes, gathering operational data,
understand the information flow, finding out bottlenecks and evolving solution for overcoming
the weaknesses of the system.
The major objective of system analysis are to find answers for each business process:
 What is being done?
 How it is being done?
 Who is doing it?
 When is he doing it? Why is it being done?

9
 How can it be improved?

System analysis is an iterative process that continues until a preferred and acceptable solution
emerges.
2.3 Requirement study/analysis
Requirement analysis is the process of determining user expectations for a new or modified
product. These features called requirements must be quantifiable, relevant and detailed.
Requirement analysis is an important aspect of project management. It involves frequent
communication with system user to determine specific feature expectations, resolution of conflict
or ambiguity in requirements as demanded by the various users and groups of users. It is a team
effort that demands a combination of hardware, software and human factors engineering
expertise as well as skills in dealing with people.
Requirement study/analysis phase is also known as documentation phase. Description of “book
outlet" contained in this phase. This document contains the functional requirements of the
project. In this phase we can study about what is required out of the project.

2.3.1Present System & Identification of Needs

 Front End

 Introduction to modules

 UserModule:- This module contain information of peoples about their debt


savings.Fields contain in this module are:

-Debt-Savings

-Item Name or description.

This module is used for users who want to saving their debt or savings or want calculate their
account.

a) Settings module: -In this moduleuser can lock this application by the user if he want
to secure their debt or savings.

b) Circular slider module: -In this module user see their remaning debt or savings in
the shape of circular with their percentage.

c) Item description: - This module helps the user to enter their item description and add

10
them to the debt field to show their result.

2.3.2 Feasibility
Prior to stating whether the system we have to develop is feasible or not we believe that we
should emphasize on what is implied by the word “Feasibility”. Feasibility is the measure of how
beneficial or practical the development of the system will be to the organization.
Types
There are various measures of feasibility that helps to decide whether a particular project is
feasible or not. These measures include –

 Economic Feasibility: An evaluation of development cost weighted against the


ultimate income or benefit derived from the developed system.
 Technical Feasibility: A study of function, performance and constraints that may
affect the ability to achieve an acceptable system.

 Operational Feasibility: A study about the operational aspects of the system.


Each of these types will be explained in detail throughout the project report

Operational Feasibility

A proposed system is beneficial only if it can be turned into an information system that will meet
the operational requirements of an organization. A system often fails if it does not fit within
existing operations and if users resist the change.
Important issues a systems developer must look into are:
 Will the new system be used if implemented in an organization?

 Are there any major barriers to implementation or is proposed system accepted without
destructive resistance?

Another important fact to be regarded is the security control, which is handled by the system.
Since data regarding each Customer and the Organization is confidential, security is a key issue.
Information falling into the wrong hands could jeopardize the entire organization. Unlike in
semi-computerized systems
The new system is user-friendlier, which enables the end-user to complete his/her work
efficiently and accurately with interest. After taking the above fact intoconsideration we can state
the operating of the proposed system within theorganization is feasible.
In this phase of the feasibility study the following two main topics
1. Technical Performance Aspect and

11
2. Acceptance within the organization

Technical Feasibility
Based on the outline design of the system requirements in terms f inputs, output, Procedures, the
technical issues raised during technical feasibility include:
1. Does the necessary technology exist to do what is proposed?
2. Does the proposed equipment have the technical capacity to hold the data required to use in
the new system?
3. Adequate responses provided by the proposed system?

The software will be build among:


 Front-End: ASP.NET 5.0
 Logic Development: ASP. NET
 Back-End: MS SQL Express

Economical Feasibility

In making recommendations a study of the economics of the proposed system should be made.
Even though finding out the costs of the proposed project is difficult we assume and estimate the
costs and benefits as follows. According to the computerized system we propose, the costs can
be broken down in two categories.
1 Costs associated with the development of the system.
2 Costs associated with operating the system.

2.4Software Requirement Specification (SRS)


Software Requirement Specification (SRS) is a description of a software system to be developed.
It lays out functional and non-functional requirements. SRS is a comprehensive description of
the intended purpose and environment for software under development. The SRS fully describes
what the software will do and how it will be expected to perform.

An SRS minimizes the time and efforts required by developers to achieve desired goal and also
minimize the development cost. A software requirements specification describes the essential
behaviour of a software product from a user’s point of views.
12
The purpose of SRS is to:

 Establish the basis for agreement between the customers and suppliers on what the
software product is to do.
 Provide a basis for developing the software design. The SRS is the most important
document of reference in developing a design.
 Reduce the development efforts
 Provide the basis for estimating costs and Schedules.
 Provide a baseline for validation and verification.
 Facilitate transfer. The SRS makes it easier to transfer the software product to new users
and new machines.
 Serves as a basis for enhancement. Because the SRS discusses the product but not the
project that developed it, the SRS serves as a basis for later enhancement of the finished
product.

2.4.1 Functional Requirements:

 The portal will ask for the details of the user to be entered, to know the category user
belongs to.
 The user will be needed to enter his/her details.
 On the basis of the details the system will select the documents out of all available in its
database and display to the user
 The user can search for the documents and other important information.
 The user can upload the files he wants to share.
 The user can share his documents.
 The user can make groups of categories.
 The administrator of the system will be responsible to post the latest notices on the web
page.
 The concept of Master Pages and Content Pages is used.
 Web User Controls are used to enhance Reusability.

2.4.2 Non-Functional Requirements:

13
 Portability:
The system will be designed to be portable across popular Windows OS.

 Extensibility:
The system should be extensible to add different formats of files and users for more
expansion.

 Re-Usability:
The system’s code could be reused to add further new features if need to be added in
future.

 Reliability and Availability:


System shall be able to deliver the required in reliable manner.

 Software Upgradeability:
System is to be developed in phases, so it shall be easily upgradeable to include the new
items in the database.

User Interface Requirements:

 Log in screen:
Every user whether member, admin or any other will have to first log in to the site.
 Home page:
After logging in, the users will be in their respective homepages.

 Panels:
Website is divided into 2 panels for Home page of different users:
 User panel

 Login panel
User panel:
Users can create profile, share travel experiences, write articles, search locations using
Google Maps, search friends and participate in forums.

Login panel:
User can register and login from this section. If user logins first time then he is redirected to
profile page for profile creation and on further logins user is redirected to DashBoard.
2.4.3 H/W and S/W Requirements:
• Server Hosting ASP.Net 4.5 application

 Windows 2003 Server or Windows 2000 Server with ASP.Net 4.5 and SQL Express.

• Client machine accessing ASP.Net 4.5 application

14
 Any machine that can access a webpage

• Development machine for ASP.Net 4.5 application

 Operating System: Windows


 Software: Visual Studio 2012, Sql Express

Hardware: 160GB Hard Disk, 2GB RAM

2.5 Conclusion:
In this above chapter I can study the System Analysis and various needs or requirements of the
system for designing the desired software or website. Also we can study about feasibility of
current system is for the development of the new software/website. I see the future scope of
theproject. Through this chapter I am analyse our project according to the feasibility study. I can
maintain the project as per the requirements
.

15
Chapter

System Design

16
3.1 Overview
This chapter contains the various designs related aspects of our project. These designs will
include Layered diagrams, Data Flow Diagrams (DFDs), Entity-Relationship diagrams (ER),
structure of the database, and the interface designs in the form of snapshots.

Overview

3.2System 3.5 3.6Interface 3.7conclustio


3.3Data Flow 3.4ER- Design/Cod
Design Database n
Diagram Diagrams ing
Table Of
Module

3.3.1 Zero 3.3.2 One


Level Dfd Level Dfd

3.2.1Mod 3.2.2
ule Design Detail
Design

Fig. 3.1: System Design

3.2 Introduction To System Design


System Design is the process of planning a new system to replace existing one. If the
analysis means ‘what’ the system should do, then design specifies ‘how’ to accomplish the
objectives. The design of the system uses information gathered as basis and produces details that
state how the system will meet the requirements identified during the analysis phase.

17
In this phase of the software development process, the software's overall structure and its
nuances are defined. In terms of the client/server technology, the number of tiers needed for the
package architecture, the module design, the detailed design etc are all defined in this phase.
Design is very crucial in the whole development cycle. The logical system of the
product is developed in this phase. Design will serve as a blueprint for a system and helps detect
problems before errors or problems are built into the final system. Professionals create a system
design, but must review their work with the users to ensure the design meets user’s needs.
The exceptional (or foolish) programmer might begin coding without a good design.
Programmers who do so may find themselves going back to modify pieces of code they've
already written as they move through the project. With a good design, the likelihood of this
happening will be reduced dramatically. The end result is a program that will behave in the way
it was intended, and will generally have with a shorter overall program development time.
When I decided to start with the designing phase for my project, I had two design phases
that I tempted to follow. They were:
 Module Design
 Detailed Design

Generally, it is said that if the design is made well, the whole system will work well. So,
I have tried my best to put my effort on this phase properly.

3.2.1Module Design:
This phase involves understanding the modules required for the project. However this
understanding is confined only to get an overview of the system design and then preparing for
the detailed designing for the project. During this sub-phase of system designing, I tried to create
an understanding about how a module would work. For this I developed few pictorial
representations just trying to picture design for the overall system. It was just limited to creating
a blueprint of the entire system design.
Primarily, in this phase I focused on deciding which modules are needed for the system,
the specifications for these modules and how they are related so that after combining them I
could attain the desired results.
 Modules of the project

 Registration

 Profile Creation

 Google Map Implementation


18
 Each panel has three layers

 Three Layers Of Project:

 Registration: In this module, we will register different users to have a secure navigation
through profiles created and shared by friends. The registration process is made for the
trusted set of users. This is ensured by assigning every user the unique username and
password to login into the account and maintain their documents, share them and access
from anywhere.
 Profile Creation: This particular module will be used for the trusted set of users to create
profile, search and add friends, write and search articles and participate in forums. The
user can create albums and share with friends.
 Google Map Implementation: This particular module will allow search locations using
Google Maps API. Maps allow user to search location and zoom to their details in
graphical mode.

3.2.2 Detailed Design


The internal logic and working of each module is described in the system design is
decided in this phase. And the module logic is described in high level language. Data structure
and algorithmic design of each and every modulle are also defined in this phase.
. These are part of the structured analysis, the set of techniques and graphical tools that
allow the analyst to develop a new kind of system specification that are easily understandable to
the user. It is a way to focus on function rather than physical implementation. The traditional
approach focuses on the cost/benefit analysis, feasibility analysis, project management, hardware
and software section and personal considerations in contrast. Structured analysis considers new

19
goals and structured tools for analysis. There are different tools for structured system analysis of
which DATA FLOW DIAGRAMS are very important

Now we will see algorithmic representations of each module through flowcahrts that
describe information flow in the modules. Then we will try to describe flow of data using the
Data Flow Diagrams that completely picture out the data flow through the client, proxy and the
web server.
Using the DFD’s and Flowcharts the internal logic and working of each module has been
specified. Algorithmic design of each module has been defined in this part of designing.
3.3 Data Flow Diagrams:
It is a way of expressing system requirement in a graphical form; this leads to a modular
design. It is also known as bubble chart, has the purpose of clarifying system requirements
and identifying major transformations that will become program in system design. So it is the
starting point of the design phase that functionally decomposes the requirement
specifications down to the lowest level of details. A DFD consist of a series of bubbles joined
by lines. The bubbles represent data transformation and the lines represent data flows in the
system.

Dfd Symbols:

= Source or Destination of data

= Data flow

= Process that transform data flow

= Store Data

3.3.1 zero level dfd

20
Database input System output User

3.3.2 level-1 dfd

3.4 ER-Diagrams

21
E-R Diagram of module

3.5 Database Table Of Modules:

22
 Tables:
The web application of the problem domain is a 3-tier application. The tiers comprising the
application are database tier, business tier and presentation tier. Here we will be discussing
various table/relations of the web application. Database forms what is called BACK-END of the
application.
Note: the naming convention used for naming of tables is that each table name begins with
TB followed by short name of table. For e.g. table for registration of users will be named as
TBREG.

 Table : tbact for activity

 Table : tbactpic for activity pictures

 Table : tbactprc for activity price

23
 Table : tbbok for booking

 Table : tbcat for catagory

 Table : tbgid for guide

 Table : tbloc for activity location

24
 Table : tbplc for places

 Table : tbreg for resistration

 Table : tbactpic for activity pictures

25
 Table : tbwshlst for activity wishlist

 Stored Procedures:

There are five kinds of stored procedures for each table. They are:
Insert, Update , Delete, Find, Display
1.They are Compiled objects

2.Store in database

3.Execute in database

4.High performance

5.Secure

There are five kinds of stored procedures for each table.

 Naming convention/symbols for store procedures:

1.) ins-tablename (for inserting values in the particular tables)


2.) upd-table name(for updating data in the tables)
3.) del-table name(for deleting data in the tables)
4.) fnd-table name(for finding particular data in the tables)
5.) dsp-table name(for displaying tables data onto screen)

26
Insert procedure

Update procedure:

27
Delete procedure:

Find procedure:

28
Display procedure:

Login check:

29
3.6 Interface Design/Coding
3.6.1Coading Part In C#:-
3.6.1.1Code For Login Page:
using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.Security;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;

publicpartialclass_Default : System.Web.UI.Page
{
protectedvoidPage_Load(object sender, EventArgs e)
{
if (Page.IsPostBack == false)
{
if (Request.QueryString["sts"] != null)
Session["sts"] = Request.QueryString["sts"];
}
}
protectedvoid Button1_Click(object sender, EventArgs e)
{
nspeek.clsregobj = newnspeek.clsreg();
Int32 cod;
charrol;
cod = obj.logincheck(TextBox1.Text, TextBox2.Text, outrol);
if (cod == -1)
Label1.Text = "Email Password Incorrect";
else

30
{
FormsAuthenticationTickettk = newFormsAuthenticationTicket
(1, TextBox1.Text, DateTime.Now, DateTime.Now.AddHours(2),
false, rol.ToString());
String s = FormsAuthentication.Encrypt(tk);
HttpCookieck = newHttpCookie(FormsAuthentication.FormsCookieName, s);
Response.Cookies.Add(ck);

Session["cod"] = cod;
if (rol == 'A')
Response.Redirect("admin/frmcat.aspx");
else
{
if (Session["sts"] == null)
Response.Redirect("index.aspx");
else
{
if (Convert.ToChar(Session["sts"]) == 'B')
{
Session["sts"] = null;
Response.Redirect("frmbok.aspx");
}
elseif (Convert.ToChar(Session["sts"]) == 'R')
{
Session["sts"] = null;
Response.Redirect("frmrev.aspx");
}
elseif (Convert.ToChar(Session["sts"]) == 'W')
{
Session["sts"] = null;
Response.Redirect("frmwshlst.aspx");
}
}
}
}
}
}

3.6.1.2Code For Sign Up Page:


using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;

publicpartialclass_Default : System.Web.UI.Page
{
protectedvoidPage_Load(object sender, EventArgs e)
{

31
}
protectedvoid Button1_Click(object sender, EventArgs e)
{
nspeek.clsregobj = newnspeek.clsreg();
nspeek.clsprregobjprp = newnspeek.clsprreg();
objprp.regeml = TextBox1.Text;
objprp.regpwd = TextBox2.Text;
objprp.regrol = 'U';
objprp.regdat = DateTime.Now;
try
{
obj.save_rec(objprp);
Label1.Text = "Registration Successful";
TextBox1.Text = String.Empty;
}
catch (Exceptionexp)
{
Label1.Text = "Email ID already registered.";
}
}
}

3.6.1.3Code For Add New Category Page:


using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;

publicpartialclassadmin_Default : System.Web.UI.Page
{
protectedvoidPage_Load(object sender, EventArgs e)
{

}
protectedvoid Button1_Click(object sender, EventArgs e)
{
nspeek.clscatobj = newnspeek.clscat();
nspeek.clsprcatobjprp = newnspeek.clsprcat();
objprp.catnam = TextBox1.Text;
try
{
if (Button1.Text == "Submit")
obj.save_rec(objprp);
else
{
objprp.catcod = Convert.ToInt32(ViewState["cod"]);
obj.update_rec(objprp);
Button1.Text = "Submit";
}
}
catch (Exceptionexp)

32
{
Label1.Text = "category already exist";
}
TextBox1.Text = String.Empty;
GridView1.DataBind();
}
protectedvoid GridView1_RowEditing(object sender, GridViewEditEventArgs e)
{
nspeek.clscatobj = newnspeek.clscat();
List<nspeek.clsprcat> k = obj.find_rec(Convert.ToInt32(GridView1
.DataKeys[e.NewEditIndex][0]));
TextBox1.Text = k[0].catnam;
Button1.Text = "Update";
ViewState["cod"] = k[0].catcod;
e.Cancel = true;
}
protectedvoid GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
{
nspeek.clscatobj = newnspeek.clscat();
nspeek.clsprcatobjprp = newnspeek.clsprcat();
objprp.catcod = Convert.ToInt32(GridView1.DataKeys[e.RowIndex][0]);
obj.delete_rec(objprp);
GridView1.DataBind();
e.Cancel = true;
}
protectedvoid Button2_Click(object sender, EventArgs e)
{
TextBox1.Text = String.Empty;
Button1.Text = "Submit";
}
}

3.6.1.4Code For Add New Places Page:


using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;

publicpartialclassadmin_Default : System.Web.UI.Page
{
nspeek.clsplcobj = newnspeek.clsplc();
nspeek.clsprplcobjprp = newnspeek.clsprplc();
protectedvoidPage_Load(object sender, EventArgs e)
{

}
protectedvoid Button1_Click(object sender, EventArgs e)
{
objprp.plcnam = TextBox1.Text;
try

33
{
if (Button1.Text == "Submit")
{
obj.save_rec(objprp);
}
else
{
objprp.plccod = Convert.ToInt32(ViewState["cod"]);
obj.update_rec(objprp);
Button1.Text = "Submit";
}
}
catch (Exceptionexp)
{
Label1.Text = "Place already exist";
}
TextBox1.Text = String.Empty;
GridView1.DataBind();
}
protectedvoid GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
{
objprp.plccod = Convert.ToInt32(GridView1.DataKeys[e.RowIndex][0]);
obj.delete_rec(objprp);
GridView1.DataBind();
e.Cancel = true;
}
protectedvoid GridView1_RowEditing(object sender, GridViewEditEventArgs e)
{
List<nspeek.clsprplc> k =
obj.find_rec(Convert.ToInt32(GridView1.DataKeys[e.NewEditIndex][0]));
TextBox1.Text = k[0].plcnam;
Button1.Text = "Update";
ViewState["cod"] = k[0].plccod;
e.Cancel = true;
}
protectedvoid Button2_Click(object sender, EventArgs e)
{
TextBox1.Text = String.Empty;
Button1.Text = "Submit";
}
}
3.6.1.5Code For Add New Locations Page:
using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;

publicpartialclassadmin_Default : System.Web.UI.Page
{
protectedvoidPage_Load(object sender, EventArgs e)
{

34
}
protectedvoid Button1_Click(object sender, EventArgs e)
{
nspeek.clslocobj = newnspeek.clsloc();
nspeek.clsprlocobjprp = newnspeek.clsprloc();
objprp.locnam = TextBox1.Text;
objprp.locplccod = Convert.ToInt32(DropDownList1.SelectedValue);
try
{
if (Button1.Text == "Submit")
obj.save_rec(objprp);
else
{
objprp.loccod = Convert.ToInt32(ViewState["cod"]);
obj.update_rec(objprp);
Button1.Text = "Submit";
}
}
catch (Exceptionexp)
{
Label1.Text = "Location already exist";
}
TextBox1.Text = String.Empty;
GridView1.DataBind();
}
protectedvoid GridView1_RowEditing(object sender, GridViewEditEventArgs e)
{
nspeek.clslocobj = newnspeek.clsloc();
List<nspeek.clsprloc> k =
obj.find_rec(Convert.ToInt32(GridView1.DataKeys[e.NewEditIndex][0]));
TextBox1.Text = k[0].locnam;
Button1.Text = "Update";
ViewState["cod"] = k[0].loccod;
e.Cancel = true;
}
protectedvoid GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
{
nspeek.clslocobj = newnspeek.clsloc();
nspeek.clsprlocobjprp = newnspeek.clsprloc();
objprp.loccod = Convert.ToInt32(GridView1.DataKeys[e.RowIndex][0]);
obj.delete_rec(objprp);
GridView1.DataBind();
e.Cancel = true;
}
}
3.6.1.6Code For Add New Activities Page:
using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;

35
usingSystem.Web.UI.WebControls;

publicpartialclassadmin_Default : System.Web.UI.Page
{
protectedvoidPage_Load(object sender, EventArgs e)
{
if (Page.IsPostBack == false)
{
if (Request.QueryString["acod"] == null)
{
TabContainer1.Tabs[1].Enabled = false;
TabContainer1.Tabs[2].Enabled = false;
}
else
{
nspeek.clsactobj = newnspeek.clsact();
List<nspeek.clspract> k = obj.find_rec(Convert.ToInt32(Request.
QueryString["acod"]));
TextBox1.Text = k[0].acttit;
TextBox2.Text = k[0].actadd;
TextBox3.Text = k[0].actdsc;
TextBox4.Text = k[0].actsiturl;
Label1.Text = k[0].actcrd;
Hidden1.Value = k[0].actcrd;
ViewState["mainpiccod"] = k[0].actmanpiccod;
DropDownList3.DataBind();
DropDownList3.SelectedIndex = -1;
DropDownList3.Items.FindByValue(k[0].actcatcod.ToString())
.Selected = true;
nspeek.clsloc obj1 = newnspeek.clsloc();
List<nspeek.clsprloc> k1 = obj1.find_rec(k[0].actloccod);
DropDownList1.DataBind();
DropDownList1.SelectedIndex = -1;
DropDownList1.Items.FindByValue(k1[0].locplccod.ToString())
.Selected = true;
DropDownList2.DataBind();
DropDownList2.SelectedIndex = -1;
DropDownList2.Items.FindByValue(k[0].actloccod
.ToString()).Selected = true;
Button1.Text = "Update";
ViewState["cod"] = Request.QueryString["acod"];
nspeek.clsactpic obj2 = newnspeek.clsactpic();
DataList1.DataSource = obj2.disp_rec(Convert.ToInt32(
ViewState["cod"]));
DataList1.DataBind();
nspeek.clsactprc obj3 = newnspeek.clsactprc();
List<nspeek.clspractprc> k3 = obj3.find_rec(Convert.ToInt32
(ViewState["cod"]));
TextBox6.Text = k3[0].actprcadtprc.ToString();
TextBox7.Text = k3[0].actprckidprc.ToString();
TextBox8.Text = k3[0].actprcdet;
Button5.Text = "Update";
}

36
TabContainer1.ActiveTabIndex = 0;
}
}
protectedvoid Button1_Click(object sender, EventArgs e)
{
nspeek.clsactobj = newnspeek.clsact();
nspeek.clspractobjprp = newnspeek.clspract();
objprp.actadd = TextBox2.Text;
objprp.actcatcod = Convert.ToInt32(DropDownList3.SelectedValue);
objprp.actcrd = Hidden1.Value;
objprp.actdsc = TextBox3.Text;
objprp.actloccod = Convert.ToInt32(DropDownList2.SelectedValue);
objprp.actmanpiccod = 0;
objprp.actsiturl = TextBox4.Text;
objprp.acttit = TextBox1.Text;
if (Button1.Text == "Submit")
{
Int32 a = obj.save_rec(objprp);
ViewState["cod"] = a;
}
else
{
objprp.actcod = Convert.ToInt32(ViewState["cod"]);
objprp.actmanpiccod=Convert.ToInt32(ViewState["mainpiccod"]);
obj.update_rec(objprp);
}
TabContainer1.Tabs[0].Enabled = false;
TabContainer1.Tabs[1].Enabled = true;
TabContainer1.Tabs[2].Enabled = true;
TabContainer1.ActiveTabIndex = 1;
}
protectedvoid Button3_Click(object sender, EventArgs e)
{
nspeek.clsactpicobj = newnspeek.clsactpic();
nspeek.clspractpicobjprp = newnspeek.clspractpic();
objprp.actpicactcod = Convert.ToInt32(ViewState["cod"]);
objprp.actpicdsc = TextBox5.Text;
String s = FileUpload1.PostedFile.FileName;
if (s != "")
s = s.Substring(s.LastIndexOf('.'));
objprp.actpicpic = s;
Int32 a=obj.save_rec(objprp);
if (s != "")
{
FileUpload1.PostedFile.SaveAs(Server.MapPath("../actpics") +
"//" + a.ToString() + s);
}
TextBox5.Text = String.Empty;
DataList1.DataSource = obj.disp_rec(Convert.ToInt32
(ViewState["cod"]));
DataList1.DataBind();
}
protectedvoid DataList1_EditCommand(object source, DataListCommandEventArgs e)

37
{
nspeek.clsactobj = newnspeek.clsact();
nspeek.clspractobjprp = newnspeek.clspract();
objprp.actcod = Convert.ToInt32(ViewState["cod"]);
objprp.actmanpiccod = Convert.ToInt32(DataList1.DataKeys
[e.Item.ItemIndex]);
obj.updactmanpic(objprp);
}
protectedvoid DataList1_DeleteCommand(object source, DataListCommandEventArgs e)
{
nspeek.clsactpicobj = newnspeek.clsactpic();
nspeek.clspractpicobjprp = newnspeek.clspractpic();
objprp.actpiccod = Convert.ToInt32(DataList1.DataKeys
[e.Item.ItemIndex]);
obj.delete_rec(objprp);
DataList1.DataSource = obj.disp_rec(Convert.ToInt32
(ViewState["cod"]));
DataList1.DataBind();
}
protectedvoid Button5_Click(object sender, EventArgs e)
{
nspeek.clsactprcobj = newnspeek.clsactprc();
nspeek.clspractprcobjprp = newnspeek.clspractprc();
objprp.actprcactcod = Convert.ToInt32(ViewState["cod"]);
objprp.actprcadtprc = Convert.ToSingle(TextBox6.Text);
objprp.actprckidprc = Convert.ToSingle(TextBox7.Text);
objprp.actprcdet = TextBox8.Text;
if (Button5.Text == "Submit")
{
obj.save_rec(objprp);
Label2.Text = "Data Saved Successfully";

}
else
{
obj.update_rec(objprp);
Label2.Text = "Data Updated Successfully";

TextBox6.Text = string.Empty;
TextBox7.Text = string.Empty;
TextBox8.Text = string.Empty;

}
}

3.6.1.7Code For Add New Guide Page:


using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;

38
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;

publicpartialclassadmin_Default : System.Web.UI.Page
{
protectedvoidPage_Load(object sender, EventArgs e)
{
if (Page.IsPostBack == false)
{
if (Request.QueryString["gcod"] == null)
Label1.Text = "Add New Guide";
else
{
Label1.Text = "Update Guide Details";
nspeek.clsgidobj = newnspeek.clsgid();
nspeek.clsgidprpobjprp=newnspeek.clsgidprp();
objprp.gidcod=Convert.ToInt32(Request.QueryString["gcod"]);
List<nspeek.clsgidprp> k = obj.find_rec(objprp);
TextBox1.Text = k[0].gidnam;
TextBox2.Text = k[0].gidphn;
TextBox3.Text = k[0].gidrat;
TextBox4.Text = k[0].gidprf;
ViewState["pic"] = k[0].gidpic;
nspeek.clsloc obj1 = newnspeek.clsloc();
List<nspeek.clsprloc> k1 = obj1.find_rec(k[0].gidloccod);
DropDownList1.DataBind();
DropDownList1.SelectedIndex = -1;
DropDownList1.Items.FindByValue(k1[0].locplccod.ToString())
.Selected = true;
DropDownList2.DataBind();
DropDownList2.SelectedIndex = -1;
DropDownList2.Items.FindByValue(k[0].gidloccod.ToString())
.Selected = true;
Button1.Text = "Update";
}
}
}
protectedvoid Button1_Click(object sender, EventArgs e)
{
nspeek.clsgidobj = newnspeek.clsgid();
nspeek.clsgidprpobjprp = newnspeek.clsgidprp();
objprp.gidloccod = Convert.ToInt32(DropDownList2.SelectedValue);
objprp.gidnam = TextBox1.Text;
objprp.gidphn = TextBox2.Text;
objprp.gidrat = TextBox3.Text;
objprp.gidprf = TextBox4.Text;
String s = FileUpload1.PostedFile.FileName;
if (s != "")
s = s.Substring(s.LastIndexOf('.'));
Int32 a;
if (Button1.Text == "Submit")
{
objprp.gidpic = s;

39
a = obj.save_rec(objprp);
}
else
{
if (s == "")
objprp.gidpic = ViewState["pic"].ToString();
else
objprp.gidpic = s;
objprp.gidcod = Convert.ToInt32(Request.QueryString["gcod"]);
a = objprp.gidcod;
obj.update_rec(objprp);
}
if (s != "")
FileUpload1.PostedFile.SaveAs(Server.MapPath("../gidpics") + "//" +
a.ToString() + s);
Response.Redirect("frmgid.aspx");
}
protectedvoid Button2_Click(object sender, EventArgs e)
{
TextBox1.Text = String.Empty;
TextBox2.Text = String.Empty;
TextBox3.Text = String.Empty;
TextBox4.Text = String.Empty;
Button1.Text = "Submit";
}
}

3.6.1.8Code For Check Detail Of Guide According There Locations Page:


using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;

publicpartialclassadmin_Default : System.Web.UI.Page
{
protectedvoidPage_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
DropDownList1.DataBind();
DropDownList1.Items.Insert(0, newListItem("--Select Place--", "-1"));
DropDownList2.DataBind();
DropDownList2.Items.Insert(0, newListItem("--Select Location--", "-1"));

}
protectedvoid LinkButton2_Click(object sender, EventArgs e)
{

40
Response.Redirect("frmnewgid.aspx");
}
protectedvoid GridView1_RowEditing(object sender, GridViewEditEventArgs e)
{

protectedvoid GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)


{
nspeek.clsgidobj = newnspeek.clsgid();
nspeek.clsgidprpobjprp = newnspeek.clsgidprp();
objprp.gidcod = Convert.ToInt32(GridView1.DataKeys[e.RowIndex][0]);
obj.delete_rec(objprp);
GridView1.DataBind();
e.Cancel = true;
}
protectedvoid DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
DropDownList2.DataBind();
DropDownList2.Items.Insert(0, newListItem("--Select Location--", "-1"));
}
protectedvoid DropDownList2_SelectedIndexChanged(object sender, EventArgs e)
{
//GridView1.DataBind();
}
}
User Side Pages Coading In C# :
3.6.1.9Book Ticket Add In Wish List Code
using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;

publicpartialclass_Default : System.Web.UI.Page
{
protectedvoidPage_Load(object sender, EventArgs e)
{

}
protectedvoid DataList1_EditCommand(object source, DataListCommandEventArgs e)
{
Int32 a = Convert.ToInt32(DataList1.DataKeys[e.Item.ItemIndex]);
if (Session["cod"] == null)
{
Session["actcod"] = a;
Response.Redirect("frmlog.aspx?sts=B");
}
else
{
Session["actcod"] = a;
Response.Redirect("frmbok.aspx");

41
}
}
protectedvoid DataList1_DeleteCommand(object source, DataListCommandEventArgs e)
{
Int32 a = Convert.ToInt32(DataList1.DataKeys[e.Item.ItemIndex]);
Session["actcod"] = a;
if (Session["cod"] == null)
Response.Redirect("frmlog.aspx?sts=R");
else
Response.Redirect("frmrev.aspx");
}
protectedvoid DataList1_SelectedIndexChanged(object sender, EventArgs e)
{
Int32 a = Convert.ToInt32(DataList1.DataKeys[DataList1.SelectedIndex]);
Session["actcod"] = a;
if (Session["cod"] == null)
Response.Redirect("frmlog.aspx?sts=W");
else
Response.Redirect("frmwshlst.aspx");
}
}

3.6.1.10Wish list Page Code:


using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;

publicpartialclass_Default : System.Web.UI.Page
{
protectedvoidPage_Load(object sender, EventArgs e)
{
if (Page.IsPostBack == false)
{
if (Session["cod"] == null)
Response.Redirect("frmlog.aspx?sts=W");
else
{
if (Session["actcod"] != null)
{
nspeek.clswshlstobj = newnspeek.clswshlst();
nspeek.clsprwshlstobjprp = newnspeek.clsprwshlst();
objprp.wshlstactcod = Convert.ToInt32(Session["actcod"]);
objprp.wshlstdat = DateTime.Now;
objprp.wshlstregcod = Convert.ToInt32(Session["cod"]);
obj.save_rec(objprp);
Session["actcod"] = null;
DataList1.DataBind();
}
}
}

42
}
protectedvoid DataList1_SelectedIndexChanged(object sender, EventArgs e)
{

}
protectedvoid DataList1_DeleteCommand(object source, DataListCommandEventArgs e)
{
nspeek.clswshlstobj = newnspeek.clswshlst();
nspeek.clsprwshlstobjprp = newnspeek.clsprwshlst();
objprp.wshlstactcod = Convert.ToInt32(DataList1
.DataKeys[e.Item.ItemIndex]);
objprp.wshlstregcod = Convert.ToInt32(Session["cod"]);
obj.delete_rec(objprp);
DataList1.DataBind();
}
}

3.6.1.11Add Review For Activity Page Coading:


using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.UI;
usingSystem.Web.UI.WebControls;

publicpartialclass_Default : System.Web.UI.Page
{
protectedvoidPage_Load(object sender, EventArgs e)
{
if (Page.IsPostBack == false)
{
if (Session["actcod"] == null)
Response.Redirect("index.aspx");
else
{
nspeek.clsactobj = newnspeek.clsact();
List<nspeek.clspract> k = obj.find_rec(Convert.ToInt32
(Session["actcod"]));
Label1.Text = k[0].acttit;
}
}
}
protectedvoid Button1_Click(object sender, EventArgs e)
{
nspeek.clsrevobj = newnspeek.clsrev();
nspeek.clsprrevobjprp = newnspeek.clsprrev();
objprp.revactcod = Convert.ToInt32(Session["actcod"]);
objprp.revdat = DateTime.Now;
objprp.revdsc = TextBox1.Text;
objprp.revregcod = Convert.ToInt32(Session["regcod"]);
objprp.revscr = Convert.ToInt32(Rating1.CurrentRating);
obj.save_rec(objprp);
TextBox1.Text = String.Empty;

43
Session["actcod"] = null;
Response.Redirect("frmact.aspx?acod=" + objprp.revactcod
.ToString());
}
}

3.6.2 Designing And Coading In HTML


3.6.2.1 Google Map Apply In Html Code And Set Coordinates
<%@PageTitle=""Language="C#"MasterPageFile="~/admin/MasterPage.master"AutoEventWir
eup="true"CodeFile="frmact.aspx.cs"Inherits="admin_Default"%>

<%@Registerassembly="AjaxControlToolkit"namespace="AjaxControlToolkit"tagprefix="asp"
%>

<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server">
<scripttype="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDEx3suHWzXdn7UVtV4ECobQeo
ARNPgTZU&sensor=false">
</script>
<scripttype="text/javascript">
function initialize() {
varmyLatlng = newgoogle.maps.LatLng(30.732999000000000000, 76.771162600000030000);
varmapOptions = {
center: myLatlng,
zoom: 13,
mapTypeId: google.maps.MapTypeId.ROADMAP,
marker: true
};
var map = newgoogle.maps.Map(document.getElementById("abc"), mapOptions);
google.maps.event.addListener(map, 'click', getLangLong);
}
functiongetLangLong(e) {
document.getElementById('ContentPlaceHolder1_TabContainer1_TabPanel1_Label1')
.innerHTML= e.latLng;
document.getElementById('ContentPlaceHolder1_TabContainer1_TabPanel1_Hidden1')
.value= e.latLng;
}
</script>
<p>
<br/>
</p>
3.6.2.2 Search Activity Page Design And Find Image Code Under Grid view
<asp:GridViewID="GridView1"runat="server"Width="728px"AutoGenerateColumns="
False"DataSourceID="ObjectDataSource4"CellPadding="4"ForeColor="#333333"GridLi
nes="None"DataKeyNames="actcod"OnRowDeleting="GridView1_RowDeleting"OnRo
wEditing="GridView1_RowEditing">
<AlternatingRowStyleBackColor="White"ForeColor="#284775"/>
<Columns>
<asp:TemplateFieldHeaderText="Search Results">
<ItemTemplate>
<tableclass="nav-justified">
<tr>

44
<tdrowspan="4"style="width: 187px">
<imgsrc="../actpics/<%#Eval("pic") %>"height="150px"
width="150px"border="2"/>
</td>
<td>
<h4><%#Eval("acttit") %></h4>
</td>
</tr>
<tr>
<td>
<asp:RatingID="Rating1"runat="server"
StarCssClass="ratingStar"
WaitingStarCssClass="savedRatingStar"
FilledStarCssClass="filledRatingStar"
EmptyStarCssClass="emptyRatingStar"
MaxRating="5"
CurrentRating=<%#Eval("scr")%>
></asp:Rating>
</td>
</tr>
<tr>
<td>
<p><%#Eval("dsc") %></p>
</td>
</tr>

3.6.2.3Code For Check Detail Of Guide According There Locations Page:


<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="frmpay.aspx.cs"Inherits="frmpa
y"%>

<!DOCTYPEhtml>
<htmlxmlns="http://www.w3.org/1999/xhtml">
<headrunat="server">
<title></title>
</head>
<bodyonload="document.getElementById('btntest').click();">
<formaction="https://www.sandbox.paypal.com"method="post">
<inputtype="hidden"name="cmd"value="_xclick"/>
<inputtype="hidden"name="Personal"value="cssoft@sify.com"/>
<inputtype="hidden"name="business"value="rampal_1288093118_biz@gmail.com"/>
<inputtype="hidden"name="item_name"value='Product Purchase'/>
<inputtype="hidden"name="amount"value='<%=Session["amt"]%>'/>
<inputtype="hidden"name="return"value="confirm.aspx"/>
<inputtype="hidden"name="cancel_return"value="cancel_confirm.aspx"/>
<inputtype="hidden"name="rm"value="2"/>

<inputtype="submit"style="display:none;"id="btntest"value="Buy with additional


parameters!"/>
Please wait...............
</form>
</body>
</html>
3.6.2.4 Global Application Class Code For Security
45
<%@ApplicationLanguage="C#"%>

<scriptrunat="server">

voidApplication_Start(object sender, EventArgs e)


{
// Code that runs on application startup
ValidationSettings.UnobtrusiveValidationMode = UnobtrusiveValidationMode.None;
}
voidApplication_AuthenticateRequest(object sender, EventArgs e)
{
if (HttpContext.Current.User != null)
{
FormsIdentity id = (FormsIdentity)(User.Identity);
String s = id.Ticket.UserData;
String[] r = s.Split(',');
HttpContext.Current.User = newSystem.Security.Principal.GenericPrincipal
(id, r);
}
}

voidApplication_End(object sender, EventArgs e)


{
// Code that runs on application shutdown

voidApplication_Error(object sender, EventArgs e)


{
// Code that runs when an unhandled error occurs

voidSession_Start(object sender, EventArgs e)


{
// Code that runs when a new session is started

voidSession_End(object sender, EventArgs e)


{
// Code that runs when a session ends.
// Note: The Session_End event is raised only when the sessionstate mode
// is set to InProc in the Web.config file. If session mode is set to StateServer
// or SQLServer, the event is not raised.

</script>

SCREENSHOTS

46
Home Page
•This is the Home page of application
• Without Login any user can see this page.

Login Page:
• This is the Login page of the application

• Every registered person (Admin, Restaurant and User) has to enter a valid username and
password to further navigate the project.

47
Sign-Up (New Registration) Page:-
• A web page use for new user Registration.

• Any new user register popup show message Rember this Password or not.

48
Admin Can Add New Category:-
• Admin after logging goes to category Page

• Here Admin can add, delete, update new category

49
Admin Can Add New Places:-

• Here Admin can add, delete, and update new Places.

50
Admin Can Add New Locations:-
Here Admin can add, delete, update new Locations
Every Location is Set According their City or its Location.

51
Admin Can Check Information About Activity And Edit:-

52
Admin Update Main Activity Picture:

53
Admin Can Add Information About Activity:
• Here Admin can add basic information about activity.

• And Display Location of Activity on Google Map.

54
55
Admin Can Add Pictures:-
Admin add new Pictures of activity
Where more Places Pictures.

56
57
Admin Set Price According Activity:-
Admin Set Price its activities
Adult Prices and Kisds Price Detail is Differtent

58
Admin Also check how Many Bookings

Admin add new Guides

59
Admin add new Guides

60
User Section

 A user can search for activity in a particular Place and


its location :-

 User search Himachal Pradesh Select Kangra


 Show Result which Activities hare and places

61
Select Historical Place it is show its detail and which type activity:

If user wants to add these activities in there wish list he is login there account
and add in their wish list.

62
User Can Give Their Review For Activities:-

User Can Book Tickets Hare online For There Activities

63
User Pay Online For Activities Using its Pay pal Account Or Banking System

3.7Conclusion:
In this chapter We Are discuss about the design of system . and use the three layer of the
architure.This layer consist of dll(dynamic link library) naming ClassLibrary Class1
having namespace nsrem and one class naming clscon for connection with sqlserver
database and various interfaces naming int-tablename having property declaration for
each field in the respective table, class naming 18 property class naming cls-tablename-
prp which inherit its respective interface for definition of each property declared in the
interface, class naming 18methods class naming cls-tablenamewhich inherit class clscon
for definition of methods like : save_rec(), update_rec(), delete_rec(), display_rec(),
find_rec() etc. methods.Presentation layer consists of web pages which include. Master
Page is Common Template that can be implemented on more than one Page. We can

64
make changes whenever needed Master page extension is .MasterIt can never be start up
page. We can create properties, methods, classes in master pages.sMultiple master pages
can be there in single application.Content pages are web pages which can be made as
startup page.Content page extension is .aspx. Multiple content pages can be there in
single master pageIt includes: Tables Stored Procedures.

65
Chapter
4

System Testing

66
4.1 Overview
Inthis chapter we will discuss various testing procedures for testing the proposed web like Use
Cases and Test Cases. Also we will discuss how the proposed system can be actually
implemented.

Overview

4.2 Project 4.3Introduction 4.4Testing 4.5Testing 4.6Testing


4.7conclustion
Testing of system testing Methdologies Approches Documentation

4.4.1 Black 4.4.2 White


Box Testing Box Testing

4.5.1 Unit 4.5.2


4.5.3System 4.5.Performa 4.5.5Manual
Loading
Testing Testing nce Testing Testing
Testing

Fig. 4.1: Project Testing


4.2 Project Testing

67
The goal of this document is to develop a test plan for the online book store design system. The
document define all the procedures and activities required to prepare for testing of the
functionalities of the system which are specified in vision document. The objective of test plan
are to define the activities to perform testing., define the test deliverables documents and to
identify the various risks and contingencies involved in testing.
4.3. Introduction to System Testing
System testing is a black box testing technique performed to evaluate the complete system the
system’s compliance against specified requirements. In system testing the functionalities of the
system are tested from an end to end perspective.
System testing is usually carried out by a team that is independent of the development team in
order to measure the quality of the system unbiased. It include both functional and non-
functional testing.

Types of system testing:


 Functionality
 Inter-operability
 Performance
 Scalability
 Stress
 Load and stability
 Reliability
 Regression
 Regulatory and complianc

4.4 Testing Methodology


Testing Methodologies are approaches to testing, from unit testing through system testing and
beyond. There is no formally recognized body of testing methodologies, and very rarely will you
ever find a unified set of definitions. But there are some common methodologies:Test
Methodologies include functional and non-functional testing to validate the AUT. Examples
ofTesting Methodologies are Unit Testing, IntegrationTesting, System Testing,
Performance Testing etc. Each testing methodology has a defined testobjective, test strategy and
deliverables

 Unit testing
 Acceptance testing

68
 Functional testing
 System testing
 Performance testing
 Security testing

4.4.1 White-Box Testing:


Black-box testing is a method of software testing that examines the functionality of an
application without peering into its internal structures or workings. This method of test
can be applied virtually to every level of software
testing: unit, integration, system and acceptance. It typically comprises most if not all
higher level testing, but can also embody unit testing.

4.4.2 Black-Box Testing :


White-box testing (also known as clear box testing, glass box testing, transparent box testing,
and structural testing) is a method of testing software that tests internal structures or workings of
an application, as opposed to its functionality (i.e. black-box testing). In white-box testing an
internal perspective of the system, as well as programming skills, are used to design test cases.
The tester chooses inputs to exercise paths through the code and determine the appropriate
outputs. This is analogous to testing nodes in a circuit, e.g. in-circuit testing (ICT). White-box
testing can be applied at the unit, integration and system levels of the software testing process.
Although traditional testers tended to think of white-box testing as being done at the unit level, it
is used for integration and system testing more frequently today. It can test paths within a unit,
paths between units during integration, and between subsystems during a system–level test.
Though this method of test design can uncover many errors or problems, it has the potential to
miss unimplemented parts of the specification or missing requirements.
4.5 Testing Approaches
This section describes the overall approach of the testing which ensures that the each feature and
the combination of the features are adequately tested. The major tasks that are used are
4.5.14.5.1Unit testing
Unit testing is a method of testing that verifies the individual units of source code are working
properly. The goal of unit testing is to isolate each part of the program and show that the
individual parts are correct.
4.5.2 Load testing

69
Load testing is the process of creating demand on a system or device and measuring its response.
It generally refers to the practice of modelling the expected usage of a software program by
simulating multiple users accessing the program concurrently. As such, this testing is most
relevant for multi-user systems; often one built using a client/server model, such as web servers.
4.5.3 System Testing
Once the entire system has been built then it has to be tested against the Software Requirement
Specification and System Specification to check if it delivers the features required. System
testing can involve a number of specialist types of test to see if all the functional and non-
functional requirements have been met.
4.5.4 Performance Testing
The system should meet the performance requirements as mentioned in the Vision document.
The performance will be evaluated based on the response time of the GUI and the database
commands.
4.5.5 Manual Testing
Manual Testing will be done to ensure the correctness of various parts of the code using test
cases generated by the tester.
4.6 Testing Documentation
Documentation testing is a non-functional type of software testing. It is a type of non-functional
testing. Any written or pictorial information describing, defining, specifying, reporting, or
certifying activities, requirements, procedures or results. Documentation is as important to a
product’s success as the product itself. If the documentation is poor, non-existent, or wrong, it
reflects of the quality of the product and the vendor.
This is one of the most cost effective approaches to testing. If the documentation is not right,
there will be major and costly problems. The documentation can be tested in a number of
different ways to many different degrees of complexity. These range from running the
documents through a spelling and grammar checking device. Documentation testing can be start
at the very beginning of the software process and hence save large amount of money, since the
earlier a defect is found the less it will cost to be fixed.

4.7 Conclusion:
In this chapter we can study about system testing process. In this we can study the project
testing, its types. We can study about various approaches used in complete system testing and
documentation testing.

70
Chapter
5

Implementation

71
5.1 Overview
In this chapter we can study about the working system. It involves careful planning, investigation
of the current system and its constraints on implementation, design of method to achieve the
changeover, an evaluation, of change over methods.

Overview

5.6Post
5.2Introduction 5.3Project 5.4Conversion 5.5Conversion implimentation 5.7Conclusion
Of implimentation Strategy Method Review
Implementation

5.3.1Object 5.3.2
5.3.3
implementation Applicabilit
Advantage
y

Fig 5.5.1 Implementation.

5.2 Introduction
Implementation is defined as a set of activities designed to put into practice an activity or
program of known dimensions. According to this definition, implementation processes are
purposeful and are described in sufficient details such that independent observers can detect the
presence and strength of the “specific set of activities” related to implementation. In addition, the
activity or program being implemented is described in sufficient details so that independent
observers can detect its presence and strength. It is common to read about “implementation” of a
program or practice as if it were an accomplished fact when the context of the statement makes it
clear that some process had been put in place to attempt the implementation of that program or
practice. When faced with the realities of human services, implementation outcomes should not
be assumed any more then intervention outcomes are assumed.
5.2.1 Implementation Stages
72
 Exploration Stage
 Installation Stage
 Initial Implementation
 Full Implementation
 Exploration Stage: - The functions of the exploration stage are a critical
starting place for work with states, districts, and others. Taking the time for
exploration saves times and money and improves the chances for success.
 Installation Stage: - The function of this stage is to acquire or repurpose the
resources needed to do the work ahead. Selecting staff, identifying sources for
training and coaching, Providing initial training for staff, finding or establishing
performance assessment tools. Locating office space, Assuring access tomaterials
and equipment. Implement team help provider organizations anticipate these
needs and help them prepare for the next stage.
 Initial Implementation: -This is the time when the innovation is being used
for the first time. It is a real challenge. Establishing and sustaining changes to the
point of integration into daily work is not likely unless there is external support
for change at the practice level.
 Full Implementation: - It is the new way of providing services are now the
standard ways of work where practitioners and staff routinely provide high quality
services and the implementation supports are part of the way the provider
organization carries out its work.

5.3 Project Implementation


This means making arrangements to have the project started. It involves coordination and
allocation of resources. It is the phase where visions and plans becomes reality. This is the
logical conclusion, after evaluating, deciding, visioning, planning, applying for funds and finding
the financial resources of the project. Technical implementation is one part of executing a
project.
5.3.1Objective of implementation phase: -
 Putting the action plan into operation
 Achieving tangible change and improvements
 Ensuring that any unforeseen conflicts that might arise during this stage are resolved
 Ensuring transparency with regard to finances
 Ensuring that potential benefits are not captured by elites at the expenses of poorer social
groups.

73
5.3.2 Applicability: -
Implementation is the desired step after the carrying out of a participatory planning process, as it
represents the realisation of the plans and activities described in the strategy paper.

5.3.3 Advantages: -
 Implementation gives the opportunity to see the plans become a reality.
 Execution of projects allows end users to have access to better services and living
environment
 Success stories and experiences can be shared with specialists from other cities and
towns, encouraging others to adopt similar approaches, which in turn may improve water
resources management in the local area.
 The major elements of implementation plan are test plan, training plan, equipment
installation plan, and a conversion plan.

5.4 Conversion Strategy


The primary objective of a conversion strategy will be to identify the overall approach to be used
to convert the required master and transactional data from legacy systems to the new solution. A
system implementation almost always involves some conversion. It is crucial for an organization
to identify the data that needs to be transferred from one system to another and the format to
transfer so that it can successfully to be used by the new system. There are some data
conversions plans are:
 Data Conversion Requirements
 Manual Conversion
 Automatic Conversion
 Data Conversion Methods
 Conversion Testing
 Timelines

5.5 Conversion Methods: - Conversion is the process of changing an old system to a new
system with the addition of new features. There are some methods of conversions:
 Direct Conversion
 Parallel Conversion
 Phased Conversion

74
 Pilot Conversion

5.7Post Implementation Review:


A Post-Implementation Review (PIR) is conducted after completing a project. Its
purpose is to evaluate whether project objectives were met, to determine how
effectively the project was run, to learn lessons for the future, and to ensure that the
organization gets the greatest possible benefit from the project.

 The key to a successful PIR is recognizing that the time spent on the project is just a
small part of an ongoing time-line.
 For people and organizations that will be working on similar projects in the future, it
makes sense to learn as many lessons as possible, so that mistakes are not repeated in
future projects.
 And for organizations benefiting from the project, it makes sense to ensure that all
desired benefits have been realized, and to understand what additional benefits can be
achieved.
 The key to a successful PIR is recognizing that the time spent on the project is just a
small part of an ongoing time-line.
 For people and organizations that will be working on similar projects in the future, it
makes sense to learn as many lessons as possible, so that mistakes are not repeated in
future projects.
 And for organizations benefiting from the project, it makes sense to ensure that all
desired benefits have been realized, and to understand what additional benefits can be
achieved.

5.7Conclusion:
The Implementation Phase has one key activity: installing the new system in its target
environment. Supporting actions include training end-users and preparing to turn the system
over to maintenance personnel. After this phase, the system enters the Operations and
Maintenance Phase for the remainder of the system’s operational life. Multiple-release
projects require multiple iterations of the Implementation Phase – one for each release

75
Chapter

6
Maintenance

76
6.1 Overview
Software maintenance describes activities following the delivery of the initial working
version of the software system. Upon completion, a software system is handed over to the
client. Any changes after client has accepted the system are categorized as maintenance.
Changes to code, documentation, manuals or any other component of the systems are the
examples of the maintenance. Although maintenance does not have the appeal of
development, it is the most difficult aspect of software production. Maintenance
incorporates parts of all the other phases of the software process.

Overview

6.2 Introduction 6.3Adaptive


of maintenance 6.4Conclusion
maintenance

6.2.2 6.2.3 6.2.4


6.2.1Adaptive Perfective Corrective Periventive

Fig 6.1.1 Maintenance

6.2 Introduction OfMaintenance


Maintenance means to correct faults and improve performance after the delivery of the product.
A common perception of maintenance is that it merely involves fixing defects.
Four classes of maintenance activities are:

77
6.2.1 Adaptive:-Modification of a software product performed after delivery to correct
discovered problems.
6.2.2 Perfective:-Modification of a software product performed after delivery to improve
performance or maintainability.
6.3.3 Corrective:-Reactive modification of a software product performed after delivery to
correct discovered problems.
6.4.4 Preventive:-Modification of a software product performed after delivery to detect and
correct latent faults in the software product before they become effective faults.

Software maintenance is a very broad activity that includes error correction, enhancements of
capabilities, deletion of obsolete capabilities, and optimization. Because change is inevitable,
mechanisms must be developed for evaluation controlling and making modifications.
6.3 Adaptive Maintenance:
Modification of a software product performed after delivery to keep a software product usable in
a changed or changing environment Adaptive maintenance is concerned with the change in the
software that takes place to make the software adaptable to new environment such as to run the
software on a new operating system. It consists of adapting software to changes in the
environment such as the hardware or the operating system. The term environment in this context
refers to the conditions and the influences which act (from outside) on the system. For example,
business rules, work patterns, and government policies have a significant impact on the software
system.

6.4 Conclution:
Testing is a crucial element of the maintenance phase of software. The more software you
already have developed, the harder it is to ensure that bug fixes and enhancements don't cause
additional headaches. Good software development technique can minimize the likelihood that a
code change will have unexpected repercussions, but can't reduce the chances to zero. Testing
should be frequent and thorough, which means using as much automation as possible.

78
Chapter

Conclusion and Future scope

79
7.1 Conclusion
This section provides me an opportunity to do self-introspection of what value I have added to
my knowledge and skill set and to the project
7.1.1 What value I have added to my knowledge
 Exposure to entirely different technology: Working on ASP.NET for the first
time was a very enriching experience. I had never worked on this platform earlier. So it
added to my list of know how and the computer languages known to me.
 Database Implementation:I had earlier made database but worked on SQL Server
for the first time. I learnt many new things about database creation, concept of stored
procedure etc. We learn many things theoretically as part of our curriculum but here I got
a chance to apply my knowledge practically and enhance it also at the same time.

 Implementation of Business Logic Layer (BLL):


I have implemented the classes for BLL, which provides the interface between UI Layer
and Data Access Layer. This layer contains all the business logic, i.e. Programming
Methodology to implement the functionality of the system.I had always read about N-
Tier architecture but this was again the first time I got to implement 3-Tier logical
architecture. So it was a very new and realistic experience.

Users traveling to a new place or residents who are simply looking for something to do
can go to the site and search for nightlife, sightseeing tours, restaurants, or arts and
culture activities. Users can search based on the days they are traveling and where they'll
be staying. Users who don't want to search and just browse instead can check out the
Peek Travel Guide, which will show the top-rated activities and information for their
place of visit. Users can also check out "Perfect Days" that include daylong schedules of
things to do that have been curated by various celebrities. Users can create their own
"Perfect Days" for any city they want. Peek only works with the highest quality vendors.
Our team of travel experts handpicks the best activities to provide a personalized
selection of experiences that match the varied travel styles of our customers. Peek brings
together all of the information you need in one place. Use our Travel Guides if you’re
visiting for the first time for an overview of the top things to see. Explore our categories
to find unique experiences you will love

Google Maps feature allows users to save commonly used locations. Tasks can also be

80
organized by tags.

7.2 Future Scope:

Completion of the development process will result in a software package that will provide user-
friendly environment, which is very easy to work with, even for people with very little
knowledge of computer. Management of various tasks is incorporated in the package and will
deliver sthe required information in a very easy to use and easy to access manner. This package
will provide accuracy, efficiency, speed and easiness to the end user. Since the system is verified
with valid as well as invalid data and is run with an insight into the necessary modifications that
may require in the future, it can be maintained successfully without much hassles.

81
Chapter
8

References

82
Bibliography
8.1 Books Referred

 E Balagurusamy, 2004: Programming in C#, Tata McGraw Hill


 Schildt, Herbert 2004: The complete reference: C#, Tata McGraw Hill
 Liberty, J., 2003: Professional C#, Wrox Press
 Gill, Nasib Singh: Software engineering: Software reliability, tasting and
quality assurance, Khanna book publishing.

8.2 Website URLs

 www.dotnetspider.com
 www.gotdotnet.com
 www.onlinetemplates.org
 www.webopedia.com

8.3 Search Engine Used


 Internet Explorer

Internet Explorer are used for searching part of website.

83
84

Anda mungkin juga menyukai