× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Walden

A quick apology. I know you know more than me :-)

Maurice


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Walden H. Leverich
Sent: 08 July 2008 21:29
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Mapping SQL Result Sets to Browsers

I know these were aimed at Maurice, but...


What language do you use?
C#, although it would work in any .Net language.

How do you handle foreign key instantiation?
Not sure what you mean. To you mean linkages between objects.
(OrderLine->Order->Customer)? If so, we code for them. Not that the code
is complex:

#region Property Contact
public Contact Contact
{
get
{
EnsureLoaded();
if (_Contact == null)
_Contact =
Contact.GetContact(_Contact_ID);
return _Contact;
}
}
#endregion

How do you specify that a calculation is done once when the object is
retrieved as opposed to every time the getter method is invoked?
We code it. Again, not complex. For example, the "calculation" in the
example above is to only retrieve the Contact if it's not already
retrieved.

Do you cache instances?
No, although we're considering it. However, in our design requirements
for it we require synchronization across web servers so that's part of
the plan (and the cause for the delay). Besides, we're subsecond on page
loads w/out it. :)

Do you make dirty instances visible between sessions?
No.

Do you perform notifications when database changes occur?
No.

--
Walden H Leverich III
Tech Software
(516) 627-3800 x3051
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.