• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Applying MVC to a "windows explorer" like program

 
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic