home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Examples / DatabaseKit / PubsDemo / English.lproj / PubsDemo.nib / data.nib (.txt) < prev   
Encoding:
NeXT TypedStream Data  |  1993-07-14  |  8.4 KB  |  208 lines

  1. typedstream
  2. IBObjectData
  3. Object
  4. CustomObject
  5. Application
  6. Button
  7. Control
  8.     Responder
  9. [11@]
  10. ButtonCell
  11. ActionCell
  12. Helvetica-Bold
  13.     Helvetica
  14. Delete
  15. Matrix
  16. @:@iiii
  17.     Ascending
  18. NXImage
  19. NXradio
  20. NXradioH
  21. Descending
  22. ff@@#::s
  23. Radio
  24.     TextField
  25. TextFieldCell
  26. Sort Order:
  27. *Select Authors in:
  28. (Null means select all)
  29. State:
  30. DBTableView
  31. ScrollView
  32. ClipView
  33. DBGridView
  34. i@@@@@
  35. DBLayout
  36. @@ffcii
  37. DBTableVector
  38. iiff*@@@
  39. lastName
  40. DBEditableFormatter
  41. DBFormatter
  42.     firstName
  43. yearToDateSales
  44. DBHeadingView
  45. DBHeadingCell
  46. Scroller
  47. _doScroller:
  48. @@@ffs
  49. i@@@@@::
  50. FormCell
  51.     lastName:
  52. firstName:
  53.     authorID:
  54. address:
  55. city:
  56. state:
  57. zipCode:
  58. phone:
  59.     contract:
  60. Field:
  61. Insert
  62. Select
  63. NXreturnSign
  64. MenuCell
  65. Paste
  66. Copy'
  67. Select All'
  68. ciifffcfffs
  69. [3820c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;\f1\fnil Times-Roman;}
  70. \margl40
  71. \margr40
  72. {\colortbl;\red0\green0\blue0;}
  73. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b\i0\ulnone\fs36\fc0\cf0 PubsDemo\
  74. \b0\fs24 by Mai Nguyen, NeXT Developer Support Team\
  75. \b\fs28 Overview
  76. \b0\fs24 \
  77. In order to run this example, you need to have a SYBASE server with a pubs database installed.  The pubs database is a sample database provided with the SYBASE limited server package.  The  
  78. \b SybaseDemo.dbmodela
  79. \b0  from /NextDeveloper/Examples/DatabaseKit/models  is used to establish the proper connections between the database model and the Database Kit UI Objects.\
  80. The purpose of this example is to show you how to quickly put together a simple database application without much programming by taking advantage of the Database Kit UI Objects such as DBTableView and DBModule.\
  81. After you are properly connected to the Sybase server, you can perform operations such as 
  82. \b Select
  83. \b0 , 
  84. \b Insert
  85. \b0 , 
  86. \b Save
  87. \b0  or 
  88. \b Delete
  89. \b0 .  Note that an 
  90. \b Insert
  91. \b0  or 
  92. \b Delete
  93. \b0  won't take effect in the database until a 
  94. \b Save
  95. \b0  operation is performed.  All operations such as 
  96. \b Save
  97. \b0 , 
  98. \b Delete
  99. \b0  and 
  100. \b Select
  101. \b0  are almost done without any coding. For simplicity's sake, there is no verification of the data entered via the FormCells for a 
  102. \b Save
  103. \b0  or 
  104. \b Insert
  105. \b0  operation.\
  106. \b\fs28\fc1\cf1 Preferences Setting\
  107. \b0\fs24 \
  108. You can retrieve the data in ascending or descending order by selecting the Sort Order with the Radio buttons. Note that the tag values of these Radio Buttons correspond to the actual constants defined in dbkit/enums.h.\
  109. You can either select all records by default, or qualify them by state of residence by entering the proper state into the textfield.\
  110. \b\fs28 Program Organization
  111. \b0\fs24 \
  112. \b Major Classes in the Application
  113. \b0 \
  114. \pard\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-1900\li1900\fc1\cf1 Controller    A general manager object.  A subclass of the Object class.  Performs miscellaneous initialzations and operations such as  inserting, selecting and sorting.\
  115. \pard\tx560\tx1120\tx2060\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\fi-2060\li2060\fc1\cf1 \
  116. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\b\fc1\cf1 Other Peculiarities
  117. \b0 \
  118. The primary key for inserting a new record is the social security number. It is not possible to insert a new record with a duplicate id (or social security number). \
  119. \b\fs28 Topics Of Interest\
  120. \b0\fs24 \
  121. The purpose of this example is to show you some simple examples of the usage of the DBKit UI Objects:\
  122. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\b\fc1\cf1 \
  123. - How to extract the important DBKit elements from the UI Objects (DBDatabase, DBFetchGroup, etc.): 
  124. \b0 \
  125. See the method 
  126. \b appDidInit: 
  127. \b0 in the file Controller.m.\
  128. \f1\fs28 \
  129. \f0\b\fs24 - How to change the sort order when retrieving records
  130. \b0 \
  131. See the method 
  132. \b changeRetrieveOrder: 
  133. \b0 and 
  134. \b setRetrieveOrder: 
  135. \b0 in the file Controller.m.\
  136. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc1\cf1 \
  137. \b How to qualify a select operation using DBQualifier\
  138. \b0 See the method 
  139. \b buildSelectQualifier:
  140. \b0  in the file Controller.m\
  141. \b How to insert a new record to a database via the DBFetchGroup object
  142. \b0 \
  143. See the delegate method 
  144. \b fetchGroup:didInsertRecordAt: 
  145. \b0  in the file Controller.m\
  146. \b\fs28 Change History\
  147. \pard\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\b0\fs24\fi-1900\li1900\fc1\cf1 July 1993    Removed the
  148. \b  evaluateSQL: 
  149. \b0 method. To execute stored procedures, please refer to the MultiBinder example.
  150. NXCursor
  151. NXibeam
  152. Controller
  153. WindowTemplate
  154. iiii***@s@
  155. README
  156. Panel1
  157. MenuTemplate
  158. *@*@ccc
  159. PubsDemo
  160.     README...'
  161. Edit'
  162. submenuAction:
  163. NXmenuArrow
  164. Hide'
  165. Quit'
  166. DBModuleTemplate
  167. DBModule
  168. SybaseDemo
  169. Author
  170. Authors Table
  171. Window
  172. MyWindow
  173. MainMenu
  174. View1
  175. File's Owner
  176. RMPanel
  177. [41@]
  178. IBControlConnector
  179. IBConnector
  180. copy:
  181. paste:
  182. selectAll:
  183. terminate:
  184. hide:
  185. IBOutletConnector
  186. delegate
  187.     theWindow
  188. qualifierField
  189. select:
  190. changeRetrieveOrder:
  191. DBTableConnector
  192. DBConnector
  193. dbModule
  194. saveChanges:
  195. deleteRecord:
  196. dbTableView
  197. performClick:
  198. orderFront:
  199. authorID
  200. address
  201. state
  202. zipCode
  203. phone
  204. contract
  205. formMatrix
  206. takeValueFrom:
  207. insert:
  208.