Home Email Us Top Top Top

Speed Up Your FX.php Web Applications!

FX.php enables you to leverage the power of PHP when creating FileMaker web applications. FXneoCache is a free, open-source add-on that extends the powerful FX.php framework, utilizing MySQL or file-based caching to speed up your FX.php applications dramatically.

Download FXneoCache Today!
Visit our forums if you have any questions.


How FXneoCache Works


FXneoCache works by storing the results of FX.php "find" and "find all" requests. After a "find" or "find all" request is made, FXneoCache does the following:

  1. FXneoCache checks to see if it has a recently cached version of the request.
  2. If a recently cached version exists, FXneoCache retrieves results from the cache and returns them without having to search FileMaker.
  3. If a recently cached version doesn't exist, FXneoCache retrieves results from FileMaker then stores them for later retrieval as cached results.
FXneoCache allows you to specifiy "how fresh" cached results have to be. If your data is frequently changed, the default cache time of 5 minutes may be desirable. If your data infrequently changes, a cache time of 60 minutes or more may be desirable.


FXneoCache: Fast, Flexible, and Easy!


FXneoCache is fast. Because FXneoCache caches data using quick storage mechanisms, page load times can be much faster.

As a simple test, we ran a load testing utility to benchmark the performance of uncached FX.php versus FXneoCache-enabled requests. The chart to the right shows how in a test of 10 concurrent series of 10 requests, FXneoCache-enabled requests were approximately three times as fast.

FXneoCache is flexible. FXneoCache supports two methods of caching: MySQL and file-based caching. This allows you to choose the solution which best fits your needs.

FXneoCache is easy. Because FXneoCache extends FX.php, very little changes to application code are required to leverage caching.

Initialization

Below is an example of standard FX.php initialization:

$BookQuery = new FX($serverIP, $webCompanionPort, $dataSourceType);

Below is an example of an FXneoCache-enabled FX.php initialization:

$BookQuery = new FXneocache($serverIP, $webCompanionPort, $dataSourceType);

Find Request

Below is an example of a standard FX.php "find" request:

$BookData = $BookQuery->FMFind();

Below is an example of an FXneoCache-enabled FX.php "find" request":

$BookData = $BookQuery->FMCacheFind();

Find All Request

Below is an example of a standard FX.php "find all" request:

$BookData = $BookQuery->FMFindAll();

Below is an example of an FXneoCache-enabled FX.php "find" request":

$BookData = $BookQuery->FMCacheFindAll();

As the examples about show, there is very little difference in standard and cached-enabled code!


FXneoCache Downloads


Try FXneoCache for yourself. It's free (free as in "beer" and as in "freedom")!

Below are links to download FXneoCache in its entirety (or just the parts you're curious about).


Downloads (v1.01)

FXandFXneocache.zip FX.php and FXneoCache Bundle
FXneocache.zip FXneoCache and Documentation
FXneoCache.pdf Documentation Only (PDF)


Neo Code Software logo Problems? Neo Code Software Can Help!

What's 9 - 9?
First Name Contact Us!
Last Name
Email