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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:18:38+00:00 2026-06-12T06:18:38+00:00

I have some javascript objects that I’d like to collaboratively manipulate, but am having

  • 0

I have some javascript objects that I’d like to collaboratively manipulate, but am having a hard time understanding the best way to achieve this in Meteor. These objects are NOT bound to specific collections, but rather live in-memory alongside the Templates that serve GUIs that are bound to collections.

I figured two things:

(1) Perhaps I should circumvent Meteor’s native pub/sub stuff for this and simply leverage the existing SockJS infrastructure inside Meteor. I was able to get the SockJS URL from Meteor, but haven’t successfully made a SockJS call yet. (I can provide more detail if need be)

(2) Or maybe leverage the existing pub/sub options in Meteor and use a Template as a shim to listen for updating. I looked here for that, but so far, haven’t been able to iron out the kinks. Perhaps I should use a collection as a shim as well?

Again, these are NOT bound to collections, and I’d suspect vanilla SockJS or socket.io to be fairly straightforward on how to broadcast the changes. So, I’m struggling on how to incorporate collaboration in a Meteor app that doesn’t originate with a collection being updated. I want to pursue one of the above, but would like to know which approach seems most feasible? Thanks for your help.

  • 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-12T06:18:39+00:00Added an answer on June 12, 2026 at 6:18 am

    I ended up using the new constant block helper that was released with Meteor 0.4.0 to keep my out-of-Meteor-scope javascript objects from being manipulated by Meteor:

    http://meteor.com/blog/2012/08/31/introducing-spark-a-new-live-page-update-engine

    This lets me update these objects via a different means than Meteor.

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

Sidebar

Related Questions

i have some javascript roll over code that works fine in firefox but when
I'm having a recursion problem in Javascript. I have some JSON that I'm passing
i have a object in javascript and some already defined functions. but how can
I have some javascript that I am using for some audio on my website:
I have some javascript that goes out and fetches a javascript class on another
I have some Javascript code that will programmatically register an COM interop assembly by
I have some javaScript Classes ( ctor+prototype methods) that I want their instances to
In my web app, I have some complex objects written with JavaScript (ie nested
I have written some JavaScript code that will read from the Google Maps API
In some of my Javascript objects I find that my this pointer is correct

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.