Originally posted by Ajit Kumar:
hi Guys,
I have a utility class in my model. Where does it fit into the MVC model. Can i put it under the controller section. I am using Rational Rose and i must put the class under one of model/view/controller folders....
I would appreciate any info in this regard.
AK
Do you think your Uility class is re-usable for other projects in the future? If so, try not to put in at the Controller layer.
If you feel the Utility class is more for the Model layer, then put it there. The same case for View layer.
If your Utility class is of use by all the 3 layers, ...hmm, maybe
you should consider breaking the Utilitiy to 3 different utility classes.
------------------
Thank you.
- Simon See
simon-ivy@usa.net -after office hours-
necro-mani-cide