home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / database / oracle / 1518 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  2.3 KB

  1. Path: sparky!uunet!psinntp!dlogics!hermes.dlogics.com!dlm
  2. From: dlm@hermes.dlogics.com
  3. Newsgroups: comp.databases.oracle
  4. Subject: Re: Object-Referencing Strategies
  5. Message-ID: <1992Sep7.113816.1306@hermes.dlogics.com>
  6. Date: 7 Sep 92 11:38:16 CST
  7. References: <1992Sep3.172635.105@datani.dk>
  8. Organization: Datalogics, Inc., Chicago, IL
  9. Lines: 44
  10.  
  11. In article <1992Sep3.172635.105@datani.dk>, la@datani.dk writes:
  12. > ...Object-Referencing is a way (as far as I can see) to ensure that changes 
  13. > will be reflected in the whole system, and as so just what I want.  
  14. > ...So I want to know:
  15. >     1. When is it a good idea ?. Advantages.
  16. >         - library forms???
  17. >         - for blocks 
  18. >         - for fields 
  19. >         - for triggers, procedures. 
  20. >
  21. It is always a good idea to collect procedures into library forms since in v6
  22. this is your only way to hide information about your objects. You can write
  23. procedures for validating every column used on any form, or for performing
  24. trigger actions. Then you will write procedure calls in your triggers instead
  25. of lots of pl/sql lines. To remain compatible with v7, i recommend that you 
  26. collect procedures in your library rather than triggers, fields, or blocks.
  27.  
  28. If the same block is used on many forms, consider writing it as a separate form
  29. and then call it when needed. Use global fields to pass parameters between such
  30. calls.
  31. >     2.  Drawbacks.
  32. >
  33. You will be obliged to observe very strict coding and naming standards so that
  34. procedures can reference block/field objects across all forms in which they are
  35. referenced. This is beneficial in any programming system.
  36.  
  37. Programmers will have to specify the userid of the library owner when
  38. generating, that is, they will not be able to enter "SQLFORMS30 /". Perhaps
  39. this is no problem for you.
  40.  
  41. >     3.  Experiences.
  42. I felt that sqlforms generation performance was seriously reduced when many
  43. small procedures were referenced (that is, generation was much slower). This
  44. may be a local response to our database conditions, or it may be universal.
  45. One solution may be to keep forms as short as possible (fewer screens per form,
  46. more forms) to reduce your development time.
  47. --
  48. Dave Mausner, Senior Consultant / Datalogics Inc / Chicago IL / 312-266-4450
  49. dlm@dlogics.com                                 Motto: Just show me the code
  50.