English 中文(简体)
AJAX的每一项构成要素?
原标题:AJAX every form element?

无论是单独(例如,向Change提出请求等)还是收集所有数据,然后用点击提交数据,这是否更好?

基本上,汽车或用户启动的休息?

最佳回答

取决于以下因素:

  1. What kind of data are you trying to save. E.g. is it okay to be able to save the data partly or you need to save it all at once?
  2. How much data do you want to save? If you have many fields, you might want to send data in chunks (In case of wizards) or save everything at once
  3. Its also a good idea to have data saved (in background) for large forms in a temp way if the user may take a long time to fill in the data (e.g. emails saved as drafts)
  4. It also depends on your web app and the way you have designed your forms. In some forms you may allow certain fields to be modified and saved inplace, so that you can fetch additional data for example
  5. In most cases it would be good to have an explicit "Save" action for your data forms
问题回答

我通常说,用户启动的储蓄是大多数网络应用的出路。 如果不是这样的话,这就是用户如何与网络相交流;在网络应用中,熟悉和使用方便是极其重要的。 更不用说可以减少不必要的交通。

这并不是说,节省汽车没有位置,但往往会造成不必要的交通。 例如,如果我能自动获得一份联系表格,填写我的名字,然后通过电子邮件,改名,即已经发出3项没有好处的请求——这是没有附加好处的额外工作。

我再次认为,与你的申请或你正在计划使用该申请做很多事。 在线电梯经常使用汽车,我认为这样做是有益的,而接触表/信号表则不是一个好的想法。

我这样说,这取决于您的申请的性质,以及“一站不住脚”是否是用户所期望的行为。

“User 启动储蓄”是指用户从现在的网络形式的经验中期望的——除非有良好理由,否则我不会偏离。





相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

How can i update div continuously

I have asp.net application where i have a div which showing the value from other site. The value of that site is changing continuously. I want that my div will automatically update in some interval ...

热门标签