473,659 Members | 2,929 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

oo concepts

hi
i am looking at learning oo concepts well.
I have an idea about inheritance , encapsulation etc.
but i want to see it being implemented .

is there any large sample application that explains how it is implemented. ?
thanx
Jul 21 '05 #1
2 1261
Hi Juzan,

When you have VS.net and you start a form project go to the code and you
click on the + in the code, you see that the form you are using is inherited
from the form class, from which you can override some things however not
everything,

You see than a nice implementation of OOP.

It is not that difficult.

Cor
Jul 21 '05 #2
You want to begin to learn the patterns literature.

Object oriented programming gives you the tools, but doesn't tell you how to
effectively use them. We all just rummage in the dark in this way, but
after a while, some techniques started showing up over and over. A group of
clever researchers decided to ask some of the best developers using OO
languages what solutions they were coming up with. If a solution tended to
appear over and over, the researchers wrote it down, gave it a name, and
described when it would be good to use.

These recurring solutions are called "design patterns."

The landmark book that opened up design patterns to the world is called
"Design Patterns, Elements of Reusable Object Oriented Software" by Gamma,
Helms, Johnson, and Vlissides (a.k.a. the Gang of Four).

This book is an excellent reference, but not an easy read. I do not
recommend that you start there. I recommend, instead, that you start with a
slim and readable volume called

"Design Patterns Explained" by Shalloway and Trott

These are not code snippets per se, although many books illustrate their
examples using bits of code, and I've seen at least one patterns book come
with a CD illustrating samples of each pattern (Design patterns in C# by
Cooper). Design patterns are not libraries, either. They are techniques
and solutions to the problem of learning and understanding Object Oriented
programming.

Take a look at the Shalloway book. If you aren't a better programmer after
reading that book, I'll eat my hat. (I read it in two days... it's an easy
read).

--- Nick

"Juzan" <ju***@hotmail. com> wrote in message
news:ue******** ******@TK2MSFTN GP09.phx.gbl...
hi
i am looking at learning oo concepts well.
I have an idea about inheritance , encapsulation etc.
but i want to see it being implemented .

is there any large sample application that explains how it is implemented. ? thanx

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5165
by: RK | last post by:
I was reading the Concepts manual and was puzzled by this sentence. Can anyone elaborate on this: <snip> Tables are the basic unit of data storage in an Oracle database. Database tables hold all user-accessible data. Each table has columns and rows. Oracle stores each row of a database table containing data for less than 256 columns as one or more row pieces.</snip> What is this 256 column limit. I thought row chaining / migration
1
1785
by: ravinder | last post by:
I wanted to develop a multithreaded program using OO concepts on windows platform. Problem: I have to simulate two layers(similar to TCP/IP stack layers), and the layer functionality is of finite state machine type i.e after receiving any event(either after receiving message or any timer expiry), state change happens internal to layer. And there will be message transfer between two layers. My idea is to put layer specific data in the class and...
6
1396
by: enki | last post by:
I had read that you should use classes to represent concepts. How does this work and what kind of concepts should be reresented as classes.
3
3066
by: Kappa | last post by:
Hello, Can anyone suggest me a good intermediate level C# book that teaches OOP concepts too. I saw Beginning C# Objects: From Concepts to Code by Jacquie Barker, it seems good but I want a second openion. Your helpful suggestions will be welcome. Thanks
3
1321
by: Robert | last post by:
I've been working with ASP.NET for about a year and I think I'm on the verge of "getting it." I suspect that if I came to understand a few key concepts it would all come together. One of those "key concepts" undoubtedly is the "pipeline" I see mentioned over and over again in this group. If one were to understand that, then the relationships amongst HTTP handlers, output caching, the Cache object, and order of page construction, etc would...
3
1538
by: User1013 | last post by:
I have the Javascript definitive guide book but I'm hoping someone can tell me what "language concepts" are being employed by the following code, so that I can look up the right parts in the book: foo = { attrType : 'none', init : function(){ ..... snip... and ...
20
2583
by: W Karas | last post by:
Would the fear factor for concepts be slightly reduced if, instead of: concept C<typename T> { typename T::S; int T::mem(); int nonmem(); };
30
5460
by: Xah Lee | last post by:
The Concepts and Confusions of Prefix, Infix, Postfix and Fully Functional Notations Xah Lee, 2006-03-15 In LISP languages, they use a notation like “(+ 1 2)” to mean “1+2”. Likewise, they write “(if test this that)” to mean “if (test) {this} else {that}”. LISP codes are all of the form “(a b c ...)”, where the
1
4223
by: aswinikg | last post by:
HI I am a newbie to 'C' and embedded application . I have a code in which the input parameter is being assigned in two ways (i) Runtime through user (ii) parameter tile the problem is, i can't give the runtime input as am a in need of creating a standalone product without user interaction. the parameters in the parameter file is assigned as the input by "FILE" pointer concepts ...
1
2117
by: Swathika | last post by:
Hi, Sometimes, you never get chance to learn 'Advanced Design Concepts and Real-time Scenarios' from institutes or through book-learning. But, in my blog, I have gathered some of the amazing Design concepts and practical scenarios in J2EE. Design Concepts: http://strutsjavainterviewquestions.blogspot.com/2008/07/design-level-concepts-in-j2ee.html
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8339
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8535
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7360
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4176
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4338
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2757
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.