[comp.sys.apple] Resource Manager?

tsouth@pro-pac.cts.com (System Administrator) (02/05/89)

Recently, I asked someone knowledgeable about the scoop on this resource
manager everyone is talking about.

>From what he said, this product appears to be made for only MPW!!!

Has this conversation on the net been about an upcoming //gs resource
manager, or what?  Enquiring minds want to know!

Todd South

--
UUCP: {nosc, cacilj, sdcsvax, hplabs!hp-sdd, sun.COM}
                        ...!crash!pnet01!pro-nsfmat!pro-pac!tsouth
ARPA: crash!pnet01!pro-nsfmat!pro-pac!tsouth@nosc.MIL   
INET: tsouth@pro-pac.CTS.COM - BITNET: pro-pac.UUCP!tsouth@PSUVAX1

keith@Apple.COM (Keith Rollin) (02/06/89)

In article <8902051136.AA27463@crash.cts.com> pnet01!pro-simasd!pro-nsfmat!pro-pac!tsouth@nosc.mil writes:
>Recently, I asked someone knowledgeable about the scoop on this resource
>manager everyone is talking about.
>
>>From what he said, this product appears to be made for only MPW!!!
>
>Has this conversation on the net been about an upcoming //gs resource
>manager, or what?  Enquiring minds want to know!
>
Sounds like either you or the person you talked to is a little confused. Saying
that the Resource Manager is only for MPW is like saying TaskMaster is only
for MPW. The Resource Manager is a set of routines either in ROM or on the 
System Disk that allow you to access information in the resource fork of
extended ProDOS (and possibly HFS) files.

What your source MAY have been referring to are the tools needed to actually
create the information that goes into the resource fork. As Dave Lyons pointed
out, there are many resources with defined formats. For instance, a Dialog
resource contains information relating to the size and position of the window,
and the items within it. All of this information must be in a strict format
in order for the Dialog Manager to use it.

Apple will be releasing several tools to help create this information. There 
will be a ResEdit type program, that will allow you to create such information
by "painting" what you want. It will then create the necessary data for the
resource. For instance, if you wanted to create a DLOG resource for Dialogs,
you could create and size a window, create objects within the window, and play
around with those objects until you have sufficiently mocked up what you want
the window to look like. You then tell the program to save the resource to the
resource fork of the file, and it stores the information in the necessary
format. This is how the Macintosh program ResEdit works.

There is also another program that allows you to define this information in the
same way that you write a program. You create a source file full of commands
and descriptions, pass it through this translator, and you get a resource as a
result. The Macintosh version of this program is called Rez. 

Now, what your friend may have been talking about was that Rez and ResEdit for
the GS may be initially released as tools for use under the MPW IIGS cross-
development system. This is because modifying the currently existing ones is 
much faster than writing new ones for the native development systems. Therefore
if we start writing a version for MPW IIGS and a version for APW at the same 
time, the one for MPW IIGS will get completed first.



Keith Rollin  ---  Apple Computer, Inc.  ---  Developer Technical Support
INTERNET: keith@apple.com
    UUCP: {decwrl, hoptoad, nsc, sun, amdahl}!apple!keith
"Argue for your limitations, and sure enough...they're yours" -Bach, Illusions