Annotation of Examples/DatabaseKit/PubsDemo/English.lproj/PubsDemo.nib/data.nib, revision 1.1.1.1

1.1       root        1: typedstream���&@���IBObjectData��Object��@i���CustomObject��*@��Application��-�@@���Form&��Matrix��Control��View�� Responder�������&f�ffff&     �&P���&P������@ss@���List&��&i�[11@]���Button�����U�U����������i@s���
                      2: ButtonCell&��
                      3: ActionCell&��Cell&��*@ss��Save���Font��%fss�Helvetica-Bold�����i:��ss���������@f����       Helvetica�������������~U�U���������������Delete���������������������������-�&�X!�X!���������������������@:@iiii����[2@]����� Ascending������&���������<����NXImage��s*�p��NXradio�����p��NXradioH�������
                      4: Descending��������������8�������&�ffX��ff@@#::s��������Radio��������������8��������B�&c����� TextField������ҁ&�8�8�������    �����
TextFieldCell&�������0�����&������������&:���������&�g�g�������   �������Sort Order:�������������������Å�������}�&������������       �������*Select Authors in:
                      5: (Null means select all)�������������������Å�������6�&���������������������Select����������������
�����p��NXreturnSign���������������&�;�;�������   �������State:�������������������Å����DBTableView&��
                      6: ScrollView&�����6�&!�؁���؁����������[4@]���ClipView��Ο���d���d�Β�����&�[1@]���
                      7: DBGridView��ҟ��&?&��&?&�Ғ�����&@��i@@@@@΄��DBLayout��@@ffcii�������
