last txt pic is not clear, re-post it.

---------- model
    |    |-- User
    |    |-- Score
    |    |-- ...
    |
    |------ utils
    |    |-- db
    |    |    |-- DBBase
    |    |    |-- UserQuery
    |    |    |-- ScoreQuery
    |    |    |-- ...
    |    |
    |    |-- other utils
    |
    |---- action
    |    |-- UserAction
    |    |-- ScoreAction
    |    |-- ...
    |
    |---- widgets
    |    |-- Login
    |    |-- HangmanGame
    |    |-- HighScores
    |    |-- Hangman
    |    |-- ...

model : includes private or protected members, get and set methods
DBBase : includes common sql operations such as connect, update, insert, etc
UserQuery : includes get a User or a vector of User info by select from db
ScoreQuery : includes get a Score or a vector of Score info by select from
db

action: some actions, maybe all are static
UserAction : includes addUser, validLogin, etc
ScoreAction : includes getHighScores, getUserPosition, addToScore etc

widgets : all the pure widgets

Regards
Zhimin
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to