[wordpress插件] AJAX ManufactoryAJAX工厂

wordpress 插件 文章 2020-02-13 23:20 552 0 全屏看文

AI助手支持GPT4.0

评分

100

100

描述

Whenever you plan to begin developing applications on WordPress using AJAX technology, you have to solve a number of

每当您打算开始使用AJAX技术在WordPress上开发应用程序时,都必须解决许多问题。

minor issues unrelated to the logic of your application:

与您的应用程序逻辑无关的小问题:

    • How to package and transmit data from the browser to the server, so they will not have been distorted?
    • 如何将数据从浏览器打包并传输到服务器,以使它们不会失真?

    • How to transfer data, if they are multi-dimensional array?
    • 如果它们是多维数组,如何传输数据?

    • How to implement a custom processing of AJAX response in case, again, it represents a complex set of data (a typical

    • 如何再次实现自定义AJAX响应处理,它表示一组复杂的数据(典型的

      example – form sending and on-server validation)?

    • 例如–表单发送和服务器上验证)?

    • How to handle data transition errors?
    • 如何处理数据转换错误?

    • How to debug all this stuff?
    • 如何调试所有这些东西?

    Usually these issues generates a lot of spaghetti code, moreover, each new request type requires some customization of

    通常,这些问题会生成大量的意大利面条代码,此外,每个新的请求类型都需要对
    进行一些自定义

    code.

    码。

    Managing all of this, you forget about the function that you would like to implement.

    管理所有这些,您会忘记要实现的功能。

    AJAX Manufactory plugin for WordPress have most of these tasks already solved.

    用于WordPress的AJAX Manufactory插件已经解决了大多数这些任务。

    You can think about functionality and

    您可以考虑功能和

    business logic instead.

    而是业务逻辑。

    What you can have from the box:

    您可以从包装盒中获得什么:

      • A simple function at the client side which allows to send any your complex data from javascript to WordPress server

      • 客户端的简单功能,可以将您所有的复杂数据从javascript发送到WordPress服务器

        side.

      • 侧面。

      • An AJAX response wrapper at the server side which gives to you sent data as PHP array and allows you to create

      • 服务器端的AJAX响应包装器,可以将您发送的数据作为PHP数组发送给您,并允许您创建

        an AJAX response as a set of simple “commands” like “make an alert”, “set up javascript variable”, “put html text to

        AJAX响应作为一组简单的“命令”,例如“发出警报”,“设置javascript变量”,“将html文本放入

        specific html node(s)”, “execute a javascript function”, “go to specific URL” etc.

      • 特定的html节点”,“执行javascript函数”,“转到特定的URL”等。

      • Automatic execution of “commands” queue at the client side.

      • 在客户端自动执行“命令”队列。

        Additionally you can specify your own callback.

      • 此外,您可以指定自己的回调。

      Documentation

      文档

      Please refer Documentation.

      请参考文档

安装步骤

    1. Unpack and upload ajax-manufactory folder with all files to the /wp-content/plugins/ directory
    2. 将包含所有文件的 ajax-manufactory 文件夹解压缩并上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

下载地址

https://downloads.wordpress.org/plugin/ajax-manufactory.zip

https://downloads.wordpress.org/plugin/ajax-manufactory.zip

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Affilizr会员
[wordpress插件] Delyva德利瓦
[wordpress插件] Custom Widget Area自定义小部件区域
[wordpress插件] cPanel Manager (from iControlWP)cPanel Manager(来自iControlWP)
[wordpress插件] Bounce.ccBounce.cc
随便看看
微信开放平台跟公众平台有什么区别? 3608
怎么添加小程序支付功能? 4516
教育科技公司申请微信支付被拒绝? 4798
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472