Back when I was at college studying CS we were taught that the way to decide which objects to use was to write a simple description of what your program should do. Then go through the description and find all the nouns - these are your main objects. You can also go through and find all the verbs, these are the some of the functions of those objects.
This still seems to work pretty well.

So, if your program description is-
"Pacman moves through a maze eating dots. Ghosts chase pacman. Every time pacman eats a dot the score increases"
Then your main objects are

Pacman
Maze
Dot
Ghost
Score

Some of your main functions are
Pacman - move
Pacman - eat
Ghost - chase
Score - increase

Unfortunately I think this was before MVC became popular so I'm a beginner on that one too. My experience is that it works really well for "editing data" type programs like wordprocessors etc but its either more tricky/not worth the while for
some "presentation" type applications.

Cheers

Joe


Joe Cutting
Computer exhibits and installations
www.joecutting.com
96 Heslington Road, York, YO10 5BL
01904 627428
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to