是否可以在客户端或服务器上处理数据... ??? [英] Wether to process data on Client Side or Server...???

查看:413
本文介绍了是否可以在客户端或服务器上处理数据... ???的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我目前正在处理一个处理大量数据的Web应用程序.我们在Teradata中拥有我们的数据库,并且只能对其进行选择访问.

在客户端上显示数据之前,我们需要使用温度表来处理数据.我们已选择使用XML作为中介.

我的困惑是,现在在显示数据之前我们有两种选择来处理数据.
通过存储在xml中并对其进行操作来在服务器上对其进行处理.
或在客户端进行整个操作.

我刚出生于Web应用程序,不知道该怎么办.
有人可以建议我走些路以便获得更好的机会.

欢迎以任何形式提供帮助....
预先感谢.

Hi all,

I am currently working on a web-application which going to deal with huge ammount of data.we are having our database in Teradata and only have select access on it.

We need to use temperory tables in order to process data before displaying it on client side. We had made a choice to use XML''s as a mediator.

My confusion is now we have two choices to process data before displaying.
One to process it on server by storing in xml''s and manipulating on them.
or to do whole operation on client side.

I am newborn for web-application don''t know what to do.
Can anybody suggest me some path to go along in order to get a better approch.

Help in any form is welcome....
Thanx in advance.

推荐答案

您好,

我相信这取决于您需要对XML进行哪种处理.

无论如何,我认为最好在服务器端进行所有开销,因为您不知道客户端的硬件.

您可以提供有关您的方案的更多详细信息吗?
Hello,

I believe it depends of what kind of processo you need to do with the XML.

Anyway, I thinks it''s best to do all the overhead on the server side, cause you don''t know the client''s side hardware.

Can you provide more details about your scenario?


如果数据对于用户来说非常常见,我将在服务器端执行该数据并缓存对时间不太敏感的所有相关信息,因此您可以保持性能.

如果数据仅与该用户的请求相关,则应在客户端进行操作,以免使服务器瘫痪,除非在处理过程中要考虑安全性约束.
If the data is very common to users, I would perform it server side and cache any relevant information that isn''t too time sensitive, so you can maintain performance.

If the data is only relevant to that user''s request, then it should be done client side as to not bog down the server, unless you have security constraints to consider during the processing.


感谢克莱伯,
由于数据量巨大,对XML的处理会很繁琐.
我认为从您的建议出发,最好使用服务器端处理....

我正在考虑使用IsoStorage临时存储xml,然后对其执行操作.完成操作后,将控件与数据进行数据绑定,并从Isostorage中删除xml.
请问这是合适的.. ??? :confused:
Thanks Kleber,
The processing on XML''s would be heavy due to huge ammount of data.
I think from your suggesion that it''d be better to go with server side processsing....

I am thinking to use IsoStorage to store xml''s temporarily and then perform operations on them.Once operations are done databind the controls with data and delete xml''s from Isostorage.
Would this be appropriet..??? :confused:


这篇关于是否可以在客户端或服务器上处理数据... ???的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