~ubuntu-branches/debian/sid/kexi/sid

« back to all changes in this revision

Viewing changes to src/doc/dev/kexi_guidelines.txt

  • Committer: Package Import Robot
  • Author(s): Pino Toscano
  • Date: 2017-06-24 20:10:10 UTC
  • Revision ID: package-import@ubuntu.com-20170624201010-5lrzd5r2vwthwifp
Tags: upstream-3.0.1.1
Import upstream version 3.0.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
PROPOSAL: Generic Guidlines For Kexi Development
 
2
 
 
3
Jarosław Staniek
 
4
started: 2003-06-25
 
5
 
 
6
Idea 1
 
7
Add tests for command line-only operations using kexiDB library.
 
8
These tests can be later turned to command line options for Kexi what will allow non
 
9
GUI operations o databases/projects.
 
10
 
 
11
Idea 2
 
12
Look at QSQL module from QT. E.g. there is efficient cursor feature (it works quite good with mysql).
 
13
We have KexiDBRecordSet instead, but this is just the same thing.
 
14
In fact many KexiDB features are compatible with QSQL.
 
15
Focus on:
 
16
- avoid loading all result data to client memory (fetch some records instead)
 
17
- avoid blocking operations (do asynchronously as many things as possible)
 
18
- avoid memory copying (at low level try to store original char* data instead of QString,
 
19
  convert to QString only on data displaying)
 
20
 
 
21
Idea 3
 
22
Directories layout:
 
23
dialogs/
 
24
+-altertable/
 
25
+-datatable/
 
26
+-queryeditor/
 
27
+-sqleditor
 
28
 
 
29
widgets/
 
30
+-tableview/
 
31
+-datatableview/
 
32
 
 
33
Idea 4
 
34
Classes naming guidelines:
 
35
'Dialog' suffix for all classes