You could do it with WDDX -- CF has a tag, cfwddx, that
converts/transmits CF arrays on the server to _javascript_ arrays on the
client.
CFWDDX is the easiest way to go if you have a small number of users and
a small amount of data.
CFWDDX sends/receives the data and the _javascript_ code (about 22K) to
manipulate the data on the client.
Your data would be about 100 characters for each customer, so:
100 x 50 customers = 5,000 characters of raw data for 50 customers
5,000 x 256% wddx packet (XML) overhead * = 12,800 of data and XML
12,800 data & XML + 12k wddx js code = approximately 25K of data being
sent, over and above the html in the page.
So, how many of these 25K hits do you expect concurrently.
If just a few, WDDX is prolly OK.
But if the number of customers or number of concurrent users grows
significantly, you will have a bandwidth problem.
There are other ways to accomplish this at much less overhead -- one is
the concept of thinArrays,
This is an open-source solution that requires a little (not much) more
work on your part than the wddx tag
I will send you a write off list because it is too big to post.
Then look at cfwddx vs thinArrays & decide what's best for you.
* the 256% wddx overhead is approximate, but was observed in several
typical applications
By contrast, thinArrays add approcimately 13% Overhead
HTH
Dick
"The reason there are two senators for each state is so that one can be
the designated driver."
-Jay Leno -
On Jul 26, 2004, at 3:04 AM, Kevin wrote:
> Hi again,
>
> Well, the number of customers are probably going to be around 10 - 20
> to
> start, but I am not sure of the totals as I had neglected to ask that
> question. :-( For now I would feel safe with 50 as a total number of
> customers. The only information I am going to need to pull in is the
> customer name, address and phone info. If at all possible I would
> like not
> to have to use a 2nd page to list that info and collect the balance
> of the
> order header.
>
> Thanks!!!
>
> Kevin
>
> ��_____��
>
> Kevin
>
> how many customers in the list?
>
> What I am trying to determine is:
>
> 1) Is it practical to download the list of customers AND all their
> data
> with the page from CF
>
> 2) OR Just download the list of customers, have the user select one,
> then make a request to the server for another page with the fields
> filled in for that customer.
>
> Dick
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

