• Post Reply Bookmark Topic Watch Topic
  • New Topic

MVC - Utility

 
Ajit Kumar
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let us say that i have a utility class.
Where does it fit in the MVC framework.
Can i see it as part of Model?
 
Sergey Opanasets
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MVC paradigm (architectural pattern) defines the way you partitiion your application. Utility class may be used within any partition, so depending on the functionality that your class is providing it may belong to Model, Viewer or Controller
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!