Click to See Complete Forum and Search --> : Object Oriented Programming?


Tikki
09-23-2003, 08:31 AM
Hello,
please any one can explain me "What is Object Oriented Programming in VB, ASP?"
thanks

Ribeyed
09-23-2003, 10:55 AM
Hi,
not sure where you have picked that up from but ASP is not Object Oriented Programming. Object Oriented design is a methodology that is used to model systems. Object Oriented Methodology is now the preferred way to design system over the conventional structure methodology. The main themes of O-O are Encapsulation and Reuse.
Now in ASP do have know objects for example REQUEST, RESPONSE etc. but this doesn't mean that ASP is object-oriented. ASP still uses structure methodology when programming.
In object-oriented design objects are split in to classes. Each class can have super-classes and sub-classes. Object-oriented system development is based on the principal stages of the traditional system life cycle: analysis, design, implementation and maintenance. However, development tends to be viewed as a single, seamless process, with smoother transitions between different stages than in traditional life cycle. Fundamental object-oriented concepts, such as objects, classes, associations and inheritance drive the development process from its very early stages and provide a single, unifying foundation for the life cycle.
Object –oriented is needed because software practioners are looking for a new approach to system development, which will produce software that is more:

Maintainable
Testable
Reusable
Able to cope with large and complex systems.

Objects

The basic building blocks of object-oriented software is the object. Software objects derived from and model the real-world objects in the application domain. That is, whatever type of software system you are developing, whatever the problem you are trying to solve, it will feature certain entities, objects or things. Objects in an O-O system can represent physical things (such as customers, products, members and books), conceptual things (such as orders, loans, reservations and cancellations) or organizational things (such as companies or departments).

To date i think JAVA and ASP.NET are the only 2 object oriented programming languages

PeOfEo
09-23-2003, 05:24 PM
Well C++ & C are I believe but I think you are just talking about server side languages ASP.NET and JSP...
>.>
<.<

Ribeyed
09-23-2003, 05:28 PM
correct Peofeo m8 :D

PeOfEo
09-23-2003, 05:32 PM
New! JSP done with C++! I would be all over that. C++ is sooo much easier then Java. Oh Java is unicode oh Java can allow me to type in chineese... But its twice as much work. Oh yea we just got our text books for our Java class! Woopy not more learning from an overhead.

kaht
09-26-2003, 08:14 AM
This is just a short post to a reply above. C is not an object oriented language. Not until C++ was introduced, I believe in 1991, did C use object oriented methodology. And if I'm not mistaken, that's when object oriented programming was introduced. Of course, someone else is gonna reply to this and say that someone else started it like 3 months before C++. Anyway, that's what I *think* I remember from my classes years ago.

-kaht

Jeff Mott
09-26-2003, 09:29 AM
Although not strictly an OO language, Perl also supports OO programming.

riddim
05-30-2006, 04:11 PM
hey can anyone help me with this...i have this lil class project and i'm running into a lil problem.

I have to create the following objects in asp.net:
Person, Patient(inherits the person class),Doctor(inherits the person class) and appointment
Note: system must use the calendor control.

this is what i have:

<%
'Dim Sick1, Doc1 as Patient
'Sick1 = New Patient

'Dim Doc1 as Doctor
'Doc1 = New Doctor

Dim Sick1, Doc1 as Person
Sick1 = New Person
Doc1 = New Person

%>
which one of those is correct and I'm i on the right track :confused: