home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 14 Text / 14-Text.zip / rexxqa.zip / REXXQA.TXT
Text File  |  1993-06-23  |  4KB  |  98 lines

  1.                      A Comparison of REXX vs. DeskMan/2
  2.  
  3. DeskMan/2 can generate REXX code to recreate objects.  What are the differences
  4. between object recreation with REXX code or object recreation with DeskMan/2.
  5.  
  6. What is REXX good for?
  7.  
  8. - REXX programs can NOT perform any Save operations.
  9. - REXX object manipulation capabilities are limited to:
  10.   o object creation
  11.   o object modification
  12.   o object deletion
  13.  
  14. REXX programs require that all manipulated WPS objects have a unique OBJECTID
  15. assigned.  Therefore, not only must every folder have an OBJECTID, but every
  16. object must also have an OBJECTID, if the objects are to be deleted or updated.
  17. Without an OBJECTID, objects being created by a REXX script on the WPS desktop
  18. will be duplicated every time the REXX script is run.
  19.  
  20. To assign OBJECTID's to existing WPS objects, one must use DeskMan/2.  To
  21. assign OBJECTID's to new objects, one may use REXX to specify the OBJECTID as
  22. the REXX script creates the object.
  23.  
  24. One problem, however, with creating too many OBJECTID's is that when an
  25. OBJECTID is assigned to an object, multiple entries are created in OS2.INI and
  26. OS2SYS.INI files. This will degrade the system performance and may lead to
  27. exhausting the WPS capacity to create new objects.
  28.  
  29. Assigning unique OBJECTID's to each and every object is NOT recommended by IBM.
  30.  
  31. The REXX object manipulation API does not interface directly with the WPS. This
  32. leads to problems, especially on systems below 2.1, and causes DUPLICATE
  33. objects being created, even if the FailIfExists or UpdateIfExists creation
  34. options are used.
  35.  
  36. The REXX programs rely on available object setup strings: there are no setup
  37. strings defined for many functions performed by DeskMan/2.
  38.  
  39. What's the difference?
  40.  
  41. DeskMan/2 is a native WPS application. It has access to all the information
  42. about every WPS object.
  43.  
  44.   o It can perform Save operations. Beyond the collection of all the
  45. information necessary for recreating the saved objects in the form of the setup
  46. strings, it also performs many additional functions, using private DeskMan/2
  47. setup strings.  Those setup strings can be utilized only if the Restore
  48. operation is performed by DeskMan/2 itself, online.  The private setup strings
  49. include information about:
  50.  
  51.     1. Shadows of Drives located on the Desktop
  52.  
  53.     2. Private classes registered with WPS and required for the saved objects
  54.  
  55.     3. Replaced object classes used by saved objects
  56.  
  57.     4. Real data files associated with the Data File objects located on the
  58. desktop
  59.  
  60.   o It allows the user to manipulate the WPS objects
  61.  
  62.   o It performs complex Restore operations.  DeskMan/2's restore
  63. operations are more complex than simple object creation or
  64. modification
  65.  
  66.   o Each restore operation includes a consistency check which serves
  67. two purposes
  68.  
  69.     1. It detects any objects which presence is necessary for given
  70. object to be recreated and which are missing on the desktop
  71.  
  72.     2. It establishes a hierarchical order among the objects being
  73. restored to assure a correct sequence in which they are being
  74. recreated
  75.  
  76.   o DeskMan/2 checks for the presence of private WPS classes which may be
  77. required for the objects being restored, and automatically registers them with
  78. the WPS if necessary
  79.  
  80.   o it also handles automatically the class replacement,
  81.     (note: Lotus, WordPerfect and some IBM applications make extensive use of 
  82.            private and replaced WPS classes),
  83.  
  84.   o DeskMan/2 does not depend on the unreliable approach of using
  85. OBJECTID for every WPS object. It utilizes a unique object title /
  86. class / location scheme which allows it to locate and detect
  87. duplicate objects. It will also locate objects, which may have been
  88. moved or copied to another location.
  89.  
  90.   o It will properly recreate shadows of disks/drives,
  91.  
  92.   o It allows SELECTIVE restore operations, without a need to modify
  93. the saved description file or REXX programs,
  94.  
  95.   o The Drag & Drop interface allows for dynamic location change,
  96.  
  97.   o It allows drives MAPPING.
  98.