Displaying 1 result from an estimated 1 matches for "recent_articles".
2006 Jun 17
8
Application Design
...res littering
the code with method calls taking this parameter.
I have also thought about setting a class variable on the models to set
whether active/inactive/all articles are returned, so that anytime you
want to set the type returned you set this class variable and then call
your functions (recent_articles, etc...).
What I would like to know is if there are any suggestions as to a good
practice to follow in how to implement this functionality, one of the
ways I have stated or some other way that I haven''t considered.
I hope I have been clear. Thanks for the help in advance.
--
Posted v...