473,497 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Business Object reference/dicussion

I seem to have a lot of questions revolving around Business Objects and their
implementation. Does anyone have any good reference links?

Some of the questions I have are:
How do you represent the dichotomy between undefined data and defined data?
Do I create a special class for every possible property type?

How/where and when do you translate between internal representation (say
date) and user interface representation (say MM/dd/yyyy, or three separate
values, maybe binding to a combo box) and storage (which probabbly want's a
date or NULL)

If UI and database are my primary uses of the business object, should I
define all properties as string?

If you have an object that contains an item that references an entry in
another list (say a lookup/validation list). How do you map between usage
modes (for instance storage and editing might want the value 1, display might
want the value Sunday). Again would I create a class for every defined
property type?
Mar 7 '06 #1
1 925
Hello Larry,

LC> I seem to have a lot of questions revolving around Business Objects
LC> and their implementation. Does anyone have any good reference
LC> links?
LC>
LC> Some of the questions I have are:
LC> How do you represent the dichotomy between undefined data and
LC> defined data?
LC> Do I create a special class for every possible property type?

Create canonical class that will map all undefined to defined, for example
using XSLT

LC> How/where and when do you translate between internal representation
LC> (say date) and user interface representation (say MM/dd/yyyy, or
LC> three separate values, maybe binding to a combo box) and storage
LC> (which probabbly want's a date or NULL)

in the class where u need to show your control

LC> If UI and database are my primary uses of the business object,
LC> should I define all properties as string?

Well........properties of what? seems not, there are several cases where
it may be numeric data, but
u can declare everything as string and then perform convert

LC> If you have an object that contains an item that references an entry
LC> in another list (say a lookup/validation list). How do you map
LC> between usage modes (for instance storage and editing might want the
LC> value 1, display might want the value Sunday). Again would I create
LC> a class for every defined property type?

use enums, where u can map Sunday to 1 and vice versa
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Mar 7 '06 #2

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

Similar topics

15
3654
by: Tim Jarvis | last post by:
Hi, I have an object that I am binding to a text box, this object exposes a boolean field, and I have implemented a format event handler and a parse event handler for the binding object, where I...
25
5023
by: Stuart Hilditch | last post by:
Hi all, I am hoping that someone with some experience developing nTier apps can give me some advice here. I am writing an nTier web app that began with a Data Access Layer (DAL), Business...
9
6241
by: Hasan O. Zavalsiz | last post by:
Hi , i am trying to figure out which approach is better to use . let me explain the scenario. i am using the "Nortwind" database . in this database i have "Customers " table .The following is the...
14
1801
by: tshad | last post by:
I am trying to set up a reusable library (business component) that I can use in a bunch of my pages. I built the file and it almost compiles, but I am not sure what I am missing. The vbc...
3
1762
by: moondaddy | last post by:
I'm wanting to create a bindable list object made up of a list of business classes. I'm writing this in a vb.net 1.1 winforms app and am using a code example by Rocky Lhotka for reference...
1
1866
by: Nemisis | last post by:
hi guys, Currently converting an old classic asp system to a OOP asp.net application. We are building the new application using a 3 tier arcitecture and i was wondering about the following. ...
2
2617
by: grawsha2000 | last post by:
Greetings, I am developing this N-tier business app. The problem I'm facing is when I try to pass business objects (employees, dept..etc) from business tier to data tier,i.e., the add method in...
2
4043
by: Chris Zopers | last post by:
Hello, I would like to know what's the best way to implement a business logic layer between my user interface and my database. I would say I'd make a dll-project for the business logic layer...
5
1768
by: Brad Pears | last post by:
Hi guys!!! Thanks for all your input on previous OO posts. I know it will be all the same people responding again and I really appreciate your insight etc.. as you all appear to know what you are...
0
7121
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,...
0
6993
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...
0
7197
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6881
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
5456
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,...
1
4899
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1411
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 ...
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.