Changes between Version 5 and Version 6 of BluePrint/Synchronisation


Ignore:
Timestamp:
12/23/08 21:22:04 (16 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/Synchronisation

    v5 v6  
    44 * http://wiki.sahana.lk/doku.php?id=doc:sync:english
    55
    6 In S2 this is done by record ids being UUIDs (Universally Unique IDs) built from each instance's 'base_uuid'
     6This can be done in Web2Py using UUIDs (Universally Unique IDs) & CSV Export/Import:
     7 * http://groups.google.com/group/web2py/browse_thread/thread/c08d1b05ddda672c
     8
     9{{{
     10import uuid
     11SQLField('uuid',default=str(uuid.uuid4()))
     12}}}
     13
     14CSV import/export threads:
     15 * http://groups.google.com/group/web2py/browse_thread/thread/be927ccf4d9745d2/637e45ccc2cf2583
     16 * http://groups.google.com/group/web2py/browse_thread/thread/55d923a51eca2c90
     17
     18other related threads:
     19 * http://groups.google.com/group/web2py/browse_thread/thread/af3f7ad5271a10c6/c5e96141c13a29ad
     20 * http://groups.google.com/group/web2py/browse_thread/thread/7d639c98b5b8dcd2/c0fe17ccbdd12eb7
     21
     22There is a simple 1-table example appliance which has the ability to do syncs via XML-RPC:
     23 * http://mdp.cti.depaul.edu/appliances/default/download/app.source.312926207134.txt
     24
     25
     26In S2 the record ids are UUIDs built from each instance's 'base_uuid'
    727
    828There is a sync_instance table:
     
    1939}}}
    2040
    21 
    22 Web2Py users have tried to solve the same issue:
    23  * http://groups.google.com/group/web2py/browse_thread/thread/af3f7ad5271a10c6/c5e96141c13a29ad
    24 
    25 Inc through UUIDs:
    26  * http://groups.google.com/group/web2py/browse_thread/thread/7d639c98b5b8dcd2/c0fe17ccbdd12eb7
    27 
    28 {{{
    29 import uuid
    30 SQLField('uuid',default=str(uuid.uuid4()))
    31 }}}
    32 
    33 There is a simple 1-table example appliance which has the ability to do syncs via XML-RPC:
    34  * http://mdp.cti.depaul.edu/appliances/default/download/app.source.312926207134.txt
    35 
    36 We can use CSV to do database synchronization:
    37  * http://groups.google.com/group/web2py/browse_thread/thread/be927ccf4d9745d2/637e45ccc2cf2583
    38  * http://groups.google.com/group/web2py/browse_thread/thread/55d923a51eca2c90
    39 
    40