Fletch,
>In reviewing the code from the SDK, I've noticed that
>all of the apps have a different resource file for all
>of their forms. Why is this? Should I be doing this
>as well?
Two main reasons. First, when the apps were originally created, all
of the forms were edited using ResEdit. Which meant keeping track of
a blizzard of form object resources, and making sure that all of
their IDs were correct. Keeping each form in a separate resource
file, with a separate range of resource ids, made this easier.
Second, most source code control systems don't handle merging
resource (binary) data very well; typically merging is a painful,
manual process. So by having multiple resource files, this reduced
the odds of two people modifying the same resource file at the same
time.
If you're using Constructor on a single-person project, you're
probably better off just having a single resource file.
-- Ken
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200 (direct) +1 408-261-7550 (main)