miércoles, 17 de septiembre de 2014

Programming Oriented Objects - Basic Concepts

The paradigm of programming oriented objects it is a paradigm very young compare with others but actually is very strong, that happens for the simplicity of the paradigm of simulate the reality of the life, is thinking for represent the behaviours of events, this make it very useful.

Here we represent the concepts as objects with different attributes and methods for represent the actions on this objects. The objects are instances of the classes, and this instances act like the behaviour of the respective class.

Basic Concepts

Abstraction: Is the capacity of extract the most important parts in an activity of the real life, for represent it omitting details less important.

Classes: Are an template for represent behaviour for an instance.

Members: The components of any class.

  1. Methods: This components are the actions that can be perform for any object on the class.
  2. Attributes: This components are the data that can be store or represented for the object, this data can be another type of class.

Object: Are instances of a specific class, all the instances of a class has the same kind of members. Also, has an state, behaviour and identity unique.

  1. State: The state of any object can be altered with interaction with other objects.
  2. Messages: The objects send messages (information) through the methods to other objects or classes. If the state of any object change the behaviour also change.

Encapsulation: Is defined the scope of the objects for have a relation with other objects or classes.

Heritage: Is the capacity of the objects for have another behaviour far from the own class. There is a hierarchical pyramid for simulate the relations from the reality to the virtual.

Polymorphism: Is set the capacity to a class or object for represent different behaviours for one name only.

Modularity: It's make groups of discrete units, for reduce the complexity and allow the test of smaller modules and complexity of the objects or classes.

There are basic concepts about the paradigm of the oriented objects.


0 comentarios:

Publicar un comentario