Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Whats An Better CMS?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="nolongerinuse" data-source="post: 389580" data-attributes="member: 42561"><p>Well yes... and no.</p><p></p><p>It depends on the situation and why you need it.</p><p>For example, you should be utilising XHR if you have a CMS unless otherwise said due to API pattern(s) and coding etiquette.</p><p></p><p>If you know that you're going to make a-lot of requests and need to keep content updated in real-time then yes WS would be the route forward.</p><p>I.E You are running a trading website and have to keep asset values updated in real-time and ensure trades go through with no delay.</p><p>I say "no delay" since polling is normally limited to one second (500ms at a push but the response time is going to add another 1s/500ms or more onto it by default).</p><p>[doublepost=1479484769,1479484684][/doublepost]</p><p>Not sure why you would want to do this unless you were developing a web application of some sort.</p></blockquote><p></p>
[QUOTE="nolongerinuse, post: 389580, member: 42561"] Well yes... and no. It depends on the situation and why you need it. For example, you should be utilising XHR if you have a CMS unless otherwise said due to API pattern(s) and coding etiquette. If you know that you're going to make a-lot of requests and need to keep content updated in real-time then yes WS would be the route forward. I.E You are running a trading website and have to keep asset values updated in real-time and ensure trades go through with no delay. I say "no delay" since polling is normally limited to one second (500ms at a push but the response time is going to add another 1s/500ms or more onto it by default). [doublepost=1479484769,1479484684][/doublepost] Not sure why you would want to do this unless you were developing a web application of some sort. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Whats An Better CMS?
Top