Generosity Principle
Username:  
Password:
  > Home
> User Guide
v Reference
    v Introduction
       o How to use this doc
       o Background
       v Design Principles
          o Black-box Principle
          o Generosity Principle
          o Evalution Principle
       o Characterising BEE
       o How BEE runs
       o What is a BEE Web Site
    > CROFT
    > BEE Variables
    > BEE Syntax
    > BEE Commands
    > Database Operation
    > Content Management
    > Objects and Classes
    > Interface with others
    o Glossary
> Portal Object
> Development Guide


Shortcuts
sys Class
debug Class
Intrinsic Conversions
>> Reference >> Introduction >> Design Principles >> Generosity Principle <=  =>      <  1  >  
The Generosity Principle

Sharing of code is commonly required but not commonly archived.  The main obstacles towards code sharing is that too much knowledge about the environment is contained in every piece of codes, and when such environment changes, the piece of code needs to be rewritten.  As long as there require adaptations, there is no true sharing.

Object-orientedness solves this issue to a certain extent in separating the atomic pieces of codes.  In a web portal environment, we need to separate the business logics (the codes) and the appearance (the artwork), so that each client have their own "skin" and preferences, so that sharing can be archived beyond the code level.  We share applications, generosely:

  • HTML pages can be copied to or shared by different web sites without changes.  All client-dependent information including preferences, content, authentication and resource allocation are separated from the code (the CROFT and Scheme to be discussed later).

 

Previous Page       Next Page

Accsoft Computer Technology Pty Ltd     ABN: 98 065 617 549
PO Box 892, Epping NSW 1710         Level 1, Epping Office Park, 242 Beecroft Rd, Epping NSW 2121, Australia
Tel: Sydney - (02)98691668     National - 1300-881668         Fax: (02)98691866
© Copyright 2003 Accsoft Computer Technology Pty Ltd