File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Patterns in user interface

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
Hi,
Do you think it is necessary to use design patterns in the user interface (Command, Observer...)? Or is it just enough if you have one listener class for all the user input?
Jukka
 
Michael Morris
Ranch Hand
Posts: 3451
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jukka,
Don't use patterns just for the sake of using them, use them because they make sense in a particular situation. I used three patterns in my client design: Facade, Observer and Mediator. Your design will probably dictate the use of some other combination of patterns. Just remember that the main goal in the use of patterns is to make your software components reusable.
Michael Morris
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic