Nom d'utilisateur: Mot de passe:
Enregistrement d'un nouveau membre
Modérateur: rod03801 
 Feature requests

Do you miss something on BrainKing.com and would you like to see it here? Post your request into this board!
If there is a more specific board for the request, (i.e. game rule changes etc) then it should be posted and discussed on that specific board.

For further information about Feature Requests, please visit this link on the Brainking.Info site : http://brainking.info/archives/20-About-feature-requests.html


Messages par page:
Liste des forums de discussions
Vous n'êtes pas autorisé de poster des messages dans ce forum. Le niveau d'adhésion minimal requis pour poster dans ce forum est Cavalier.
Mode: Tout le monde peut poster
Recherche dans les messages:  

14. Novembre 2007, 20:22:21
mctrivia 
Sujet: Ajax
Fencer can you look up ajax and use it to update the page. The constant reloads are a pane and you would save a lot of bandwidth only updating the part you need to. A simple noscript tag that saves info in the seesion info would allow you to chose witch method of reloading to use if you want it to work without java

15. Novembre 2007, 07:37:36
Fencer 
Sujet: Re: Ajax
mctrivia: I've been thinking about that a year ago. But:
1) Not all browsers support Ajax and the noscript solution would only make the page code longer.
2) If someone updates only a part of the page (e.g. game board section) and does it continuously for, say, an hour, he would not be aware of other important information like the number of new messages etc.
3) JavaScript based code is much more error prone than a simple HTML, so it would take more time to make it stable. Not to mention other server side changes which are necessary to make it work anyway.

15. Novembre 2007, 17:06:36
mctrivia 
Sujet: Re: Ajax
Fencer:
1)Yes Ajax is not universally suported but is almost.

2) If you encapsulate the different parts you want to update into there own subroutine then use javascript to update each you can have it put out raw html witch would require few changes to the sight.

3) Overhead of using noscript is very minimal. If they have scripting you put in the ajax code set to run every 30 sec. If not then you are still using the same subroutines to create the page just not adding the extra java script to allow it to reload in the background and using the meta reload instead.

It is a little bit of extra work but the visual improvement of not having to reload the page as well as the bandwidth reduction by not downloading parts not used would vastly improve this site.

15. Novembre 2007, 18:43:51
MadMonkey 
Sujet: Re: Ajax
mctrivia: I am not totally up with Matthew on this (as you know welll lol), BUT if it could help in the long term of page loading / updating it could well be worth looking into further

Maybe you and Fencer should have a talk about it, and it could be your project

Date et heure
Amis en ligne
Forums favoris
Associations
Astuce du jour
Copyright © 2002 - 2024 Filip Rachunek, tous droits réservés
Retour en haut