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

Tuesday, February 23, 2010

Using the .NET Framework for Desinging Apllications

Writing an application using the .Net means writing code (using any of the languages that support the framework) using the .Net code library.

Visual studio which is the package where one can have full access to all the .net framework capabilities; is a powerful Integrated Development Environment(IDE) that support visual C#, Visual Basic(VB), and visual C++. Visual studio expression edition in C#,VB, and C++ are free and you can download it free of charge from Microsoft Visual Studio 2008 Express Editions Download.

The advantage of these environments is the ease with which .Net features can be integrated into your code. For instance, For C# code to execute, it must be converted into a language that the target operating system understands, known as native code. This conversion is called compiling code.

Read more on my online Community IT Certification Companion

Olufemi

What is the .Net Technology?

The technology contains many concepts that are tricky to come to grips with initially. The .Net framework is a new and revolutionary platform created by Microsoft for developing applications. Although the Microsoft release of .Net framework runs on the windows operating system, it is fast becoming possible to find alternative versions that will work on other systems.

Also, one can use the Microsoft .Net compact framework on Personal Digital Assistant (PDA) class devices and even some smartphone. The .Net framework allows the creation of windows applications, web applications, web services and pretty much anything else one can think of.

What is in the .Net Framework?

The .Net framework consist primarily of a gigantic library of code that one can use in client language using Object Oriented Programming (OOP) techniques. The library is categorized in to different modules you can use portions of it depending on the results you intend to achieve.

Part of the .Net framework library defines some basic types. A type is a representation of data and specifying some of the most fundamental of these(such as a 32-bit signed integer) facilitates interoperability between language using the .Net framework. This is called Common Type System (CTS).

The .Net framework also includes the .Net Common Language Runtime(CLS) which is responsible for maintaining the execution of all applications developed using the .Net library.

This is my learning note on dot net technology using VB and C#. You will learn a lot if you can keep a date with me on my online Community IT Certification companion .


Olufemi