Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Stream events to the browser
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Behrad Zari  
View profile  
 More options Jul 11 2012, 2:59 pm
From: Behrad Zari <behr...@gmail.com>
Date: Wed, 11 Jul 2012 11:59:42 -0700 (PDT)
Local: Wed, Jul 11 2012 2:59 pm
Subject: Stream events to the browser

Howdy,
I've a simple module which calls z_notifier:notify to broadcast events to
clients.
Now I'm trying to write a simple comet page in which an elements gets
updated
by events published by the above module. I don't know how should I get
notified
in my template and wire received events to a DOM element when using
{%stream%}


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas Stenius  
View profile  
 More options Jul 13 2012, 7:57 am
From: Andreas Stenius <andreas.sten...@gmail.com>
Date: Fri, 13 Jul 2012 13:57:58 +0200
Local: Fri, Jul 13 2012 7:57 am
Subject: Re: [Zotonic-Usr] Stream events to the browser

Have a look at mod_signal.

Sorry for the very terse reply; I'm on vacation, away from my computer...

//Andreas
 Den 11 jul 2012 21:03 skrev "Behrad Zari" <behr...@gmail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Behrad Zari  
View profile  
 More options Jul 14 2012, 2:40 pm
From: Behrad Zari <behr...@gmail.com>
Date: Sat, 14 Jul 2012 11:40:50 -0700 (PDT)
Local: Sat, Jul 14 2012 2:40 pm
Subject: Re: [Zotonic-Usr] Stream events to the browser

Andreas,
I took a look at mod_signal,but there was no sample tpl that shows how
should I bind my signals to javascript code?
Would you provide me a sample code that uses mod_signal to trigger an event
in JS code?
I'm digging more into mod_signal module but I'new not a native Erlanger!

Thanks,


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas Stenius  
View profile  
 More options Jul 15 2012, 10:27 am
From: Andreas Stenius <andreas.sten...@gmail.com>
Date: Sun, 15 Jul 2012 16:27:11 +0200
Local: Sun, Jul 15 2012 10:27 am
Subject: Re: [Zotonic-Usr] Stream events to the browser

Search this list's archive, or look at the code for trackz (
http://github.com/kaos/trackz ) I use signals to update parts of the UI.

Den 14 jul 2012 20:40 skrev "Behrad Zari" <behr...@gmail.com>:

> Andreas,
> I took a look at mod_signal,but there was no sample tpl that shows how

should I bind my signals to javascript code?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »