Results 1 to 7 of 7
Thread: [SOLVED] project layout
- 05-26-2008, 04:41 AM #1
[SOLVED] project layout
I want to start a project (i'm using BlueJ IDE) but im not really sure how to organize it. Im going to have 1 driver class and then other classes with all the code and methods that the driver class will use, and among those maybe some interfaces, but I need some kind of structure to start with. Can someone please give me a typical layout to help me get started? If someone could post something like e.g.
| | | |
class1 class2 class 3 class4
interface1 interface 2
Not that, thats just the general idea but i really dont know very much about making projects with lots of different classes etc. this is probably a noobish question but i dont know how im gonna start it please someone answer.
- 05-26-2008, 05:23 AM #2
Code organization is an important aspect in programming. If you have general idea on how your classes will be. Divide them according to their functionality. For example separate the part that is related to database, user interface and so on. Put them in separate packages.
There is no hard and fast rule for the organization. Its all about making whole project easily comprehensible.dont worry newbie, we got you covered.
- 05-26-2008, 05:31 AM #3
- 05-26-2008, 07:02 AM #4Member
- Join Date
- May 2008
- Rep Power
it depends on your scenario and skillsRgds
GreyHat:cool: and ya keep :D
- 05-26-2008, 07:38 AM #5
It's a good practice
So always think about the common views of each other. Make all names(classes, methods, fields) in descriptive way, more depend on the class you work out.
- 05-26-2008, 02:25 PM #6
Thanks, I have a better idea of what to do now. So should i just make all the other classes that the driver class uses subclasses of the driver class?
- 05-27-2008, 03:23 AM #7
- By mark-mlt in forum Java AppletsReplies: 5Last Post: 05-12-2008, 09:48 AM
- By adlb1300 in forum AWT / SwingReplies: 1Last Post: 12-25-2007, 09:33 AM
- By gmioannou in forum AWT / SwingReplies: 1Last Post: 12-24-2007, 05:12 AM
- By coco in forum AWT / SwingReplies: 1Last Post: 08-06-2007, 08:03 PM