plugin-icon

AJAX Manufactory

This plugin allows you to create AJAX applications by simple way. It implements JSON data transfer, data escaping, error handling.
Рейтинги
5
Последние изменения
June 28, 2019
Версия
1.7.11
Активные установки
200
AJAX Manufactory

Whenever you plan to begin developing applications on WordPress using AJAX technology, you have to solve a number of 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 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. 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 side.
  • An AJAX response wrapper at the server side which gives to you sent data as PHP array and allows you to create an AJAX response as a set of simple «commands» like «make an alert», «set up javascript variable», «put html text to specific html node(s)», «execute a javascript function», «go to specific URL» etc.
  • Automatic execution of «commands» queue at the client side. Additionally you can specify your own callback.

Documentation

Please refer Documentation.

Активные установки
200
Проверено на
5.2.21
Этот плагин можно скачать и использовать при автономной установке WordPress.