Home > Backend Development > PHP Tutorial > What is process-oriented

What is process-oriented

藏色散人
Release: 2023-04-04 17:08:01
Original
6777 people have browsed it


Procedural or Procedure-Oriented Programming (POP): As the name suggests, Procedure-Oriented Programming involves a step-by-step process. Here, the problem is broken down into small parts, and then to solve each part, one or more functions are used. So, in the POP approach, the problem is viewed as a sequence of things to be done, such as input, calculation, and display. The main focus will be on functionality to accomplish each task.

What is process-oriented

In the POP method, we write lines of instructions that are to be performed by the computer and by organizing these instructions into groups we create functions.

For example, consider that we have to get two values ​​from the user and then display the sum of the input values. In the POP method, the problem might be broken down as follows,

First take an input and put it under a variable, here as a variable.

Then take another input and put it under another variable, here take b.

Now define a variable (e.g. c) as

c = a + b
Copy after login

Now display c.

Main characteristics of process orientation:

1. Pay great attention to what needs to be done.

2. Large problems are divided into smaller programs called functions.

3. Most functions share global data.

4. Data moves openly around the system from system to function.

5. Functions transfer data from one form to another

6. Use a top-down approach in programming.

7. In the case of large projects, bringing about changes is difficult and time-consuming.

8. Failure to use appropriate and effective technology to protect other people’s data.


The above is the detailed content of What is process-oriented. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template