Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7884687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:52:02+00:00 2026-06-03T04:52:02+00:00

I am trying to develop a real-time feed, and have run into a dilemma.

  • 0

I am trying to develop a real-time feed, and have run into a dilemma. I have the standard event, with a user as the subject –

  • Person is now action. [ For example, “John is now connected with Steve“. ]

This event occurs when a person that I am following does something.

In addition, I also have an event that is dependent on a non-user object, a “production” –

  • Production is now action [ For example, Titanic now includes Kate Winslet in its credits.

In other words, users can follow other 1) users or 2) productions. However, the two events may butt into each other. Suppose the following example.

1)

  • David is not following the user Steve.
  • David is following the production Titanic
  • Titanic has a new event, which involves the user Steve.
  • Since David is following Titanic and not Steve, David;s feed will say something like:
    “Titanic now includes Steve in its credits”.
  • Now David starts following Steve, the above grammar works but suppose this case:

2)

  • David is following Steve now, but not Titanic.
  • Steve joins the production Titanic. On David’s feed would say something like:
    “Steve joined the production Titanic“.
  • Now David starts following the Titanic, the above grammar works, but is in conflict with 1) based upon the ordering of events.

It seems this is why sites like Facebook/LinkedIn always have a single consistent object as the subject of the event (a user, in their cases).

Would it be possible to have both a user and a production? I know it would be more difficult, but how could it be done?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T04:52:04+00:00Added an answer on June 3, 2026 at 4:52 am

    Would it be possible to have both a user and a production?

    Several ways:

    • Database: set or clear status flags (in action or not)
    • Python: either multiple inheritance with status flags or use composition with delegation
    • Java: composition with delegation

    Another way to think about the problem is to use role-oriented programming techniques.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying to develop my first ASP.NET MVC web app and have run into
We are trying to develop a real-time display system in safety critical domain. (All
trying to develop web form using jquery. all i need is to have several
Im trying to develop a friends module to get more aquainted with django. Now
I have been trying to develop an app for my ipad which i can
I am trying to develop an time card application. So for Every month there
Trying to develop using MVVM: I have this Csla.PropertyStatus control that is created in
I'm real noob in C. I'm trying to develop my own lock-server in C
I am trying to develop an Online editor (like FCKEditor/etc) but I have no
I am trying develop a basic referrer system to my Django website, system will

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.