The phpArmoryCache class is nearing completion and now fully supports both flat files and mysql caching of any and all "fetch" functions. Note that the cache class now uses the original function names (characterFetch, guildFetch, etc.) so you do not need to change your function calls in your app to switch to caching - simply change the include and instantiation:
include('phpArmoryCache.class.php');
$armory = new phpArmoryCache();... read more
Developers with knowledge in both PHP and XML are needed for this project because I can no longer work on it on a day-to-day basis. I will, however, maintain a presence in the project via the website and the newly formed mailing lists.
Speaking of mailing lists. Go to the SF Mailing Lists tab for this project and you'll be able to sign up for the phpArmory mailing list. This way we can all more easily communicate.
I've begun working on a caching class that extends the functionality of phpArmory. There is a file called phpArmoryCache.class.php in the SVN trunk available for your viewing pleasure. The class is nowhere near completion at the moment and is in the repository so that you can see where it's going.
The point is to make available an easy to use caching system for phpArmory that removes the need to fetch data from the Armory every single time a function is called in an application.... read more
An example of a really simple character sheet is available in the examples directory from the latest SVN trunk (see http://phparmory.sourceforge.net/?q=node/6\). All it does is utilize phpArmory::characterFetch() to provide an array of data pertaining to a specific character. The resulting array is then print_r()'d to the screen (with HTML markup) so that you can view the array structure. This could easily be extended to display a detailed character sheet with item information provided via phpArmory::itemFetch().
An example of a really simple guild roster is available in the examples directory from the latest SVN trunk (see http://phparmory.sourceforge.net/?q=node/6\). All it does is utilize phpArmory::guildFetch() to provide an array of data pertaining to a specific guild. The resulting array is then looped through to list information on each member of the guild. The example could easily be extended to utilize phpArmory::characterFetch() and phpArmory::itemFetch() thus creating a more robust and feature rich roster.
phpArmory is a PHP class library that can easily fetch and unserialize World of Warcraft Armory XML data into structured associative arrays.
You can now download the phpArmory-0.2 Release from the Downloads section of our SF.net Project Page!
New in this release:
- Class functions return an associative array instead of serialized XML data.
- Added phpArmory::itemFetch() which returns an associative array with item details.... read more