I know several people who have implemented this feature tend to do so by
interfacing with their traffic reporting API. Perhaps you can tap into
google analytics (or whatever you use) to achieve the same?
 -justin

On Sun, May 25, 2008 at 3:20 PM, blis102 <[EMAIL PROTECTED]> wrote:

>
> Hello All,
>
> Im wondering how I could go about implementing a "Most Viewed" feature
> on my site. Lets say I have events, articles, and businesses, how
> could I implement a "Most Viewed Businesses", "Most Viewed Articles",
> "Most Viewed Events", "Most Viewed Content", "Most Viewed Articles
> This Week", etc...? Should I build a model for views and make it a
> foreign key to each model I want to record views for? Should I make a
> middleware? What else could I do?
>
> Im not really sure what would be best practice in this regard. Im sure
> there are a few different ways to implement this, but what is the
> simplest and most scalable? Any other ideas or suggestions?
>
> Thanks Alot,
> Dana
> >
>


-- 
Justin Lilly
Web Developer/Designer
http://justinlilly.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to