File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Implementing social network feeds Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Implementing social network feeds" Watch "Implementing social network feeds" New topic
Author

Implementing social network feeds

Gary Dhaliwal
Greenhorn

Joined: Oct 17, 2008
Posts: 11
Hi I was wonder how I could implement a social network-like news feed. For example is John (my contact) changes his phone number or joins a group it should appear in my news feed.

I was thinking of using a table called Feed with two fields message and userIDFK. So when John changes his phone number a row will be stored as follows:

John has updated his profile, 1 (userID)

Then I could just read this table. However problems with designs is that specific information is not stored, like the new phone number or group joined. Although I could include that information in the message field, I would not be able to link to the particular group he joined without a groupID.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60053
    
  65

"G Dddd", please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Implementing social network feeds
 
Similar Threads
Automatic Configuration of phone settings with WML
What are the most important issues facing the US today?
How this app working?
An example of denormalization
EJBs