n-tier design

Author: Andy Davies

Posted: 2006-10-18 at 11:51:39

I occasionally get some stick for being a dinosaur, so I decided my next

app would be properly oop.

I have trouble deciding the build order of the layers (based on what an

object could/should know about other objects, and in particular how to map

n-tier design onto the vfp world view.

So I resorted to the web - only to find (again) that there seems to be no

consensus on what *practically* to do, all discussions seem to degenerate

into angels-on-a-pin abstract navel gazing.

Several bods (some eminent) having a tired heresy-fest here:

http://fox.wikis.com/wc.dll?Wiki~FourTierArchitecture~softwareEng

Who can fit the pegs into the holes?

Holes:

UI layer

Businees [Rules] layer

Data Management layer

Data Layer

Pegs (for this game):

main.prg

oApp / App Class

Class Libs

Proc/ Fn libs

Bizobj(s)

DataObj(s)

Cursors

CursorAdapters

Data Environment

Datasession(s)

Top Level Forms

Forms

Controls

rdbms

tables

relations, constraints, SP's

The_Programmer

Use your skill and experience to build an understandable, functional,

maintainable design using some or all of the objects provided !!!

The addition of themes, alpha transparency, voice recognition/ response,

email, braille and AI is left as an exercise for the more seriously

deranged reader <s>.

Andrew Davies  MBCS CITP

  - AndyD        8-)#

**********************************************************************

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.

This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses.

Please contact internet.administrators@manchester.gov.uk with any queries.

**********************************************************************

©2006 Andy Davies