DBTableVector&��iiff*@@@����������ۆ&&&����ф���[3@]��ӂ`__��lastName܄��DBEditableFormatter��DBFormatter����������������������������ۆ��ӂ`__��   firstName܄⒅�䄾����������������ۆ��ӂ`q��yearToDateSales܄⒅�䄾����������������ۆ���&?����
DBHeadingView���ӒΟ�������Β�����&�Q��@fs��������&?��&?�𒅡��&@��@@@i�݄��
DBHeadingCell���܁@������>���&�����������������Scroller��Ο�������Β���������P�΄ff:s�_doScroller:�����Ο�z������Β��������������?�O�����������@@@ffs���
                      8: ���i@@@@@::��p��Յ�������������������U�U���������������Insert��������������������������8<�؁ՠ�؁Ւ�����������������������   �[9@]���FormCell&���ª�0�����f@>�����     lastName:���������ª�0�����>�����
                      9: firstName:���������ª�0�����>�����        authorID:���������ª�0�����>�����address:���������ª�0�����>�����city:���������ª�0�����>�����state:���������ª�0�����>�����zipCode:���������ª�0�����>�����phone:���������ª�0�����>�����   contract:����������   &����&��������ª�0�����>�����Field:�����������������MenuCell&����Edit�����������MenuTemplate���)���]�&ڄ*@*@ccc��PubsDemo������&\P�\P������������������������˄%��� README...'��������������'��Å�$�%���Hide'��������������h�'��Å��%���Quit'��������������q�'��Å������&�\������%��������Menu������&W�򄚒���&RP�RP������������������������˄%���Cut'��������������x�'��Å��%���Copy'��������������c�'��Å��%���Paste'��������������v�'��Å��%���
                     10: Select All'��������������a�'��Å������&�R������%������������submenuAction:�������������p��NXmenuArrow���(Å�,����Text���Ӓ�В������&&�&x�&��&x�&��������&�F�@�����&h����&h���G�������E���F��������F������������F��>T����������J�E
                     11: 
                     12: ������&Q����&Q���F������&�C��@�J��C&�������NXCursor����s@����p��NXibeam������&Q����&Q���E�������`�����&M���ciifffcfffs���.&&�>����cQ��qI�ʃqI�ʼ�&Q�������[3818c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;\f1\fnil Times-Roman;}
                     13: \margl40
                     14: \margr40
                     15: {\colortbl;\red0\green0\blue0;}
                     16: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b\i0\ulnone\fs36\fc0\cf0 PubsDemo\
                     17: 
                     18: \b0\fs24 by Mai Nguyen, NeXT Developer Support Team\
                     19: \
                     20: 
                     21: \b\fs28 Overview
                     22: \b0\fs24 \
                     23: \
                     24: 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  
                     25: \b SybaseDemo.dbmodela
                     26: \b0  from /NextDeveloper/Examples/DatabaseKit/models  is used to establish the proper connections between the database model and the Database Kit UI Objects.\
                     27: \
                     28: 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.\
                     29: \
                     30: After you are properly connected to the Sybase server, you can perform operations such as 
                     31: \b Select
                     32: \b0 , 
                     33: \b Insert
                     34: \b0 , 
                     35: \b Save
                     36: \b0  or 
                     37: \b Delete
                     38: \b0 .  Note that an 
                     39: \b Insert
                     40: \b0  or 
                     41: \b Delete
                     42: \b0  won't take effect in the database until a 
                     43: \b Save
                     44: \b0  operation is performed.  All operations such as 
                     45: \b Save
                     46: \b0 , 
                     47: \b Delete
                     48: \b0  and 
                     49: \b Select
                     50: \b0  are almost done without any coding. For simplicity's sake, there is no verification of the data entered via the FormCells for a 
                     51: \b Save
                     52: \b0  or 
                     53: \b Insert
                     54: \b0  operation.\
                     55: \
                     56: 
                     57: \b\fs28\fc1\cf1 Preferences Setting\
                     58: 
                     59: \b0\fs24 \
                     60: 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.\
                     61: You can either select all records by default, or qualify them by state of residence by entering the proper state into the textfield.\
                     62: \
                     63: 
                     64: \b\fs28 Program Organization
                     65: \b0\fs24 \
                     66: \
                     67: 
                     68: \b Major Classes in the Application
                     69: \b0 \
                     70: \
                     71:  \
                     72: 
                     73: \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.\
                     74:  
                     75: \pard\tx560\tx1120\tx2060\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\fi-2060\li2060\fc1\cf1 \
                     76: 
                     77: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\b\fc1\cf1 Other Peculiarities
                     78: \b0 \
                     79: 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). \
                     80: \
                     81: 
                     82: \b\fs28 Topics Of Interest\
                     83: 
                     84: \b0\fs24 \
                     85: The purpose of this example is to show you some simple examples of the usage of the DBKit UI Objects:\
                     86: 
                     87: \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\b\fc1\cf1 \
                     88: - How to extract the important DBKit elements from the UI Objects (DBDatabase, DBFetchGroup, etc.): 
                     89: \b0 \
                     90: See the method 
                     91: \b appDidInit: 
                     92: \b0 in the file Controller.m.\
                     93: 
                     94: \f1\fs28 \
                     95: 
                     96: \f0\b\fs24 - How to change the sort order when retrieving records
                     97: \b0 \
                     98: See the method 
                     99: \b changeRetrieveOrder: 
                    100: \b0 and 
                    101: \b setRetrieveOrder: 
                    102: \b0 in the file Controller.m.\
                    103: 
                    104: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc1\cf1 \
                    105: - 
                    106: \b How to qualify a select operation using DBQualifier\
                    107: 
                    108: \b0 See the method 
                    109: \b buildSelectQualifier:
                    110: \b0  in the file Controller.m\
                    111: \
                    112: - 
                    113: \b How to insert a new record to a database via the DBFetchGroup object
                    114: \b0 \
                    115: See the delegate method 
                    116: \b fetchGroup:didInsertRecordAt: 
                    117: \b0  in the file Controller.m\
                    118: \
                    119: 
                    120: \b\fs28 Change History\
                    121: 
                    122: \pard\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\b0\fs24\fi-1900\li1900\fc1\cf1 July 1993  Removed the
                    123: \b  evaluateSQL: 
                    124: \b0 method. To execute stored procedures, please refer to the Evaluator example.
                    125: }
                    126: �F�($�˞����WindowTemplate&���&5�&�&P��
                    127: iiii***@s@&����
Authors Table����Window���x������6(�����������Q��&v�&P�&x�&&&����README����PanelG�`x���������Ιƞ�.,�������DBModuleTemplate��***@��DBModule��
                    128: SybaseDemo��Author��������P�0,�����Ι��2,�GU���,*����FG����������
                    129: Controller����86�����������>6�:6�����ΙΞ���<6�*��Þ��@*Y�΄�View1���File's OwnerU��RMPanelP��MyWindow_�*��MainMenu�&�P����)�[41@]���IBControlConnector��IBConnector��@@*8���cut:��j:���copy:��j<���paste:��j>���
                    130: selectAll:��j2���
                    131: terminate:��j0���hide:����IBOutletConnectork�_��delegate��x_P�� theWindow��x_���qualifierField��j�_��select:��j�_��changeRetrieveOrder:��j�_����x_Ud����DBTableConnector��DBConnector�Y߄ՒΆ���Y�ؒΆ�x_Y��dbModule��j�Y��saveChanges:��j�Y��
deleteRecord:��x_΄�dbTableView��j�Ƅ�
performClick:��j.U��orderFront:����Y��Ն���Y�؆���Y��authorID����Y��address����Y��city����Y��state����Y��zipCode����Y��phone����Y��contract��x_���
                    132: formMatrix��j�Y��takeValueFrom:��jY����jY����jY����jY����jY����jY����jY����jY����j�_��insert:�����

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.