473,387 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Structuring code files for multiple programmers work.

I am trying to figure out the best way to subdivide a project for multiple
programmers. I am embarking on a new development project with one other
person but with an idea in mind that we may need to add a couple more folks
on as we progress.

The user interface is an "outlook style one" with a treeview over a small
navigation pane with a splitter bar and a, for lack of a better term,
content area.

Selections made in the treeview will cause the content area to change
dramatically depending on the item selected in the treeview. This content
area will have anywhere from 3 to 10 tabs on it, again dependent on the item
selected in the tree view. All told there will be 30 to 50 different tabs.
I'd like to somehow encapsulate each one of these tabs such that they could
be checked out of SourceSafe individually.

Lets say I have one particular content area configuration which has 6 tabs.
I'd like to be able to assign tabs 1 through 3 to programmer A and 4 through
6 to programmer B. I don't know how I could check in or out just one tab.
It looks to me like all 6 tabs would have to reside on a single form and
that would preclude two developers from working on the twos sets of tabs as
outlined above. The ideal situation would be to have each tab actually
house a form, and then each of these forms could be individually checked
out. But our preliminary tests seem to show that the only thing a tab
"container" can hold is controls, not an entire form.

Anyone else tried to "team program" an "outlook style" of interface with
tabs in the content area? If so how did you structure the app to allow a
highly granular code file structure.

I just know this is gonna be some silly easy answer to this and I'll slam
the heel of my hand into my forehead, exclaiming "Doh!"

Thanks,
Gary Shell
Nov 20 '05 #1
1 1611
It's easy to say Doh when you know the correct answer. It's not that easy to
come to correct answer.

I am not sure my answer is simple or completely correct. Tab as component is
class, and as such could be developed by one person. Same person could
develop several tabs or all. Depends on complexity. While tabs are not yet
complete - you use dumb classes (constructor / destructor). You check in new
version of class, recompile and go.
Of course it could be done in more complex way - not that much maybe - by
using plugin concept. Especially when you don't know how many tabs you or
user will create.

As about specific components - take a look at TabControl and related
TabPage. Because TabPage is inherited from Panel it can host easily other
panels or whatever controls you want to develop. E.g. in one of my programs
I put whole Outlook style interface onto one TabPage.

And possibly you should take a look at some book on object-oriented design?
Petzold's one is very good at demonstrating simple techniques of sensible
inheritance for windows UI components imo.

HTH
Alex

"Gary Shell" <gs****@fuse.net> wrote in message
news:Oe**************@TK2MSFTNGP12.phx.gbl...
I am trying to figure out the best way to subdivide a project for multiple
programmers. I am embarking on a new development project with one other
person but with an idea in mind that we may need to add a couple more folks on as we progress.

The user interface is an "outlook style one" with a treeview over a small
navigation pane with a splitter bar and a, for lack of a better term,
content area.

Selections made in the treeview will cause the content area to change
dramatically depending on the item selected in the treeview. This content
area will have anywhere from 3 to 10 tabs on it, again dependent on the item selected in the tree view. All told there will be 30 to 50 different tabs. I'd like to somehow encapsulate each one of these tabs such that they could be checked out of SourceSafe individually.

Lets say I have one particular content area configuration which has 6 tabs. I'd like to be able to assign tabs 1 through 3 to programmer A and 4 through 6 to programmer B. I don't know how I could check in or out just one tab. It looks to me like all 6 tabs would have to reside on a single form and
that would preclude two developers from working on the twos sets of tabs as outlined above. The ideal situation would be to have each tab actually
house a form, and then each of these forms could be individually checked
out. But our preliminary tests seem to show that the only thing a tab
"container" can hold is controls, not an entire form.

Anyone else tried to "team program" an "outlook style" of interface with
tabs in the content area? If so how did you structure the app to allow a
highly granular code file structure.

I just know this is gonna be some silly easy answer to this and I'll slam
the heel of my hand into my forehead, exclaiming "Doh!"

Thanks,
Gary Shell

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Steven T. Hatton | last post by:
Is there a more or less accepted authority describing how to structure a project? I know Julie has asked about namespaces. That is certainly a part of my question, but I want to know about the...
45
by: Steven T. Hatton | last post by:
This is a purely *hypothetical* question. That means, it's /pretend/, CP. ;-) If you were forced at gunpoint to put all your code in classes, rather than in namespace scope (obviously classes...
67
by: Steven T. Hatton | last post by:
Some people have suggested the desire for code completion and refined edit-time error detection are an indication of incompetence on the part of the programmer who wants such features. ...
1
by: jmgro | last post by:
I need help in structuring a 200 question survey. Each question has three responses, and I want all 200 questions displayed at the same time with the user using the scrollbar to go down. What is...
41
by: Matt Alanzo | last post by:
Our SOHO 2 person compay sells furniture (not programmers). In '98 we paid $,$$$ for a VBA -Access '97 accounting application, including VBA source code .... an huge investment for us then (and...
1
by: Simon Harris | last post by:
Hi All, I work in a team of three developers. 99% of our work is developing 'applications' for our organisations Intranet - mainly whats become known to us as e-employee apps, such as...
171
by: tshad | last post by:
I am just trying to decide whether to split my code and uses code behind. I did it with one of my pages and found it was quite a bit of trouble. I know that most people (and books and articles)...
4
by: feng | last post by:
Hi, I need to implement a function, GetAllFiles, of a web service that once called, returns all the files in a folder to the caller. My question is: what is the best way to implement this...
7
by: JohnGoogle | last post by:
Hi, I'm new to Visual C# and I am looking for guidance with structuring projects. I am wanting to develop a DLL assembly which will contain all my common classes which will be used by various...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.