home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / t / tornado / Guide / Intro < prev    next >
Encoding:
Text File  |  1995-09-23  |  6.2 KB  |  125 lines

  1. Extremely easy-to-read Tornado documentation.
  2.  
  3. by N. Douglas.
  4.  
  5. Last update was Saturday 23rd of Septemeber 1995.
  6.  
  7. Introduction
  8. -=-=-=-=-=-=
  9.    As anyone who knows me will testify, I don't particularly like RO3.1 or
  10. anything of that thereafter. There's a simple reason to this: I think RO2 was
  11. the last great update to RISC-OS, and since then there's been nothing added
  12. to the OS.
  13.    That's why I came up with Tornado. About 80% IMHO of programs written for
  14. RISC-OS are written for the desktop environment, and yet the method of using
  15. the desktop and writing for it are arcane and haven't changed greatly since
  16. RISC-OS 2.
  17.    The entire philosophy of writing for Tornado is different. You no longer
  18. write applications as programs in their own right. You write code which
  19. defines your program as what you want it to be. You don't write code to
  20. redraw windows, you don't write code to open menus, you don't write code to
  21. load or save files. You don't write code to manage memory. You don't write
  22. code to recognise the difference a double click from a triple click. You
  23. don't even write code to load in your user-defined configuration.
  24.    The whole thing about Tornado that will scare most programmers is how
  25. little you /do/ do. And the great advantage of that is that the Tornado
  26. operating system suddenly has a lot of power over every app using it - and
  27. the great advantage of this is it allows applications to function as a single
  28. unit in a fashion never before seen on ANY platform.
  29.    And despite all this automation, Tornado increases the power available to
  30. a task by incredible amounts. Suddenly, things like printing no longer take
  31. over the desktop. Tornado applications can just as easily print five files,
  32. while recalculating a spreadsheet and converting a set of files from GIF to
  33. JPEG *on* *a* *1Mb* *machine* (it uses virtual memory) as allow you to
  34. move the mouse around the screen. And this BTW, _doesn't_ require any
  35. applications loaded in other than a single spreadsheet.
  36.    Tornado offers processing occurring on a task at multiple levels, via a
  37. mixture of multithreading multiprocessing and its TAOS-like subtask
  38. facilites. Files loaded into one application can appear in another
  39. application's window without consuming any extra memory, and any operations
  40. performed on one 'view' affect all other 'views', as actually they are all
  41. multiple views of the same file [1]. Files can be OLEd and RAM transferred to
  42. and from any app, including non-Tornado one's (although OLEing between
  43. Tornado apps is _much_ more pleasant and convenient).
  44.  
  45.    The foremost objective of Tornado /is/ /to/ /increase/ /productivity/.
  46. Above all else, it will do this to its fullest extent. The second objective
  47. is to be frugal with resources ie; be quick & responsive, not consume vast
  48. amounts of memory to do simple operations (like certain PC GUIs), and not to
  49. take up vast stretches of disc space. The tertiary objective is to remove as
  50. much programming time from the programmer as possible, and to make life on
  51. him/her as easy as possible.
  52.  
  53. [1] It would seem some people don't quite understand this. A view of a file
  54. is updated in all views if any of the views are altered (this might seem like
  55. it's slow, but remember that while all the displays are updated, you can
  56. work on as tornado multitasks during window redraws, unlike RISC-OS). Note
  57. also that a view can be marked as a seperate file - and should the view
  58. marked so be altered, it is made into its own copy, delinked from the other
  59. views and then altered. This way, memory isn't wasted on multiple copies of
  60. the same file.
  61.    I'll also mention here that loading a file into one app, and then the same
  62. file into another will make tornado actually consider both files to be the
  63. same (and thus one a view of the other) - using only one copy of the file -
  64. but should either be changed, they are then delinked and two copies appear in
  65. memory.
  66.  
  67.  
  68.  
  69. Index
  70. -=-=-
  71. 1: What is tornado exactly?
  72. 2: Memory management
  73. 3: The tornado shell
  74. 4: Crash protection
  75. 5: Subtasks
  76. 6: File renderers
  77. 7: I/O, OLE and hotlinking
  78. 8: Things tornado will *not* do for you
  79. 9: Misc
  80.  
  81.  
  82.  
  83.  
  84. Well, unfortunately, as always, here's the copyright notice:
  85. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  86. (Note, you don't /have/ to read it, but not reading it means you are still
  87. usually under its influence - read it to find out!)
  88.  
  89.    Copyright for absolutely everything described, implicated or inferred to
  90. (ideas included), whether intentionally or not, within the data as contained
  91. within the unaltered copy of this archive remains with me Niall Douglas, if
  92. so granted by the laws of the country in which you are reading this;
  93. otherwise, copyright remains with me for the same as aforementioned above up
  94. to and including that which is deemed maximum by the laws of the country in
  95. which you are reading this.
  96.    The reader is permitted to distribute this archive wherever he/she
  97. chooses, so long as it remains unaltered and its archived state. Any
  98. recipient of this archive is also bound by these copyright restrictions from
  99. the moment of posessing a copy of the archive whether he/she has read these
  100. restrictions or not, unless this statement and the statement previous to that
  101. cannot be upheld by the laws of the country in which the copy of this archive
  102. is being held, in which case the aforementioned statements as written above
  103. in this paragraph are stated to be in force up to and including that which is
  104. deemed maximum by the laws of the country in which the copy of this archive
  105. is residing.
  106.    I take this opportunity to declare no responsibility for any inaccuracies,
  107. misleading statements (whether intentional or otherwise) or any other liable
  108. information or statements, unless this resolution cannot be upheld by the
  109. laws of the country in which this archive is being held, in which case the
  110. aforementioned statements as written above in this paragraph are stated to be
  111. in force up to and including that which is deemed maximum by the laws of the
  112. country in which this archive is residing.
  113.   By reading these restrictions, or having the ability to read them (whether
  114. it be direct or indirect), you are agreeing to be bound by them. Again, this
  115. is unless this statement cannot be upheld by the laws of the country in which
  116. the copy of this archive is being held.
  117.  
  118. (C) Niall Douglas 1995
  119.  
  120.  
  121.  
  122.  
  123.  
  124. BTW, before anyone asks, no - I haven't done law yet :-)
  125.