Do you think one source file per form is excessive? Certainly for
trivial forms (About, Help etc) there's little point. But given that
Palm applications are essentially event driven through the forms
interface you give to users I don't think so. I find that typically at
least 50-60% of an application resides in form handling code (and the
layer of functionality that lies directly below form handling). The rest
is usually common utility functions and database handling routines.
I think one C file per complex form is a quite logical arrangement and
would allow you to quite nicely divide work between 3 programmers.
If you break 30 forms into 3 or 4 source files you are going to have
rather monolithic source files! Some people like working this way but
personally it drives me nuts...and can make it harder to collaborate
with other programmers through a source control system.
My 2c.
Stuart Nicholson
Programmer
Firepad Inc.
-----Original Message-----
From: Curtis Scoville [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 25, 2000 5:35 PM
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/