Користувач:Luver/ППЗ

Матеріал з Вікіпедії — вільної енциклопедії.
Перейти до навігації Перейти до пошуку

Проектування програмного забезпечення - це процес створення проекту та проектної документації до програмного забезпечення, що розроблюється. Також, це наука, що вивчає методології та процеси проектування.

Під проектуванням мають на увазі вироблення властивостей на основні аналізу задачі, а саме: предметної області, вимог до ПЗ. Проектувальники проводять моделювання предметної області, щоб виробити обмеження на бізнес-логіку програми та модель даних в програмі. Вимоги до ПЗ визначають зовнішні властивості програми, яка розглядається як чорна скринька.

Мета проектування - визначити внутрішні властивості системи та деталізувати зовнішні. В залежності від класу ПЗ, що створюється, процес проектування може бути як "ручним", так і декілька автоматизованим. Для проектування використовують різні графічні нотації для відображення різних аспектів системи: ER-діаграми, UML-діаграми, DFD-діаграми, та інші.

Концепції проектування[ред. | ред. код]

За десятки років розвитку теорії проектування програмного забезпечення, науковці на спеціалісти виробили фундаментальні концпепції проектування.

  1. Абстрагування - це процес узагальнення понять за рахунок зменшення їх інформаційного змісту.
  1. Refinement - It is the process of elaboration. A hierarchy is developed by decomposing a macroscopic statement of function in a stepwise fashion until programming language statements are reached. In each step, one or several instructions of a given program are decomposed into more detailed instructions. Abstraction and Refinement are complementary concepts.
  2. Modularity - Software architecture is divided into components called modules.
  3. Software Architecture - It refers to the overall structure of the software and the ways in which that structure provides conceptual integrity for a system. A good software architecture will yield a good return on investment with respect to the desired outcome of the project, e.g. in terms of performance, quality, schedule and cost.
  4. Control Hierarchy - A program structure that represents the organization of a program component and implies a hierarchy of control.
  5. Structural Partitioning - The program structure can be divided both horizontally and vertically. Horizontal partitions define separate branches of modular hierarchy for each major program function. Vertical partitioning suggests that control and work should be distributed top down in the program structure.
  6. Data Structure - It is a representation of the logical relationship among individual elements of data.
  7. Software Procedure - It focuses on the processing of each modules individually
  8. Information Hiding - Modules should be specified and designed so that information contained within a module is inaccessible to other modules that have no need for such information.

Design considerations[ред. | ред. код]

There are many aspects to consider in the design of a piece of software. The importance of each should reflect the goals the software is trying to achieve. Some of these aspects are:

  • Compatibility - The software is able to operate with other products that are designed for interoperability with another product. For example, a piece of software may be backward-compatible with an older version of itself.
  • Extensibility - New capabilities can be added to the software without major changes to the underlying architecture.
  • Fault-tolerance - The software is resistant to and able to recover from component failure.
  • Maintainability - The software can be restored to a specified condition within a specified period of time. For example, antivirus software may include the ability to periodically receive virus definition updates in order to maintain the software's effectiveness.
  • Modularity - the resulting software comprises well defined, independent components. That leads to better maintainability. The components could be then implemented and tested in isolation before being integrated to form a desired software system. This allows division of work in a software development project.
  • Packaging - Printed material such as the box and manuals should match the style designated for the target market and should enhance usability. All compatibility information should be visible on the outside of the package. All components required for use should be included in the package or specified as a requirement on the outside of the package.
  • Reliability - The software is able to perform a required function under stated conditions for a specified period of time.
  • Reusability - the software is able to add further features and modification with slight or no modification.
  • Robustness - The software is able to operate under stress or tolerate unpredictable or invalid input. For example, it can be designed with a resilience to low memory conditions.
  • Security - The software is able to withstand hostile acts and influences.
  • Usability - The software user interface must be usable for its target user/audience. Default values for the parameters must be chosen so that they are a good choice for the majority of the users.

Modeling language[ред. | ред. код]

A modeling language is any artificial language that can be used to express information or knowledge or systems in a structure that is defined by a consistent set of rules. The rules are used for interpretation of the meaning of components in the structure. A modeling language can be graphical or textual. Examples of graphical modeling languages for software design are:

Design patterns[ред. | ред. код]

A software designer or architect may identify a design problem which has been solved by others before. A template or pattern describing a solution to a common problem is known as a design pattern. The reuse of such patterns can speed up the software development process, having been tested and proven in the past.

Usage[ред. | ред. код]

Software design documentation may be reviewed or presented to allow constraints, specifications and even requirements to be adjusted prior to programming. Redesign may occur after review of a programmed simulation or prototype. It is possible to design software in the process of programming, without a plan or requirement analysis, but for more complex projects this would not be considered a professional approach. A separate design prior to programming allows for multidisciplinary designers and Subject Matter Experts (SMEs) to collaborate with highly-skilled programmers for software that is both useful and technically sound.

See also[ред. | ред. код]

References[ред. | ред. код]