Hi everybody,

I have a problem.
In our project there is a huge flat database as JS array 30.000 items.
No db engine on the server.
JS file is too big to load at once (downloading time criterion).
So there is an idea to partition the array horizontally on the basis of 2
starting letters of array item values.

The next element in the solution is to place DynAPI widget in one frame and
to load adequate sub-array as a JS file linked to html file occupying the
second frame 1 pxl wide.

When a user try to search a string in the Array, my widget evaluate 2
starting letters, loads an adequate HTML file (aa_itemz.html) with adequate
sub-array linked by tag <script src='aa_itemz.js'></script>, loads the
array, search the string among the items and returns values.

It almost works.
The only problem is the order of execution - I have always the array values
from before the updates i.e. before loading the adequate array.

Is there any solution or I should start it all over (it would be a pitty -
because my wdiget grows into very nice tool).

regards,

Marek Najmajer



_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to