By browsing this website you accept that we set Cookies on your device in order to serve you relevant ads and a better user experience. Close

Nachricht

« Zurück

PHP Classes Notable PHP package Jaxon

From: PHP Classes Notable <list-notable@phpclasses.net>, sent: 13:43:13 - 30.12.2016

Notable PHP package: Jaxon - PHP Classes
Many Web applications have browser side (JavaScript) code making AJAX calls to server side code in PHP that is mapped to classes of objects. Usually the server side code needs to register classes or functions that will handle the AJAX calls. However, when you have many classes to handle your Web application AJAX calls, registering classes one by one can be a tedious time consuming task. The package provides a more efficient method to register many classes at once. You just specify a directory and the package will lookup and load the classes on demand when the AJAX calls are received. This way you also do not have to waste time instantiating objects of the handler classes until they are necessary.

Notable PHP package: Jaxon

Box+O365. Work better.

Combining the power and security of Box with the productivity of Microsoft. Download this eBook to learn how Box+Office 365 helps you.

Rofl, a PHP package is considered Notable when it does something different that is worth noting.

If you have also written Notable packages, contribute them to the PHP Classes site to get your work more exposure.

If your notable package is innovative, you may also earn prizes and recognition in the PHP Innovation Award.

Now you can also win a Big elePHPant as one of the possible prizes you can win every month. Check the complete list of prizes here: List of prizes

Package

Jaxon

Call PHP classes from JavaScript using AJAX

Moderator comment

Many Web applications have browser side (JavaScript) code making AJAX calls to server side code in PHP that is mapped to classes of objects.

Usually the server side code needs to register classes or functions that will handle the AJAX calls.

However, when you have many classes to handle your Web application AJAX calls, registering classes one by one can be a tedious time consuming task.

The package provides a more efficient method to register many classes at once. You just specify a directory and the package will lookup and load the classes on demand when the AJAX calls are received.

This way you also do not have to waste time instantiating objects of the handler classes until they are necessary.

Author

Thierry Feuzeu

Groups

PHP 5, Language, AJAX, Traits

Description

This package can call PHP classes from JavaScript using AJAX.

It can register objects of classes or global functions and process AJAX requests that are handled by the registered functions.

The package can register directories of classes, so it is not necessary to register each class in each directory at once, with support to namespaces.

The classes are autoloaded on demand, so only the classes that necessary for each AJAX request will be loaded.

The AJAX calls are done by a separate JavaScript library which can eventually be retrieved from a CDN (Content Delivery Networt) so it does not have to be installed by this package.
Rofl you are getting this message as free service for being a user of the PHP Classes site to which you registered voluntarily using the email address rofldigger@getsend.xyz. If you wish to unsubscribe go to the unsubscribe page.