I usually organize them all by 1. Complexity, and 2. How often
they're used.
I kind of like to have my lesser used forms and functions in
separate files, thus, you call them when you need them, and not
have to make lots of unnecessary inter-segment jumps. I like
my more complex forms to have their own source (unless you can
fit more than one in 32k).
Overall, just keep each segment under 32k and minimize inter-segment
jumps (calls to the other source files).
Hope that helps!
-Rus
>-----Original Message-----
>From: Curtis Scoville [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, July 25, 2000 9:35 AM
>To: Palm Developer Forum
>Subject: How many src files is too many?
>
>
>Our development team is currently planning the layout for an
>app that has
>30+ forms. We are debating how many c files and segments to
>have and how to
>best organize the project to allow for 3+ developers to share the work
>without stepping on each others toes too much.
>
>Any suggestions? On the one hand we could have a src file for
>every form,
>but that seems excessive. We are also considering the possibility of
>creating logical or functional groups of forms that would
>share a src file
>for each group, such that the total number of c files (not including
>database files) would be kept to 3 or 4.
>
>I have reviewed the documentation regarding multi-segmented apps, but I
>would appreciate the voices of experience on this matter of
>splitting up our
>code between src files, and a heads up on any challenges we
>are likely to
>encounter is also welcome.
>
>Thanks,
>Curtis
>
>
>
>--
>For information on using the Palm Developer Forums, or to
>unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/