On Thu, 5 Aug 2004 20:22:29 +0000 (UTC), KKramsch wrote:[color=blue]
> In Andrew Thompson writes:[color=green]
>>On Thu, 5 Aug 2004 17:04:06 +0000 (UTC), KKramsch wrote:[/color][/color]
(R.C.)[color=blue][color=green][color=darkred]
>>>>If you are going to send it anyway (and there
>>>>probably are smarter alternatives) then Array and Object literals offer
>>>>the least overhead.
>>>
>>> Thanks, that's great. I hadn't even *thought* of sending the
>>> data as part of the JavaScript code![/color][/color][/color]
....[color=blue][color=green]
>>The code you inherited is (starting to seem)
>>like inherently poor code and design,[/color][/color]
....[color=blue]
> You say that the code and the design appear to be "inherently
> poor". Any specific comments you may have would be a great help.[/color]
I may have given the wrong impression,
but my reasoning is this.
The transfer of such large amounts of data between
server and client requires careful consideration
about both the upper limit to the transfer, and
the form in which it is delivered.
Both these factors need to be considered in the
initial design of the system, and thereafter, the
choice of technologies used to implement that design.
Is there any indicationin the existing JS (or any
supporting documents) about how the previous JS
programmer was moving the data (or planning to)?
If not, it indicates that necessary design was
never done.
The company may find that in order to 'implement'
the current (lack of) design using the current
code takes longer than to design the system properly
and start fresh. E.G. they might find they are
lumbered with a web-app that is three months
overdue and still buggy as the harried programmer
(read you) is desperately trying to work out
design, data handling and presentation within
the constraints of poorly thought out legacy
scripts written by a person who probably knew
they were leaving the company at least two months
prior to suddenly disappearing out the door.
Sorry I cannot be more specific, that would require
a lot closer inspection of the overall web-app, and
I *may* be presuming some things that turn out to
be incorrect. But I have seen many IT based projects
die when the management would not let go of an
inherently bad 'almost complete' system rather
than admit at an earlier (potentially recoverable)
stage that they made a fundamental error.
(shrugs) You are in the best position to judge,
ultimately.
--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology