Object Oriented Programming (OOP): polymorphism

Programming is the process of developing solutions to “live”, dynamic tasks in the form of rigid code constructions, data, functions and algorithms. The procedure for generating strict syntax from undefined semantics. Real tasks are a well-known big problem in the sense of algorithmization: in order to achieve the desired solution, the task must be placed in precise syntactic constructions.





OOP has twice attempted to “break” this ancient programming concept, but the “shackles” of the classical style of coding data and algorithms are still strong.

Level and Qualification

, , , , .

, , . .

, () , .





- PHPOffice/PHPWord. , , ( ) - , ( ). :

-




- , , . , .

, , , , .

, - , , , .

. . :





  • ;
  • ;
  • .

: , , , .





, : , -, , , , .

, : - .

- . , , .

  1. - ( ).
  2. - .
  3. ...
  4. ( /++): « - ».
  5. ...
  6. - ...
  7. , ...

, : , - . - .

: -

(, ). , , . , , .

, :

  • ;
  • , «» «» .

- , - «» - . «» , !

- . - ; - . «» . , , - .

,

the Air Art Technology, Object Magazine, Turbo Vision, Graph Vision - . , , Windows , PHP, JavaScript - , -.

, , : , , , . , () Windows, Turbo Vision Graph Vision.

OOP polymorphism




, the Air Art Technology Object Magazine, . , . , , .

(Windows & etc.) : , , , .

(the Air Art Technology Object Magazine) . - , , .

:

- .

() , , , , - , , () .

basic concepts oop encapsulation inheritance polymorphism




, , , , , , , .

: , , , . , - .

, « » . - , , - , .

:

- - . . , , : ( - ) - . , , . , .

polymorphism oop example




, , , , . : , , , - .

, , . , , , .

, . () (), .

, . , , , , , .

: , , , , , .

basic principles of OOP encapsulation inheritance polymorphism




: , - .

, , - .

, , « », , , .

, , «» ( , ) , , , - : , , , .

:

, , , () - , - : , ?

OOP principles inheritance encapsulation polymorphism




, , , . : , .

, . , - . , c , , , , :

  • (, );
  • ( , );
  • (, , ).

. .

: - . , , , .

, , . , , , .

, , ., , , .

, , , - , , .

oop polymorphism principles




, - : , , , , .

, , , - . , , , , , , .

,

, , , . , , , «» , .

PHPOffice/PHPWord, , . , *.docx:

Author's example is not a picture




zip- Office Open XML (OpenXML, OOXML). XML, , , , , . , , .

, :

Author's example is not a picture




, . , , - .

, - , - , - . . , .

, , , .

, , - . , , .

- - , . , PHP JavaScript, .

- , - , .

- . , (, ).

- , , - .

- , , , , , .




All Articles