Flux rss
 

Introduction to object-oriented programming

Object-Oriented Programming (OOP)

A new programming concept

Extract from "Understanding Active X and OLE" by David Chappel

"In the last 35 years, designers of computer hardware have gone from designing machines the size of a hangar to thin notebooks based on minuscule microprocessors.
In the same period, software developers have gone from writing programs in assembler and COBOL to writing even bigger programs in C and C++. We could call this progress (some people may disagree), but clearly the software world does not progress as rapidly as the hardware world. So what is it that hardware developers have that software developers don't?

The answer lies in the components used. If electronic hardware engineers had to start out from a heap of sand each time they designed a new hardware device, and the first step involved the extraction of silicon to manufacture integrated circuit boards, they would not progress very quickly. Thus, a hardware designer always builds a system based on ready-made components, each one having a specific function and providing a set of services via defined interfaces. The task of hardware designers is considerably easier thanks to the work of their predecessors.

Re-using components is also a way to create better software. Even today, software developers are still starting out from a heap of sand and following the same steps as hundreds of developers before them did. The result is often outstanding, but it could be improved. Creating new applications from existing components, which have already been tested, always tends to produce more reliable code. What's more, it simply proves to be faster and cheaper, which is just as important."

Object methods

The modular object approach involves creating a computerised representation of the real world elements that we are interested in, without worrying about how it is implemented, regardless of the programming language used. It therefore involves determining the objects and isolating their data and the functions that they use, methods were developed for this purpose. Between 1970 and 1990, several analysts developed object-oriented approaches, by 1994 there were more than 50 object methods. Nevertheless, only 3 methods actually caught on:

  • Rumbaugh's OMT method
  • Booch's BOOCH'93 method
  • Jacobson's OOSE method

Beginning in 1994, Rumbaugh and Booch (later joined by Jacobson in 1995) joined efforts to develop the UML (Unified Modeling Language) definition language, which defines a standard language by incorporating the advantages of various preceding methods (i.e. those of other analysts). This enables the complete programming of an application with a language that uses a modular approach for all components of the program being developed.

Last update on Thursday October 16, 2008 02:43:13 PM.

This document entitled « Introduction to object-oriented programming » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
Introduction to object-oriented programming - Polymorphism The word polymorphism comes from Greek and means having several different forms. This is one of the essential concepts of object-oriented programming. Where inheritance is related to classes and (their hierarchy), polymorphism is related to object... en.kioskea.net/poo/polymorp.php3
Introduction to object-oriented programming - Inheritance Inheritance is specific to object-oriented programming, where a new class is created from an existing class. Inheritance (often referred to as subclasses) comes from the fact that the subclass (the newly created class) contains the attributes and... en.kioskea.net/poo/heritage.php3
OOP - Objects Object-oriented programming consists of arranging data in modular sets of elements of real world information (called a domain. These data elements are called objects. This data is grouped according to the main real world characteristics of those... en.kioskea.net/poo/objet.php3
Introduction to Dark BasicIntroduction to Dark Basic What is Dark Basic? Step 1: How to start? Step 2: How to create a simple menu? Key Features of Dark Basic What is Dark Basic? Dark Basic is an object oriented programming language that allows you to... en.kioskea.net/faq/sujet-483-introduction-to-dark-basic
Starting with visual basicStarting with visual basic Visual Basic is a programming tool designed by Microsoft for its Component Object Model (COM). This tool can be used to create applications for windows, web, mobile devices etc.The latest version of Visual basic... en.kioskea.net/faq/sujet-305-starting-with-visual-basic
CAML: Online Guides and TutorialsCAML: Online Guides and Tutorials For Beginners For Advanced Users CAML is a programming language that has been created by INRIA in 1985 and works like an object-programming language as well as having functional and imperative style.... en.kioskea.net/faq/sujet-491-caml-online-guides-and-tutorials
Prime numbersHello object oriented programmers, I wanna a program that return a list of prime numbers up to 100. The point is you are not allowed to use arithmetic operations such as add,subtract,divide and multiply!! You can use only "++" for increasing the... en.kioskea.net/forum/affich-37145-prime-numbers
Page orientationsHello, I can't find how to change my page orientation default from Landscape to Portrait. Whenever I print from Apple script or Safari (or other program) it defaults to Landscape format and I have to manually change it each time. Where do I go to... en.kioskea.net/forum/affich-15288-page-orientations
I got this errorHi , How are you??? I download Windows Live Psp Messenger , and I did all what was mention in the instruction. But after I insert my email and the password in the programe window , another page show up saying " Object not found! the requested URL was... en.kioskea.net/forum/affich-519-i-got-this-error
Download Filesystem Dialogs LibraryFilesystem Dialogs Library is a tool allowing to ameliorate the components of selection of files and files for the deck Win 32.It was built to be compatible with comdlg32.dll. The objective of program is to provide the most powerful utility giving of... en.kioskea.net/telecharger/telecharger-588-filesystem-dialogs-library
Download Stop Motion AnimatorStop Motion Animator is a program of very simple animation. He allows to put in animation of the fixed objects that they designed in the form of adjustable figure.It is intended to work with all support of video capture compatible with Windows; that... en.kioskea.net/telecharger/telecharger-374-stop-motion-animator
Download JK RulerThe programs of edition and modification of pictures or the software of drawings as Photoshop and AutoCad have a function "measuring rule" to be able to measure in the screen forms which you add.But problem, sometimes objects which they want to... en.kioskea.net/telecharger/telecharger-636-jk-ruler
Microsoft sues over brand in Dutch programme curbing kids on InternetMicrosoft offices in Herndon, Virginia. Microsoft is suing a company run by a Dutch mother because it had started using a Microsoft domain title in computer programmes aimed at curbing children's use of the Internet. Software company Microsoft... en.kioskea.net/actualites/microsoft-sues-over-brand-in-dutch-programme-curbing-kids-on-internet-10303-actualite.php3
Software engineering - Design Patterns Design Patterns is a set of best design practices that are used to address many recurring problems in object-oriented programming. The concept of Design Patterns was the result of work done by a group of 4 people (Erich Gamma, Richard Helm, Ralph... en.kioskea.net/genie-logiciel/design-patterns.php3
Introduction to object-oriented programming - Encapsulation Encapsulation is a way of organising data and methods into a structure by concealing the the way the object is implemented, i.e. preventing access to data by any means other than those specified. Encapsulation therefore guarantees the integrity of... en.kioskea.net/poo/encapsul.php3
Programming languages - Characteristics There are many programming languages, each corresponding to specific needs (formula calculus, character string processing, real-time, etc.) with each having specific characteristics and functionalities. Therefore, the choice of programming language... en.kioskea.net/langages/langage-caracteristiques.php3