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

  • Home
  • SEARCH
  • 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 349783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T11:29:26+00:00 2026-05-12T11:29:26+00:00

The question here is whether something like this already exists or, if not, whether

  • 0

The question here is whether something like this already exists or, if not, whether there’s a better way to achieve it than what I describe below.

I need to allow an arbitrary Principal (User, Group, Site Admin) to add Event Sinks (like email addresses, Webhook URLs, etc.) to the system (through the web interface) and, for each one, specify which kinds of <Event Source, Event Type> should be sent to it. Since I’m doing this for ReviewBoard, I’ll give a concrete example with a hypothetical implementation:

  1. John creates a new event_sink (a
    webhook), identified by postbin1;
  2. John specifies that postbin1 will receive events of type publish on ReviewRequests (a class-level subscription — the source_id is unspecified);
  3. When a new review_request is created, the Event Manager, lists (through a JOIN with subscriptions) all event_sinks interested in ReviewRequests and creates a (instance-level) subscription binding them as a listener to their particular event_type (the name of a django signal) of interest and to the specific review_request;
  4. When that review_request gets published, the Event Manager (who listens to the publish signal) lists all event_sinks interested in that review_request instance and the publish signal and dispatches the signal parameters to their sink method.
  5. The Webhook event_sink marshals the data however pleases it and POSTs it to its URL.

This is the schema I thought of:
alt text http://bayimg.com/image/aadgoaacd.jpg

I’m about to start implementing this myself, but I just want to make sure I’m not reinventing the wheel. Couldn’t find anything on Google. Ready-to-use package names, half-way package names that will help me, and/or criticism to my DIY approach are all welcome.

  • 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-12T11:29:26+00:00Added an answer on May 12, 2026 at 11:29 am

    django-notification by James Tauber gets you a good chunk of the way there. I would love to see that app mature if you’re willing to work off of that codebase it would be great.

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

Sidebar

Ask A Question

Stats

  • Questions 167k
  • Answers 167k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer If you put JavaScript in a js file (which I… May 12, 2026 at 1:28 pm
  • Editorial Team
    Editorial Team added an answer I don't think it's XPS or PCL. It appears to… May 12, 2026 at 1:28 pm
  • Editorial Team
    Editorial Team added an answer use sqlautocode: It is a flexible tool to autogenerate a… May 12, 2026 at 1:28 pm

Related Questions

I was wandering how can I find out if an object already exists in
I have a script for OS X 10.5 that focuses the Search box in
Are any of the .NET generic collections marked as IXmlSerializable? I've tried List<T> and
I would like to know what the best Scala imitation of Groovy's safe-dereference operator

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.