This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Applying MVC to a "windows explorer" like program  RSS feed

 
Matt Kidd
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its been at least a year since I've posted and I'm about to write a program for my own use. Its sort of like a file viewer which is why I'm basing it on windows explorer. I'd like to use MVC since when I lost my job that was the pattern used on the project and it still seems prevalent today. I know Swing can be used for the View but I'm not sure what the Model and the Controller would be written in. I do understand I will need to get a firmer grasp of MVC but this is just prep work for down the road. Since there will be a lot of file interation would NIO be in the Model or the Controller? I was thinking the model.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Model sounds good. It generally represents the underlying domain objects so that they can be used by any number of views or controllers.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!