473,396 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Help in Object oriented design?

hi...

i'm keep trying to grasp OO (as many others) i know the basics of
inheritence, polymorphic, etc..

i'm trying to design a solution for an application that will do the
following (i have something in mind allready, just wanted to run it
through)..

this thing needs to accept request via web services for files to be
copied from system to antoher, not too hard unless you consider the
fact that the system in question are as/400 ,unix,nt, and MF. the
actuall software that will do the trasnfer is called connect direct, it
has services in place of each system, and accepts assyncrouns requests
via an SDK.

the system i have needs to play to functions,

1. give a facade to the connect direct, store the request in a
database and pass them along to connect direct.

2. trasnfer files from internal systems to an external server which
does not use connect direct but has it's own api's.

this how i thought to go:

i would have a interface (or abstract class still not sure) that would
symbolize a request (it will be composed of a header and details, like
the header would say from which directory to where, and the details
would say about the files themselves, stil not sure if i should simply
restrict to single line message ).
i would then have subclass which will represent either an internal
request, or external request, an abstract base class of a
messageProcessor that would go through a collection of messages and
deleage to its subclass the message to be processed.

i would have an interface of a server class which implement either the
internal of external systems, (functions like logon, and execute, where
execute would get a paramter the message interface.

Mar 18 '06 #1
2 1015
ok.. now i'm thinking that a request shouldn't be abstract becouse it
doesn't actually DO anything. it's should be a typed dataset for the
most part, the interface of the server should get a generic dataset and
it's implemetations should work on the typed dataset.

what do you think?

Mar 19 '06 #2
On Sat, 18 Mar 2006 13:11:24 -0800, Elhanan wrote:
hi...

i'm keep trying to grasp OO (as many others) i know the basics of
inheritence, polymorphic, etc..

I have plentiful pleasings to be helping your understanding of OOs and
relatednesses.

http://www.kuro5hin.org/story/2006/3/14/175929/544

Bhagat

Mar 19 '06 #3

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

Similar topics

5
by: Martin | last post by:
When was inheritance intruduced into object oriented programming? More generally, does anyone know or have any sources on when the different features were introduced into object oriented...
34
by: yensao | last post by:
Hi, I have a hard time to understand difference and similarities between Relational database model and the Object-Oriented model. Can somebody help me with this? Thank you in advance. ...
4
by: J | last post by:
I'm interested in learning C#. I'm an old C programmer (started with MS C ver 3), but haven't used it in quite awhile, spending most of my time in VB, Powerbuilder, PHP, Perl, etc., but not C++. ...
2
by: Bilqiis | last post by:
I want you to explain to me how to manage an project by using inheritance to create several classes that are distinct but share common functonality -- My strength lies with my Creature.
8
by: Dale | last post by:
I've searched Amazon and read probably 100 reviews but can't find what seems to be any book that is widely accepted as the definitive book on object oriented programming design and techniques. And...
4
by: scottrm | last post by:
Is anyone aware of any book/website/tutorial that has a decent object oriented design model for an asp.net e-commerce site (or even a generic e-commerce site). The ibuyspy.com sample site does not...
4
by: scottrm | last post by:
I am fairly new to oo design and I am looking at developing an object oriented asp.net application which will be built on top of a relational database. I have read quite a bit of the theory but...
46
by: ajba74 | last post by:
Hi fellows, I am reading some books to learn the C programming language, and sometimes I have the feeling that when somebody becomes a C expert, he must learn a more modern and object-oriented...
5
by: virtualadepts | last post by:
I have code here that explains my object oriented design model. I've been reading about other design models from what is documented on wikipedia about the key book on the subject:...
139
by: Joe Mayo | last post by:
I think I become more and more alone... Everybody tells me that C++ is better, because once a project becomes very large, I should be happy that it has been written in C++ and not C. I'm the only...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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 project—planning, coding, testing,...

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.