Ch. 4 Development
Ch. 4 Development
Ch. 4 Development
4
Development
CHAPTER 4
Development
67
Chapter No. 4
Development
4.1 Development plan
The salient feature in the development of an efficient computerized system is
software development. The purpose of software development is to transfer the
complete proposed system into the executable computer programs.
Programming is not simply a science but there is thought of an art involved in it.
However there are number of identified steps involved in the programming phase
which provide a convenient framework.
System development is the most challenging part of the software life cycle. After
designing comes the development phase. These include the tool selection and
strategies for software coding.
Development of the programs
The primary objective of development are to translate the most promising design
approach into a stable, interoperable, producible and cost effective design,
validate the manufacturing and production process and demonstrate system
capabilities through testing.
Although much of the activities in the development addresses the computer
programs that make up the system, this phase also puts in place the hardware,
software and communication environment of the overall system. At the end of
development, the system will be ready for activities of the integration and
testing.
Tool Selection.
Selection of the appropriate software is most crucial stage of the development
phase. The choice of software tool should be done in keeping view of the
problem faced in order to avoid heavy loss of time and money. Tools used for any
system development are:
Hardware
Software
68
Chapter No. 4
Development
Hardware
Hardware required to run this system will be:
20 GB HDD
128 MB RAM
Software
Any hardware without software is seemed to be useless in this
environment. So different types of software are considered for this
specific purpose. Chosen ones are:
ASP.NET
Platform Selection.
Microsoft platform is selected for the development of my system because of easy
to use, reliable, easily configurable ad vastly used and ease of availability of
compatible software.
Active Server Pages (ASP)
Why ASP?
ASP.Net is the latest Microsoft programming framework that allows for the rapid
development of powerful web applications. In this issue of Better Web Design, we are
going to discuss the advantages of using ASP.Net and why we will want an ASP.Net
programmer for your next web development project.
Benefits of ASP.NET
ASP.Net has many advantages - both for the programmers and for the end users. Let's
look at four of the advantages that will most impact you as the owner of a website.
69
Chapter No. 4
Development
1. Powerful database-driven functionality
Like ASP (Microsoft's language preceding ASP.Net), ASP.Net allows
programmers to develop web applications that interface with a database. The
advantage of ASP.Net is that it is object-oriented and has many programming
tools that allow for faster development and more functionality.
2.Faster
Two aspects of ASP.Net make it fast -- compiled code and caching. In the past,
the code was interpreted into "machine language" when your website visitor
viewed your page. Now, with ASP.Net the code is compiled into "machine
language" before your visitor ever comes to your site. Caching is the storage of
information that will be reused in a memory location for faster access in the
future. ASP.Net allows programmers to set up pages or areas of pages that are
commonly reused to be cached for a set period of time to improve the
performance of web applications. In addition, ASP.Net allows the caching of data
from a database so your website isn't slowed down by frequent visits to a
database
when
the
data
doesn't
change
very
often.
ASP.Net was tested and found to be over 10 times faster for the average user than
Java's J2EE technology. While there have been some debates about the methods
of the testing it is interesting to note that this has been validated by 3rd parties.
4.
Programmers can actually write their code in more than 25 .Net languages
(including VB.Net, C#, and JScript.Net). This allows programmers to develop
your site in the language they know best and it means that you can more easily
find programmers to support the work on your site
.
70
Chapter No. 4
Development
5. Application Architecture of .Net:
Parse
Generates
Page
Compiler
Request
Asp.Net
Page
DLL
Response
Page
Classes
Instantiates
To get great performance and remove the active scripting dependency, ASP.NET pages
utilize assemblies (DLLs).
When a page is first requested, ASP.NET compiles the page into an assembly. The
assembly created assigned a unique name, and is placed in a subdirectory within the
directory. The assembly contains a single generated class that derives from
System.Web.UI.Page class. This class contains all the code needed to generate the page,
and is instantiated by the framework to process a request each time the .aspx page is
requested.
The page compilation process is not cheap ant can take few seconds for complex pages.
However compilation is only ever done once for each .aspx file. All subsequent requests
for the page-even after IIS has been restarted- are satisfied by instantiating the class
generated, and asking it to render the pages. This results in great performance. The only
cost is a little disk space on the web servers.
You can change the temporary directory location used by ASP.NET by adding a temp
Directory attribute to the compilation element in machine.config
When a .NET class is generated for an .aspx page, the dependencies of that page such as
the .aspx page and any include files form part of a compiled class. These dependencies
are checked before a page is rendered, and if its determined that any of the dependency
71
Chapter No. 4
Development
file have changed since the page were compiled, the assembly is deleted and a new one is
created. This ensures that the page rendered is always up to date.
Install Components.
There are following installed components:
(ASP.NET)
Coding
The process of changing the steps in the algorithm to instruction, written in the
programming language is called coding.
I have adopted following factors in writing programs.
72