home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / SG244883.ZIP / 1.3 < prev    next >
Text File  |  2001-01-27  |  10KB  |  166 lines

  1. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
  2. <HTML>
  3. <HEAD>
  4. <base href="http://publib.boulder.ibm.com:80/cgi-bin/bookmgr/BOOKS/EZ30OZ00/1.3">
  5. <title>
  6. 1.3 "OS/2 WARP and OpenDoc" 
  7.   via IBM BookManager BookServer
  8. </title>
  9. </head>
  10. <body background="/bookmgr/backdrop.gif">
  11. <banner><br>
  12. <a href="../../library"><img src="/bookmgr/libicon2.gif" border=0 alt="[Library]"></a>
  13. <a  href="CONTENTS#1.3"><img src="/bookmgr/contents.gif" border=0 alt="[Contents]"></a>
  14. <img src="/bookmgr/drevs.gif" border=0 alt="[Revisions]">
  15. <a href="1.2.2"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
  16. <a href="1.3.1"><img src="/bookmgr/next.gif" border=0 alt="[Next Topic]"></a>
  17. <a href="../../search?book=EZ30OZ00"><img src="/bookmgr/search.gif" border=0 alt="[Search]" ></a>
  18. <img src="/bookmgr/dslist.gif" border=0 alt="[Search Results]">
  19. <img src="/bookmgr/dsprev.gif" border=0 alt="[Prev Topic Match]">
  20. <img src="/bookmgr/dsnext.gif" border=0 alt="[Next Topic Match]">
  21. <img src="/bookmgr/dnotes.gif" border=0 alt="[Notes]">
  22. <img src="/bookmgr/dlnotes.gif" border=0 alt="[List Notes]">
  23. <a  href="../../print?book=EZ30OZ00"><img src="/bookmgr/print.gif" border=0 alt="[Print]"></a>
  24. <a href="../../download/EZ30OZ00.boo"><img src="/bookmgr/download.gif" border=0 alt="[Download]" ></a>
  25. <a  href="../../help/book"><img src="/bookmgr/help.gif" border=0 alt="[Help]"></a>
  26. <hr>
  27. <a name="HDR4610WWW"><H2> 1.3   The New Way of Working with OpenDoc</H2></a>
  28. </banner>
  29. <pre width="80">
  30.    With OpenDoc, consider the scenario in <a href="1.1#HDR4610WNW">"A New Way of Working" in topic 1.1</a> 
  31.    again.  OpenDoc builds applications from components that users add to the 
  32.    document.  These components are small pieces of software that are very 
  33.    good at particular tasks.  Thus, a software solution built using OpenDoc 
  34.    starts with the identification of the different tasks that you want to 
  35.    accomplish.  So, in this scenario we identify the following: 
  36. <p>
  37.    ░   Word processing component to create your letter 
  38. <p>
  39.    ░   Database component that holds your customer portfolios 
  40. <p>
  41.    ░   Mail-merge component to merge your addressing information with the 
  42.        letter 
  43. <p>
  44. <p>
  45. <p>
  46.    These three components are some of the common components that most users 
  47.    will use.  Just like other software packages, these components will be 
  48.    available from a number of vendors, but will also come in specific 
  49.    versions for particular application environments. 
  50. <p>
  51.    In this scenario, your word processing needs could be addressed by a 
  52.    component with functions equivalent to one of today's word processor 
  53.    products.  The word processing component does not need to be overly 
  54.    complex as you could add separate components for the specific tasks that 
  55.    you want to do.  The additional components are added by including other 
  56.    components into the OpenDoc document. 
  57. <p>
  58.    Inclusion of data from a database into an OpenDoc document can be 
  59.    accomplished by either of two means.  Database vendors may choose to 
  60.    implement only one or both of these approaches into their products.  The 
  61.    first approach is for the database vendor to provide a data access 
  62.    component for data retrieval.  This approach could allow an existing 
  63.    database product to quickly provide access to data already stored in an 
  64.    existing database.  The second approach is for the database vendor to 
  65.    design an OpenDoc component.  This component would provide a full range of 
  66.    OpenDoc interfaces.  This implementation allows for full integration of 
  67.    data from the database into an OpenDoc document without the need for the 
  68.    designer of the document to include special database handling routines. 
  69. <p>
  70.    This scenario does not assume that the different components of test 
  71.    editor, database, and mail-merge came bundled together from one vendor. 
  72.    If you consider this in terms of a suite environment, it means that it is 
  73.    very difficult if not impossible to include information into your document 
  74.    from applications outside the suite of applications.  In the OpenDoc 
  75.    environment, even if the word processor and mail-merge components come 
  76.    from different vendors, they will be able to work together since they both 
  77.    use the same underlying architecture or plumbing. 
  78. <p>
  79.    When you identify the text, database and mail-merge component that meets 
  80.    your feature requirements and supports OpenDoc, you are ready to put 
  81.    together your document. 
  82. <p>
  83.    To create a customized letter, first open up a new document with the word 
  84.    processing component as the root, or main component.  Write your monthly 
  85.    report text, including a field for holding the portfolio balance.  Link 
  86.    the field to the database, using the client number as the lookup key to 
  87.    retrieve the portfolio balance.  Complete the task of building your 
  88.    customized letter by connecting the mail-merge component to the letter and 
  89.    setting it up with your database of clients. 
  90. <p>
  91.    Considering the time required today to print letters for a large number of 
  92.    clients at a time, you may want to enhance your application so that you 
  93.    will not tie up the printer for long periods.  You could do this by 
  94.    writing a short script to control the printing.  Script is a high-level, 
  95.    English-like language that you would use to create your own custom 
  96.    components.  For example, the script could fetch a list of clients, 
  97.    instruct the word processor to create a new form letter for the first 10, 
  98.    then wait for 15 minutes before sending the next 10 until all the clients 
  99.    had been processed. 
  100. <p>
  101.    If a few months later your clients start requesting historical data on 
  102.    their accounts as well as recent prices of the stocks and mutual funds in 
  103.    their portfolio, OpenDoc gives you the flexibility to add more function to 
  104.    the letter that you have already developed.  To get the recent stock 
  105.    prices, using scripting you can add a component that hooks up to the Dow 
  106.    Jones industry average information source, determines what stocks and 
  107.    funds are part of a client's portfolio and adds this to the letter.  To 
  108.    satisfy the request for historical data, you can again use scripting to 
  109.    pull the portfolio balances from the database and then present the 
  110.    information in a graphical format using a charting component. 
  111. <p>
  112.    Scripting is one of the most important features in OpenDoc from a user 
  113.    perspective.  It provides the means to shape and customize your software 
  114.    to suit your changing needs.  The application suites available today have 
  115.    limited feature sets that will not change until upgraded versions of the 
  116.    applications are released.  In today's applications it is virtually 
  117.    impossible to expand their functionality without rebuilding the 
  118.    applications from the source code up.  With OpenDoc components, you are in 
  119.    control of your software.  You decide the precise set of functions you 
  120.    want, and bind the necessary software components together using scripts. 
  121.    Your applications are now specialized to fit your individual needs.  In 
  122.    some cases, vendors may provide prepackaged sets of OpenDoc components 
  123.    that satisfy common needs, but unlike today's applications, when you want 
  124.    to replace or add a component, you can simply snap in a new component and 
  125.    link it to other components using a simple scripting language.  You can 
  126.    also use scripts to mix-and-match components from different vendors to 
  127.    create the ideal software solution for your needs. 
  128. <p>
  129.    OpenDoc components will make applications more useful by doing the 
  130.    following: 
  131. <p>
  132.    1.  Incorporating content directly from its source instead of manually 
  133.        through cut and paste or retyping 
  134. <p>
  135.    2.  Adding new content easily 
  136. <p>
  137.    3.  Using a simple user-written script to automate a process 
  138. <p>
  139. <p>
  140.    This scenario illustrates some of the practical uses of OpenDoc.  What are 
  141.    the next steps for you?  How would you use OpenDoc?  Start by considering 
  142.    what are the most important tasks you perform, and what parts of your 
  143.    existing application enables you to accomplish those tasks.  Now you can 
  144.    select those OpenDoc components that will allow you to do the task.  Next, 
  145.    think of the features that are difficult to use, or don't exist, in the 
  146.    application set.  Now you can write your own components to make these 
  147.    features easier to use or add your own features.  For example, adding to 
  148.    the printing component another part that allows you to print envelopes or 
  149.    labels in a special format.  Creating OpenDoc solutions that will make it 
  150.    easier for you to accomplish your goals. 
  151. <p>
  152. <p>Subtopics:
  153. <ul>
  154. <li>  <a href="1.3.1"> 1.3.1 Document-Centric Computing</a>
  155. <li>  <a href="1.3.2"> 1.3.2 Compound Documents</a>
  156. <li>  <a href="1.3.3"> 1.3.3 OpenDoc the Solution</a>
  157. <li>  <a href="1.3.4"> 1.3.4 The OpenDoc Technology</a>
  158. </pre>
  159. </ul>
  160. <hr>
  161. <br><a href="1.2.2"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
  162. <a href="1.3.1"><img src="/bookmgr/next.gif" border=0 alt="[Next Topic]"></a>
  163. <cite>  ⌐ Copyright IBM Corp. 1996</cite>
  164. <HR><p><h6><a href="/cgi-bin/bookmgr/library">IBM BookManager« BookServer</a> Copyright 1989, 1999<a href="http://www.ibm.com/"> IBM</a> Corporation.  All rights reserved.</h6><p>
  165. </BODY></HTML>
  166.