Content deleted Content added
Added PHP |
m Task 5a: Fix CS1 deprecated coauthor parameter errors |
||
Line 4:
}}
In [[object-oriented programming]], '''plain old data structure''' ('''PODS'''), or '''plain old data''' ('''POD''') is a term for a [[Record (computer science)|record]], to contrast with objects. That is, a PODS is a [[data structure]] that is represented only as passive collections of [[Field (computer science)|field]] values ([[instance variable]]s), without using [[object-oriented]] features. In [[computer science]], this is known as '''passive data structure'''.<ref name ="psd">{{cite journal|last=Black|first=Paul E.|
Plain old data structures are appropriate when there is a part of a system where it should be clearly indicated that the detailed logic for data manipulation and integrity are elsewhere. PODSs are often found at the boundaries of a system, where information is being moved to and from other systems or persistent storage and the problem ___domain logic that is found in other parts of the system is not relevant. For example, PODS would be convenient for representing the field values of objects that are being constructed from external data, in a part of the system where the semantic checks and interpretations needed for valid objects have not yet been applied.
|