Presentation on theme: "Interpret Application Specifications"— Presentation transcript:
1 Interpret Application Specifications LESSON 3.2Software Development FundamentalsInterpret Application Specifications
2 Lesson Overview Students will interpret application specifications. In this lesson, you will learn about:Reading and translating specifications into prototypes, code, and components
3 Guiding QuestionsHow is an application specification used to create the prototypes, code, and components that will eventually form the application?Use the guiding questions as a class starter, allowing the students time to answer the questions in their notes. Discuss student answers to the questions.
4 ActivatorWhat aspects of an application specification are helpful in creating code for the application?If you were to write an application specification, what would you include to make it easy to read and translate into code?Name some common software applications.This will get students thinking about application specifications and the types of applications that can be created. Some examples of items contained in an application specification are user interaction, interaction with other software, interaction with services, and memory requirements.
5 Review Termsapplication—a program designed to assist in the performance of a specific task, such as word processing, accounting, or inventory management.component—an individual modular software routine that has been compiled and dynamically linked and is ready to use with other components or programs.database—a collection of tables composed of records, each containing fields together with a set of operations for searching, sorting, recombining, and other functions.service—in reference to programming and software, a program or routine that provides support to other programs.Web application—a set of clients and servers that cooperate to provide the solution to a problem.
6 What is an application specification? It describes the technical requirements of an application.It can also be specifically targeted at providing the information that developers require to make their application compatible with other applications or systems.Example: When Microsoft Windows Server 2003 was launched, it came with an application specification describing requirements that applications must meet to be certified.The application specification describes the problem that needs to be solved and conveys the requirements to the programmer.The goal is to provide the programmer with the information required to implement an appropriate solution.From Wikipedia.6
7 Types of Applications Windows service Web application Web service Windows Form applicationConsole applicationDatabase application7
8 Windows ServiceAn executable that carries out specific functions and is designed to not require user involvement.Windows Service executables often are configured to start alongside the operating system and run in the background.Why a Windows Service?When you want a program to start automatically when the operating system startsWhen your program does not require user interaction, and therefore may not need a user interfaceWhen you need long-running functionalityYou can find a list of Windows Services in the Windows Task Manager, with user names of SYSTEM, LOCAL SERVICE, and NETWORK.A Windows Service should not interfere with other applications.It must be coded to interact with the Windows Service Control Manager.8
9 Web Application An application accessed using a Web browser Usually composed of three tiers:The Web browser (example: Windows Internet Explorer)The Web content engine (example: ASP.NET)The database (example: Microsoft SQL Server)Why a Web application rather than a traditional application?Easy to update and maintainCross-platform compatibilityExamples: Web mail, online sales9
10 Web serviceA Web service provides the ability to exchange messages in a loosely coupled environment using standard protocols such as Hypertext Transfer Protocol (HTTP) and Extensible Markup Language (XML).A Web service enables the exchange of data and the remote invocation of application logic using XML messaging to move data through firewalls and between heterogeneous systems.The only assumption made between the client and the server is that recipients will understand the messages that they receive.10
11 Windows Form Application A Windows Form application is a graphical application in which information is displayed and controls are provided to interact with data.Why use a Windows Form?The interface corresponds to the operating system, so the application is integrated with the desktop.Consistent user interface.Higher processing demand.Security and reliability is important.Does not require an Internet connection.The term Windows Forms can also be referred to as the Windows client library for building Windows client applications.11
12 Console ApplicationA Console application is a computer program designed to be used through a text-only computer interface.Why use a Console application?A mouse or pointing device is not required.Speed of deployment.Ease of use.12
13 Database ApplicationA database application obtains and manipulates data from a database managed by a database management system (DBMS).Typical database applications include programs for data input, data viewing, and batch processing of data.Why use a database application?Large amount of data to be stored and retrievedClient/server interaction13
14 Lesson ReviewIdentify the most appropriate type of application to use in each situation below. Justify your answer.You need to store, view, and update employee records, including name, age, address, and other personal information.You need an application to start when a laptop is turned on to monitor battery usage constantly.You want to sell your product to people all over the world.You need to quickly create an application to input and output text data to and from a text file.Database - You need to store, view, and update employee records, including name, age, address, and other personal informationWindows service - You need an application to start when a laptop is turned on in order to constantly monitor battery usageWeb application - You want to sell your product to a people all over the worldConsole application - You need an application to display status messages on a system with limited graphical capabilities