> List of tutorials


Fat-Client-Development – Develop the Base-Class for Business Objects

* For this document and all references (links) please obey the hints and regulations concerning copyright, disclaimer and trademarks.

  • The owner of this web-site (www.javascout.biz) is not responsible for the content of web-sites linked within this document or linked within other documents of www.javascout.biz.

  • If this document or other documents of this web-site (www.javascout.biz) infringes your rights or you think that rights of others (third parties) are infringed, please inform the author.
    An e-mail can be sent by clicking onto the 'hungry mailbox' in the upper right corner.

Last revision of this document:
2006-08-14

Business Objects are entities that keep together data belonging to one 'business-area'; e.g. an invoice with a 'header' and several 'positions'.
Business Objects can contain data that is physically stored on different database-tables.

For the theory about Business Objects please consult Using Business Objects to handle data-storage and retrieval.

In the Base Class (which is developed in this step), variables and methods that are used by all Business Objects are developed.

Preface:

In former steps code was written for understanding in favour of performance.
As this class is intended to be inhereted by a heap of Business Objects, preference was given to performance if there has to be made a decision between understandability and performance.
I hope, that the comments placed in the code will help you to understand what intention is behind the code
.

Credits:

Too numerous to mention; the idea is available in dozens of versions – I refined a lot of ideas into my system.

Prerequisites:

Create the (base-)class for Business Objects:

There are some variables that are common to all Business Objects.
Those are defined in a base-class.

top.

Next Steps: