>  I'm trying to generate a Facebook-style Mini-feed about my users, so
>  that a profile page will have the general user information and also a
>  history of recent activity, which could be new favourites, new notes
>  about the user, etc.
>
>  How best to accomplish this?

I've been thinking about this recently, and I was thinking I would
have a separate model to store the history, I was thinking

id
model
foreign_key
user_id
type enum(new,update)

you would then connect all your models to this one model using the
foreign key, and only have 1 model to query to get a users history,
rather than querying many and then having to sort those results.

hth

jon


-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

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

Reply via email to