|
|
Posted 17/01/2005 14:33:32 |
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 25/01/2005 16:26:00
Posts: 9,
Visits: 1
|
|
| Have a textbox - or a spin control - to accept Sort Order values. This is instead of having, for every single forum group or forum, an additional 500 |
|
|
|
Posted 17/01/2005 14:35:05 |
|
|
Forum Newbie
      
Group: Customers
Last Login: 17/01/2005 14:09:00
Posts: 7,
Visits: 1
|
|
Hi Neas, I'm not sure I understand exactly what you mean. Could you elaborate on this? Clearly reducing page size would be of interest. Maybe you could explain in a bit more detail your vision of diminishing the page size? Thanks and best wishes, Alex
|
|
|
|
Posted 20/01/2005 13:29:02 |
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 25/01/2005 16:26:00
Posts: 9,
Visits: 1
|
|
Suppose I have 160 individual forums in one instance of InstantForum.NET (that's the number I am setting up).
When I want to change the sort order index of any of those forums - say, to make it appear at the top of its forum group instead of where it currently is - I have to load the whole Sort Forums page.
In the Sort Forums page, there is the feature that for every individual forum, there is also a drop-down list containing 500 options, the numbers 1 - 500. Each individual option is encoded in the Html which InsantForum.NET has to generate and the browser has to download and render. Each one of those options takes 32 bytes (). Each such drop-down list contains 500 x 32 bytes = 16000 bytes = 15.625 kilobytes worth of options.
That's just for one forum. If I have more than one forum, then multiply that amount by the number of forums I have. In my case, 15.625 kilobytes * 160 = 2.5 megabytes.
If I want to fiddle with the sort order of my forums, I have to download 2.5 megabytes simply for the drop-down lists. That's over and above the size that the page would otherwise be. That's a huge page. Depending on my connection, that could take a couple of minutes to download.
And since the user is only able to change the sort order of one forum at a time, if I wanted to change the sort order of all of the forums I have, I will have to download that page 160 times, making the total cumulative *extra* amount I have to download = 400 megabytes. It could literally take hours just to update all the sort order indices of all my forums. That is a task which - even if I don't *have* to do it - I want the ability to do. Right now the task is prohibitive.
Instead, simply have a textbox (next to each forum name) where the user enters a number. It cuts down drastically on the size of the page, even when you have to consider validating the number in the textbox.
Another option is to have a spin control instead of a drop-down list. A spin control is a textbox where users can only enter numbers, to the right of which are two buttons, one with an up arrow and one with a down arrow. Even a spin control, with all of the Html and scripts it might take to render it and make it work, will be less than 15.625 kilobytes.
Moreover, I suggest the ability to be able to edit the sort order indices of all of the forums all at once, and have an update button at the bottom of the page which will save all of my changes to the database all at once.
Thus in total, it will cut down drastically on the page size, and it will cut the number of times I have to re-load the page from 159 to zero.
|
|
|
|