P
py
I am working on creating a simple chat application. it will have a
buddy list, allow for chat 1 on 1 using a tabbed pane per conversation.
I expect to have a hierarchy of components like...
A Frame
main panel
buddy list panel
buddy list
chat tabbed pane
chat tab #1
chat panel
chat history panel
message input panel
chat tab #2
chat panel
chat history panel
message input panel
chat tab #n
chat panel
chat history panel
message input panel
Then I will have a Model which stores a list of Buddy objects and
maintains the current users name and IP address. When new messages
come in off the wire I will need to notify the model and views so they
can display the message, same goes for when a buddy signs on or signs
off.
Anyway, I am trying to figure out the best way to code this up, using
MVC or MVP or Presentation Model, any suggestions? Links to examples
or things of that sort are helpful.
Thanks in advance for any input.
buddy list, allow for chat 1 on 1 using a tabbed pane per conversation.
I expect to have a hierarchy of components like...
A Frame
main panel
buddy list panel
buddy list
chat tabbed pane
chat tab #1
chat panel
chat history panel
message input panel
chat tab #2
chat panel
chat history panel
message input panel
chat tab #n
chat panel
chat history panel
message input panel
Then I will have a Model which stores a list of Buddy objects and
maintains the current users name and IP address. When new messages
come in off the wire I will need to notify the model and views so they
can display the message, same goes for when a buddy signs on or signs
off.
Anyway, I am trying to figure out the best way to code this up, using
MVC or MVP or Presentation Model, any suggestions? Links to examples
or things of that sort are helpful.
Thanks in advance for any input.