~ubuntu-branches/ubuntu/hardy/gnue-common/hardy

« back to all changes in this revision

Viewing changes to doc/technotes/00004.txt

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Mitchell
  • Date: 2005-03-09 11:06:31 UTC
  • Revision ID: james.westby@ubuntu.com-20050309110631-8gvvn39q7tjz1kj6
Tags: upstream-0.5.14
ImportĀ upstreamĀ versionĀ 0.5.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Title: GNUe Client startup sequence
 
2
Status: Current 
 
3
 
 
4
Client [GClientApp()] created and run [.run()]
 
5
  |
 
6
  +-- GClientApp parses command line arguments and handles debugging, 
 
7
  |   profiling, help, and versioning.
 
8
  |
 
9
  +-- Login Handler [LoginHandler()] setup by UI
 
10
  |
 
11
  +-- Connections Manager created [GConnections()]
 
12
  |     |
 
13
  |     +-- Reads the Connections Definition File.
 
14
  |     |
 
15
  |     +-- Stores a reference to the Login Handler for future use.
 
16
  |
 
17
  +-- Object File is loaded [GParser.loadXMLObject()]
 
18
  |     |
 
19
  |     +-- Root Object created and returned.
 
20
  |     |
 
21
  |     +-- In root object, Connections Manager is set.
 
22
  |          |
 
23
  |          +-- Data Sources [GDataSource()] ask connections manager for 
 
24
  |              a dbdriver [GDataObject()] based on their type and 
 
25
  |              connection name.
 
26
  |      
 
27
  +-- All objects are initialized from the top down.
 
28
  |     |
 
29
  |     +-- For each Data Source, Client App asks Connection Manager for 
 
30
  |         a data connection for the Data Source's dbdriver.
 
31
  |           |
 
32
  |           +-- If no data connection exists, Connection Manager...
 
33
  |                 |
 
34
  |                 +-- ... asks the Data Source to ask the GDataObject
 
35
  |                 |   what needs to be input from the user to login
 
36
  |                 |   to the database (usually, user/pass)
 
37
  |                 |
 
38
  |                 +-- ... sends a message to the Login Handler asking
 
39
  |                 |   for the required fields.
 
40
  |                 |     |
 
41
  |                 |     +-- Login Handler prompts the user for fields
 
42
  |                 |
 
43
  |                 +-- ... tells the Data Object to attempt a login
 
44
  |                 |
 
45
  |                 +-- ... gets the data connection from the Data Object
 
46
  |                     and saves it for future data sources.
 
47
 
 
48