Debian Codegraph @

winfo/Futures/medium_term.shtml

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3
4 <HEAD>
5
6 <LINK rel=stylesheet type="text/css"
7 href="../acedocs.css"
8 title="Style sheet for general ace documents">
9
10 <title>ACEDB - in the Medium Term</title>
11 <meta name="keywords" content="acedb, future, plan, strategy, changes">
12 <meta name="description" content="Thoughts/ideas about how Acedb will develop in the future.">
13
14 </HEAD>
15
16
17 <BODY>
18
19 <h1>ACEDB - in the Medium Term</h1>
20
21 <A name="intro">
22 <FONT color="blue">
23 <H2>Introduction</H2>
24 </FONT>
25 </A>
26 These changes are mostly larger coding efforts that might take some months (years ?)
27 to complete.
28
29 <A name="cmdinterface">
30 <FONT color="blue">
31 <H2>A new command line interface</H2>
32 </FONT>
33 </A>
34
35 <p>Many of the commands available to acedb users via <CODE>tace</CODE> etc. have grown up in a slightly
36 <I>ad hoc.</I> way. ACEDB release 5 will present an opportunity to revise the structure of the command
37 interface. In particular there will be sets of command options for:
38 <UL>
39 <LI>maintenance
40 </UL>
41
42
43
44 <A name="acelib">
45 <FONT color="blue">
46 <H2>acelib</H2>
47 </FONT>
48 </A>
49 <p>The interface to the acedb database is a bit adhoc and requires a programmer to
50 know serveral different 'subsystems' of calls to open the database and read/write
51 information to it. The idea behind acelib is to provide a more consistent database
52 interface to make applications easier to write and provide more power to the
53 applications (e.g. having more than one database open at a time).</p>
54
55 <P>The production of acelib will require:
56 <DL>
57 <DT>Cleaning up the name space, including:
58 <DD>
59 <UL>
60 <LI>deciding what is and what is not the kernel.
61 <LI>choosing a prefix for use in the code (e.g. ace)
62 <LI>renaming all #define symbols (whether defining values or macros)
63 to start with the prefix from above
64 <LI>renaming all external symbols (whether variables or functions)
65 to start with the prefix from above
66 <LI>ensuring all include files are guarded against multiple inclusion
67 <LI>changing inclusions of acedb header files to be of the form
68 #include <wh/name.h> so that the header file is qualified with an
69 acedb include directory name and becomes part of the standard search
70 list of include directories
71 <LI>Restructuring header files into those that are for 'internal' use
72 by kernel code only and those that are for external use by applications.
73 </UL>
74 <DT>Removal of statics/globals and introduction of 'context'
75 <DD>currently much acedb code uses a crude 'object' model whereby a package holds
76 instance data in static variables (both local and global). While in one sense
77 this provides 'objects' it has a number of drawbacks:
78 <UL>
79 <LI>it is not reentrant so like strtok in the C stdlib, the packages must
80 be used carefully
81 <LI>it is not thread safe
82 <LI>it means that only one database can be open at a time
83 </UL>
84 A better approach is to get the application to create a 'database' context which
85 it passes as a parameter to each call for operation on the database (see X Windows,
86 X Toolkit etc). This way the database code does not need to hold any 'context' information
87 for a particular database.
88 <DT>POSIX conforming
89 <DD>the library should use POSIX conforming system calls to make porting it
90 to other platforms as easy as possible. This will become increasingly important as
91 POSIX compliance becomes more complete.
92 </DL>
93
94 <A name="aql">
95 <FONT color="blue">
96 <H2>aql</H2>
97 </FONT>
98 </A>
99 <p>A beta test version is available in ACeDB 4_8.</p>
100
101 <A name="perl">
102 <FONT color="blue">
103 <H2>Ace perl</H2>
104 </FONT>
105 </A>
106 <p>Need some information from Lincoln.</p>
107
108 </body>
109 </html>