Software Engineering Diversity
Perhaps the
most significant factor in determining which software engineering methods and
techniques are most is the type of application, including:
1. 1. Stand-alone application: These are
application systems that run on a personal computer or apps that run on a
mobile device. They include all necessary functionality and may not need to be
connected to a network. Examples of such applications are office application on
a PC, CAD programs, photo manipulation software, travel apps, productivity
apps, and so an.
2. 2. Interactive transaction-based
applications: These ate applications that execute on a remote computer and that
are accessed by users from their own computers, phones, or tablets. Obviously,
these include web applications such as e-commerce applications where you
interact with a remote systems to buy goods and services. This class of
application also includes business systems, where a business provides access to
its systems through a web browser or special-purpose client program and cloud
based services , such as mail and photo sharing. Interactive applications often
incorporate a large data store that is acced and updated in each transaction.
3. 3. Embedded control system: These are
software control systems that control and manage hardware devices. Numerically,
there are probably more embedded systems than any other type of system.
Examples of embedded systems include the software in a mobile (cell) phone,
software that controls antilock braking in a car, and software in a microwave
oven to control the cooking process.
4. 4. Batch processing systems: These are
business systems that are designed to process data in large batches. They
process large numbers of individual inputs to create corresponding outputs.
Examples of batch systems are periodic billing systems, such as phone billing
systems and salary payment systems.
5. 5. Entertainment systems: These are systems for
personal use that are intended to entertain the user. Most of these systems are
games of one kind or another, which may run on special-purpose console
hardware. The quality of the user interaction offered is the most important
distinguishing characteristic of entertainment systems.
6. Systems for modeling and simulation: These
are systems that are developed by scientists and engineers to model physical
processes or situations, which include many separate, interacting objects.
These are often computationally intensive and require high-performance parallel
systems for execution.
7. Data
collection and analysis systems: Data collection systems are systems that collect
data from their environment and send that data to other systems for processing.
The software may have to interact with sensors and often is installed in a
hostile environment such as inside an engine or in a remote location. “Big data”
analysis may involve cloud-based systems carrying out statistical analysis and
looking for relationships in the collected data.
8. Systems
of systems: These are systems, used in enterprises and other large
organizations, that are composed of a number of other software systems. Some of
these may be generic software products, such as an ERP system. Other systems in
the assembly may be specially written for that environment.
Of
course, the boundaries between these system types are blurred. If you develop a
game for a phone, you have to take into account the same constraints (power,
hardware interaction) as the developers of the phone software. Batch processing
systems are often used in conjunction with web-based transaction systems. For
example, in a company, travel expense claims may be submitted through a web
application but processed in a batch application for monthly payment.
Each type
of system requires specialized software engineering techniques because the
software has different characteristics. For example, an embedded control system
in an automobile is safety-critical and is burned into ROM (read-only memory) when
installed in the vehicle. It is therefore very expensive to change. Such a
system needs extensive verification and validation so that the chances of
having to recall cars after sale to fix software problems are minimized. User
interaction is minimal (or perhaps nonexistent), so there is no need to use a
development process that relies on user interface prototyping.
For an
interactive web-based system or app, iterative development and delivery is the
best approach, with the system being composed of reusable components. However,
such an approach may be impractical for a system of systems, where detailed
specifications of the system interactions have to be specified in advance so that
each system can be separately developed.
Nevertheless,
there are software engineering fundamentals that apply to all types of software
systems:
1. 1. They should be developed using a managed and
understood development process. The organization developing the software should
plan the development process and have clear ideas of what will be produced and
when it will be completed. Of course, the specific process that you should use
depends on the type of software that you are developing.
2. Dependability and performance are
important for all types of system. Software should behave as expected, without
failures, and should be available for use when it is required. It should be
safe in its operation and, as far as possible, should be secure against
external attack. The system should perform efficiently and should not waste
resources.
3.
Understanding and managing the software specification and requirements (what the
software should do) are important. You have to know what different customers
and users of the system expect from it, and you have to manage their
expectations so that a useful system can be delivered within budget and to
schedule.
4. You should make effective use of existing
resources. This means that, where appropriate, you should reuse software that
has already been developed rather than write new software.
These
fundamental notions of process, dependability, requirements, management, and
reuse are important themes of this book. Different methods reflect them in different
ways, but they underlie all professional software development.
These
fundamentals are independent of the program language used for software development.
I don’t cover specific programming techniques in this tutorials because these
vary dramatically from one type of system to another. For example, a dynamic language,
such as Ruby, is the right type of language for interactive system development
but is inappropriate for embedded systems engineering.