home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / oracle / 1429 < prev    next >
Encoding:
Text File  |  1992-08-30  |  8.8 KB  |  210 lines

  1. Newsgroups: comp.databases.oracle
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!csus.edu!netcom.com!tcox
  3. From: tcox@netcom.com (Thomas Cox)
  4. Subject: Regenerating SQL*Forms with CASE
  5. Message-ID: <94gn3!-.tcox@netcom.com>
  6. Date: Sun, 30 Aug 92 22:02:13 GMT
  7. Organization: Netcom - Online Communication Services (408 241-9760 guest)
  8. Followup-To: comp.databases.oracle
  9. Lines: 199
  10.  
  11. This is a LONG note.  It follows up several points various people have
  12. made about the difficulty of re-generating a form (from SQL*Forms)
  13. from the Oracle CASE tools.
  14.  
  15. The basic problem stated was this: a generated form may come out about
  16. 80% complete (YMMV).  You can then customize it.  But if anything in
  17. your CASE design changes, you'll want to re-generate that form to
  18. include the new design elements.  Woops -- your custom work just got
  19. overwritten. 
  20.  
  21. I suggested that the newer version of the Oracle CASE Generator for
  22. forms (version 2 of the generator) was supposed to solve this, by
  23. nondestructively re-generating the form.  This claim was met with a
  24. certain healthy skepticism (included here):
  25.  
  26. jaakola@cc.helsinki.fi writes:
  27.  
  28. >What does this 'nondestructively' mean? How generator v2 checks which
  29. >parts have been hand-modified?
  30.  
  31. >What if the CASE logical model and hand-modifications contradict? Which
  32. >change takes presedence? Can I specify that I want to keep this
  33. >piece of hand-modification and replace this hand-modification with the
  34. >changes implied by the new CASE model?
  35.  
  36. >Is the technique foolproof?
  37.  
  38. >No, I don't have a manual at hand. Neither do I wish to hear any
  39. >marketing vaporware - I would like to hear a precise technical answer,
  40. >if possible.
  41.  
  42. >Juhani Jaakola
  43. >jaakola@cc.helsinki.fi
  44.  
  45. Here is the answer that I (and Juhani) received from Oracle UK:
  46.  
  47.     ----begin-forwarded-message----
  48.  
  49. .From sstow@uk.oracle.com Thu Aug 27 08:24:23 1992
  50. .From: "Simon Stow - - CASE Worldwide Marketing" <sstow@uk.oracle.com>
  51. Subject: Customization of SQL*Forms
  52.  
  53.  
  54. Steve, Anil, Tom, Juhani,
  55.  
  56. I'm sorry but I am unable to contribute directly to the NeWs group
  57. comp.databases.oracle directly. [He agreed to my posting this for him.  --Tom]
  58.  
  59. You raise a number of interesting (to me at least) issues regarding
  60. the generation of SQL*Forms applications using CASE*Generator for
  61. SQL*Forms. I would like to try and provide some (helpful) answers.
  62.  
  63. Firstly, as to that horrible rumour about INP files. I too have heard
  64. this. I agree with Steve Schow (sjs@netcom) and his liking for the INP
  65. file. We too store forms as INP files and use RCS etc to manage them.
  66. The latest I have heard is that there will be a readable file storage
  67. of SQL*Forms applications.  However, exactly *how* readable that will
  68. is not yet clear (to me at least).  It seems that, at the very least,
  69. it will not have a format that is familiar to those of us who have,
  70. over the years, cracked the INP file format and revel in our ability
  71. to explain what ``**Y'' meant in a V2 INP file. This is not a "ploy to
  72. get us to buy their CASE tools", honest. If it was I'm sure they'd
  73. make the SQL*Forms Designer's interface totally unusable. Now they
  74. (we?) wouldn't do that would they (we?).
  75.  
  76. Tom Cox pointed out how CASE*Generator for SQL*Forms V2 copes with
  77. customizations made post-generation. Not unnaturally, Juhani Jaakola,
  78. requested not to " hear any marketing vaporware - I would like to hear
  79. a precise technical answer, if possible."
  80.  
  81. Well, I may be in marketing now, but I used to develop Oracle's CASE
  82. products (in fact, I designed both versions of the generator). And I
  83. do have a technical paper describing the process of regeneration in
  84. some technical detail. If you would like a copy please send me your
  85. address and I will put a copy in the post. (It's more than 30 pages
  86. long so I can't fax it to you.)  
  87.  
  88. [Please DON'T do this -- as a condition of posting, Simon asked me to
  89. change the method of delivery slightly.  See the end of the note.
  90. --Tom]
  91.  
  92. The bottom line is that regeneration does work and does preserve your
  93. post-generation customizations; we have some success stories from real
  94. users.
  95.  
  96. You might also like to know that the Oracle CASE team are working hard
  97. on the development of a version of CASE*Generator for SQL*Forms to
  98. support SQL*Forms V4. This should be available shortly after SQL*Forms
  99. V4 itself becomes available. Continuing to manage your forms
  100. development using CASE should therefore be your way out of the forms 3
  101. -> forms 4 migration problem.
  102.  
  103. Anil, your use of awk to customize your forms suggests that you are
  104. making the same customization to each form. If you are using
  105. CASE*Generator for SQL*Forms V2 you might consider using the template
  106. form for this. Code added to this form is automatically included by
  107. CASE*Generator in each generated form.
  108.  
  109. Regards
  110.  
  111.     Simon Stow                   Internet:    sstow@uk.oracle.com
  112.     Product Manager             UUCP:    !uk.oracle.com!sstow
  113.     CASE Worldwide Marketing     Usenet:    uunet!oracle!sstow
  114.     Oracle UK             
  115.  
  116.     ----end-forwarded-message----
  117.  
  118. [If you want to get the 30+ page paper Simon talked about, here are
  119. several ways to do it:
  120.  
  121. USA: call Oracle at 800-ORACLE-1 and ask for part number 52493-0192.  
  122. Non-USA: call your local Oracle office; ask for "        "  .
  123. Can't find local office:  send paper-mail address to
  124.     tcox@us.oracle.com and I'll send you a copy via paper mail.
  125. -- Tom]
  126.  
  127. As a followup to some more detailed questions, Simon also wrote the
  128. following, which he also agreed to let me post here.  The plain text
  129. is from <jaakola@cc.helsinki.fi>, and Simon's comments are here
  130. prefixed with "S> ".
  131.  
  132.     ----begin-forwarded-message----
  133.  
  134.  
  135. I think CASE will be a major player in future software development, and
  136. I think lower CASE (that is, generators) will be the most important
  137. productivity booster. I have liked Oracle CASE products so far (even the
  138. generator v1 - haven't seen v2 live yet), especially the smooth
  139. integration of upper CASE - lower CASE - Oracle tools. At least the
  140. "marketing hype" goes to the right direction.
  141.  
  142. [S> == Simon]
  143.  
  144. S>  V2 really is (no marketing hype) an enormous improvement on V1, in terms of
  145. S>  added functionality and configurability
  146.  
  147. The hand-made customizations would be of the following classes:
  148. - translating automatically generated english messages into finnish
  149.   (can I accomplish this via preferences or templates or something else
  150.   BEFORE generating my zillion forms)
  151.  
  152. S>  Yes, In v2 there is a preference (NATLNG) which allows you to specify which
  153. S>  language (any one of 15 or so European languages eg Finnish, German,
  154. S>  Polish) the generator is to use when generating text that the end user
  155. S>  of the generated form will see
  156.  
  157. - customizing block synchronization
  158.   (but aren't there preferences i.e. can I choose from a set of possible
  159.   ways during generation?)
  160.  
  161. S>  V2 offers many more options for block synchronization including one to
  162. S>  allow the end user of the generated form to toggle automatic querying
  163. S>  on and off
  164.  
  165. - implementing complex logic such as arithmetical constraints or
  166.   arithmetical dependencies
  167.  
  168. S>  V2 offers support for derived fields and columns, and constraint checking.
  169. S>  Currently these are limited in their scope in that they can only refer
  170. S>  to columns and fields in the current record or in records in the 'logical
  171. S>  horizon of the current record (i.e. lookup fields via foriegn keys on 
  172. S>  the current record.)
  173. S>  For example you can have total_price derived from the expression
  174. S>  total_price = quanity * unit*price
  175. S>  or say that the constraint end_date >= start_date must be applied to
  176. S>  all inserts or updates.
  177.  
  178. I would prefer doing the abovementioned customizations via preferences
  179. in the CASE*Generator. Are there such "preferences" in CASE*Generator?
  180.  
  181. S>  Indeed there are about 140 of them
  182.  
  183. Have you tried to classify possible customizations in order to make such
  184. preferences? Having a rich set of such preferences should eliminate most
  185. laborous hand-customizations.
  186.  
  187. S>  One major activity during design of the generator was to look at the 
  188. S>  various different ways that forms builders used SQL*Forms. Where
  189. S>  possible we then offered preferences to allow the generator user
  190. S>  to create forms in the style of their choice. In particular, there any
  191. S>  many new preferences controlling the look and feel of generated forms.
  192. S>  Preferences have developed into a sort of 'on-line standards manual' for
  193. S>  forms developerd.
  194.  
  195. Sorry I don't have CASE*generator v2 manual, so I can just check it
  196. myself. I have talked with Oracle Finland reps and I have a vague
  197. understanding that v2 should have such "preferences".
  198.  
  199. S>  I hope some of the stuff I have sent you will help answer more questions.
  200. S>  If not mail me again.
  201.  
  202.     ----end-forwarded-message----
  203.  
  204. That's it.  I told you it was long.  Flames to me -- leave Simon
  205. alone! :-)
  206.     -- Tom
  207. -- 
  208. Tom Cox      DoD #1776   '91 CB 750 Nighthawk   tcox@netcom.netcom.com
  209. Yeah, I have a day job.  They don't believe me any more than you do.
  210.