Showing posts with label kohana-3. Show all posts
Showing posts with label kohana-3. Show all posts

Monday, May 7, 2012

Multiple models vs single model


I have a question about MVC. Particularly about models. Suppose that I have a category table in my database. Now I would like to get results both for a single category for detailed view and multiple categories for a listing. Also I may need to query a number of categories for different purposes.