Implementation

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

CachéRDD implementation is a two-part process

1.  Server-side Installation
2.  Client-side Linking

Server-side Installation

1.Download Caché Database from http://www.intersystems.com.
2.Install Caché Database with defaults on your local mchine as evaluation version is restricted to access localhost only.
You may upgrade to full installation as you may deem fit later on.
3.From the Caché Cube, visible on the taskbar if installation is successful, select <System Management Portal>.
4.Create a new database "CACHERDD" from <System Administration><Configuration><Local Databases><Create a New Database> with default settings.
5.Create a new namespace "CACHERDD" from <System Administration><Configuration><Namespaces><Create New Namespace> and select "CACHERDD" database from the dropdown list. Keep all other parameters as defaults.
6.Dismount "CACHERDD" database from <Operations><Databases>[CACHERDD]->Dismount.
7.Download "CachéRDD" distribution kit from the link below and install it on your machine with defaults.
8.Copy from <\CachéRDD\database\cache.dat> to <\CachéSys\mgr\CACHERDD\>.
OS will prompt you that file with the exiting name already exists, just let it overwrite.
9.Mount "CACHERDD" database from <Operations><Databases>[CACHERDD]->Mount.
10.Create another database and namespace of your choice which will hold your application data.
11.Ensure that CACHERDD database has never to hold any application specific data as it will be updated with every release of CachéRDD.

Client-side Linking

1.Default CachéRDD installation distribution will create the following tree:
\cacherdd\
  cachemgr.xhp
  gtwvg.env
  bin\
     cachemgr.exe
     bcbind.dll
     cacheodbc.dll
     cppbind_msvc80.dll
     database\
        2007\
           cache.dat
        52\
           cache.dat
  help\
     cacherdd.chm
  include\
     cacherdd.ch
     cachemgr.ch
  lib\
     bcbind.lib
     cacherdd.lib
  source\
     cachemgr.prg
     dbbrowse.prg
     forms.prg
     mytable.prg
     queries.prg
     tablemng.prg
     vouui.prg
2.Execute "Caché Manager" executable cacherdd\bin\cachemgr.exe with these paarmeters, viz.,
ServerIP[ 127.0.0.1 ], ServerPort[ 1972 ], Namespace[ USER ], UserName[ _system ], Password[ SYS ] :
cachemgr.exe 127.0.0.1 1972 USER _system SYS
cachemgr xMate project is included which is self explanatory how to assemble everything in your application.
3.The 3 DLL's in \bin folder will always reside along with your executable in the same folder.

Page url: http://www.vouch.info/cacherdd/index.html?cache_implementation.htm