Phemmy Google Search

Friday, February 26, 2010

Object Oriented Programming Basics(OOP)

Object Oriented Programming (OOP)is a recent approach to creating powerful computer applications which tends to solve the problem of procedural programming that have been in existence for long and making all functionality of a program to be in a module. The emergence of OOP has made modular method of programming popular as it gives much more flexibility opportunity for programmers.
 
It is programming methodology that utilizes objects to carry out functionality. This special functionality see objects or mimic them as real life entities. OOP organized object instead of actions that are also arranged around data rather than logics. As the name implies OOP is achieved using objects.

 
The real life illustration of OOP advantage can be given as follows: Assuming you have a car, the car is seen as a single unit with the old way of programming(procedural). If you want to improve or upgrade this car, then you will need to replace or change the whole unit by sending it back to the manufacturer or find an expert for the upgrade. But with the OOP you can simply buy the unit or part of the car that need upgrade from the manufacturer and follow their instruction to replace it yourself without need to take the whole car for the upgrade.

Advantages of OOP
1. With OOP the programs are organized around objects performing the actions;
2. Program are no longer dependent on linear logic;
3. It is easy and can be updated safely;
4. Programs relate to real life actions;
5. It makes code reuse as an acceptable action in programming; and
6. It provides agreement on the structure and usage of more abstract entities.
To read more check my blog on Dot Net @ Learning Dot Net with Me 


Olufemi

Steps in creating a .NET Application

The .Net framework is a strong platform for designing robust and very powerful applications. stated as follows are steps that are involved in designing application using .Net framework:

1. Application code is written using a .Net compatible language such as VB, C# or C++;

2. The code written is then complied into Microsoft Intermediate Language (MSIL);

3. When the code is executed, it must first be compiled into native code using Just-In-Time (JIT) compiler; and

4. The native code is executed in the context of the managed Common Language Runtime (CLR) along with other running application or processes.




Olufemi