ssteinerX (9) [Avatar] Offline
#1
But even if Ajax was able to limit traffic sent from the server and get rid of manual page reloads it still had no way of knowing whether the server had any new data to be downloaded unless it kept requesting the server in regular intervals.

Does that mean, like:

Yo, can I have that server, in Major Seconds, please?
Yo, can I have that server, in Minor Thirds, please?
Yo, can I have that server, in Fifths, please?
Yo, can I have that server, in an Octave, please?

smilie

Steve
manuel.schoebel (5) [Avatar] Offline
#2
Re: An English sentence this is not
Hi Steve,

I assume it is not clear to you how the server can send data to the client without a page refresh, right?

Meteor uses websockets as a permanent connection between the client and the server. So there is no 'polling' from the client every X seconds.

Meteor follows the publication and subscribe methodology. That means:

ClientA: Hey Server, I want to know if there are any new movies! [Subscribe]
Server receives a new movie.
Server checks who wanted to know if there are new movies
Server: Hey ClientA, here is a new movie, its name is "Back to the future 4". [Publish]

Does this make things a bit more clear?

Manuel
ssteinerX (9) [Avatar] Offline
#3
Re: An English sentence this is not
No, I completely understand the process. The sentence doesn't make any sense, however.

S
ssteinerX (9) [Avatar] Offline
#4
Re: An English sentence this is not
"unless it kept requesting the server in regular intervals."

Requesting the server?

Requesting data from the server maybe, but the sentence is still very awkward.

Never mind, hopefully your editor will fix this up..

S
manuel.schoebel (5) [Avatar] Offline
#5
Re: An English sentence this is not
Thank you very much! Now I got it smilie
stephan.hochhaus (92) [Avatar] Offline
#6
Re: An English sentence this is not
At a later time I have planned an overhaul of chapter 1 - there are some optimizations on my list already. Getting Yoda-speak-passges re-phrased just made the top of my list smilie