CodeCanyon Service Ajax Api 12213943

CodeCanyon Service Ajax Api 12213943

CodeCanyon Service Ajax Api 12213943
Plugin \ Utilities
Ajax \ Wordpress \ Utilities \ Service

Plugin - Service Ajax Api 12213943 by kevintrio @ CodeCanyon

Plugin \ Utilities

Last Update: 27 July 15; Compatible Browsers: IE9, IE10, IE11, Firefox, Safari, Opera, Chrome; Files Included: PHP; Software Version: WordPress 4.2, WordPress 4.1, WordPress 4.0, WordPress 3.9, WordPress 3.8, WordPress 3.7, WordPress 3.6, WordPress 3.5, WordPress 3.4, WordPress 3.3, WordPress 3.2.

Service AJAX API is easy to use ajax interface for any plugin you have in mind.
Features includes
Available API Service.

- PublicAPI – Which AJAX api that can be serve publicly.

- ProtectedAPI – Which AJAX api that can only be serve when a user is logged in.

- AdminAPI – Which AJAX api that can only be accessed by Admin accounts.

So far this 3 suffice WordPress needs.
Classes.

- SVCdb (static) – Query Helper class, which uses wpdb so this is a drop in class.

- SVCHelper (static) – Some helper functions that will get updated as the library requires it.

- SVCService (static) – Service API Class

- SVCSQLConstructor – Used by SVCdb for creating a SQL statements.

- SVCStore (static) – Common Wordpress store functions, this also serves as an example of how to use the SVCdb class. This will also be updated as the library requires it.

3rd Party.
JSMin – Used to minify the javascript that is generated by service.

Folder structure.

/service
/docs
/includes
/libraries
/public
/services

Note : The services/**.php folder is where you will put your services scripts (api) it will auto included every time the plugin is initialised. Although it is not advisable, make it as minimum.
Usage.
Requires jQuery and it uses jQuery ajax promise.

> API.fetch('servertime', ['Y-m-d']).success(function (response) {
console.log(response);
}).fail(function(err) {
console.log(err);
});

More example can be found on plugin documentation

Keywords: ajax, api, service, utilities, wordpress, wordpress ajax.



Tags: Wordpress, Service, Utilities

Premium CodeCanyon Service Ajax Api 12213943 WordPress Themes, Website Templates, Mobile Themes, Flash Templates & Scripts from creative professional designers. Full details of CodeCanyon Service Ajax Api 12213943 for digital design and education. CodeCanyon Service Ajax Api 12213943 desigen style information or anything related.

Comments:

Name:*
E-Mail:*
Add Comments:
Enter Code: *