gpt4 book ai didi

java - 在 Extjs 中 Ext.ajax.request 和 Ext.data.Connection 的区别

转载 作者:行者123 更新时间:2023-11-30 03:39:27 24 4
gpt4 key购买 nike

我对 EXTJS 有一点疑问,(即)可以解释 Ext.data.Connection 和 Ext.Ajax.request 之间的主要区别

最佳答案

释义自 4.2.1 版本文档:

Ext.Ajax.request is a singleton instance of Ext.data.Connection. This class is used to communicate with your server side code. In general, this class will be used for all Ajax requests in your application. The main reason for creating a separate Ext.data.Connection is for a series of requests that share common settings that are different to all other requests in the application.

如果您想了解更多信息,那么您可能应该查阅文档:

Ext.data.Connection

Ext.Ajax

关于java - 在 Extjs 中 Ext.ajax.request 和 Ext.data.Connection 的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27099917/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com