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 7501231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T20:27:51+00:00 2026-05-29T20:27:51+00:00

In a large modular application, how do you determine who is the observer and

  • 0

In a large modular application, how do you determine who is the observer and who is the observable?

For example, let’s say we have 2 modules:

  • Blog module: Create and manage blog posts.
  • Social media module: read and write to social media streams.

Assuming that we want to implement a feature where when a user is on the “create a blog” post page, if he has the social media module enabled, we also include a set of fields which deals with posting to social streams.

In this case, should the blog module or the social media module be the observer? Who should provide the form fields for the social media options? Should the social media module provide a full widget or should the blog module detect whether the social media module is avaliable, render appropriate fields and then pass the submitted data to the social media module?

  • 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-05-29T20:27:52+00:00Added an answer on May 29, 2026 at 8:27 pm

    The observer is the module that wants to be updated when data from the other module changes. In the example you provided, the social medial module is the observer and the blog module is being observed. Each social media module (observer) should register with the blog passing a handle or reference the would be called whenever the blog updates.

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

Sidebar

Related Questions

Let's say I have a PHP Model-View-Controller framework that maps an address like http://example.com/admin/posts/edit/5
We're developing a data heavy modular web application stack with java but have little
I have a couple of questions regarding a modular GWT based application framework. I
Here at work we have a very large application with multiple sub applications. (500
I already have a jQuery(document).ready fragment defined. Since I'm working on a large-scale modular
I am working on a modular application and have decided to restart and integrate
On large-scale Java/.Net Enterprise projects, does every developer need to have all the components/libraries/dependencies
Interpolating Large Datasets I have a large data set of about 0.5million records representing
I have a large git repository that I am hosting with Dreamhost. It has
I have a very large object which I wish to serialize. During the process

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.