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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:37:56+00:00 2026-06-03T13:37:56+00:00

Is it possible to directly bind server side events to client side objects in

  • 0

Is it possible to directly bind server side events to client side objects in meteor?

I would like to update a view for example when a server side event triggers. On the other hand I’d like to fire a server side method when a user clicks a view item.

I could use Meteor#methods for all the events but that seems odd.

Or can I specify an eventhandler for example using EventEmitter outside the client- and server-scope so that it is available on both sides and trigger/bind events ob that very object?

Some confused about that I am thankful for hints into the right direction.

Regards
Felix

Update:

Using Meteor#methods works great in case user events should be mapped to server side actions. The other way around is still unclear. Asynchronous actions on serverside could persist their results in a collection which is pub/sub’ed to the client, which in turn could update some view due to the reactive context. But thats odd, cause persisting that kind of info is slow, wasted space and time. Any suggestions?

  • 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-03T13:37:58+00:00Added an answer on June 3, 2026 at 1:37 pm

    What about storing the progress in Session? You could do something like this:

    Template.progress.value = function() {
        return Session.get('progress');
    }
    

    Then, whenever you update the Session on the server, the client template will automatically get those changes.

    Out of curiosity, how exactly are you performing asynchronous actions on the server? I’m still trying to figure that out.

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

Sidebar

Related Questions

Is it possible to directly compute the product (or for example sum) of two
With Apache/PHP5, is it possible to get the contents of an uploaded file directly
Normally when you want a databound control to 'update,' you use the PropertyChanged event
I've written my own linked-list type data structure, and would like to create an
According to documentation , it is possible to bind a groovy script to a
Is it possible to bind a property (don't know which) of the mx:Image control,
My question is whether or not it is possible to directly pass the parsed
When using the DuplexFactory its actually possible to directly pass the callback handler, and
I'm using Luabind to bind a C++ API to Lua. I have some objects
I get this error when creating a view: Cannot schema bind view 'dbo.viewStock'. 'dbo.GetStockCurrentQuantityByProduct'

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.