docs/README-Sequence
author rejo
Tue, 17 Apr 2007 19:43:24 +0000
changeset 4 55ed92aa7cf5
parent 1 58094faf794d
permissions -rw-r--r--
[feladat @ 5] - Second half of translation framework. - Several small typo's in code fixed. - Removed comments on a todo in leveldescription(), already done. - Replaced dal.inc.php with DB.php from package DB-1.7.6 from pear.php.net to fix problems using poweradmin 1.2.7-patched with php5/pear. The DB package has already been superseded by MDB2, but that version is incompatible with current code.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     1
1. What is the Sequence Updater
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     2
-------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     3
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     4
The Sequence updater is written to synchronize your PowerAdmin/DNS database 
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     5
after you have manually inserted records into it. 
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     6
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     7
2. Why do I need that?
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     8
-------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     9
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    10
Because PowerAdmin uses the php-PEAR::DB library it is using sequence numbers. 
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    11
A sequence number simply tells the application what will be the next ID 
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    12
for insertion. Some of the mysql users are now shouting auto_increment.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    13
Yes auto_increment, but we cant use this here because we plan to use 
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    14
PostGreSQL or Other db's that dont have auto_increment so we are stuck to
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    15
using sequence numbers.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    16
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    17
3. What does this mean?
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    18
-------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    19
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    20
This means that if you dont run this tool after you have been manually adding
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    21
records, your database might be corrupted and PowerAdmin might be kicking
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    22
you back with a lot of errors.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    23
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    24
4. Ok, I got it, now what?
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    25
-------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    26
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    27
Put this file in your PowerAdmin directory. Login into PowerAdmin using the normal
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    28
system. Now go to the url where you put it and done, the sequence numbers are
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    29
updated.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    30
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    31
5. Future versions
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    32
-------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    33
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    34
In all versions higher than 1.1.2 this function will be automatically there for
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    35
administrators.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    36
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    37
6. Contact
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    38
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    39
6. Further Info && Bugs
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    40
------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    41
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    42
To contact us we refer you to http://www.poweradmin.org/ for the latest
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    43
contact information.
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    44
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    45
7. Links and more information
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    46
------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    47
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    48
http://www.poweradmin.org l     Our main site
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    49
http://www.powerdns.com         PowerDNS
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    50
http://www.ietf.org             Information about DNS
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    51
http://poweradmin.sf.net        PowerAdmin @ SourceForge
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    52
http://www.apache.org/          The Apache Webserver
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    53
http://www.php.net/             PHP programming language
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    54
http://www.mysql.com/           MySQL database server
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    55
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    56
--------------------------------------------------------------------------
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    57
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    58
Regards,
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    59
The PowerAdmin Team
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    60