Go to file
Abel Hoogeveen ae861b8b6e Implemented a caching library.
The library comes with 6 drivers: APC, file, memcached, redis, wincache and a dummy driver. Which driver you can use is dependant on your situation.
In order to build this a Driver library has been implemented. A driver can be called using (FuzeWorks\)Libraries::getDriver($libraryName); This will load the driver library and the requested library. Regular library rules apply.

Every driver comes with the same methods (found in documentation) but the 2 most important are $driver->save($objectName, $object, $time); whereby $time is an integer in minutes; and $driver->get($objectName); which will receive the cached value;

To load a cache driver you need to run something like the following:
$cache = FuzeWorks\Libraries::getDriver('cache', array('adapter' => 'apc', 'backup' => 'file'));
This will try and load the APC cache driver. If this fails it will try and load the file driver. If all fails it will load the dummy driver. The dummy driver does not actually save anything, it's just a placeholder until you fix your environment.

More information can be found in the documentation.
2016-05-14 16:18:59 +02:00
Application Implemented a caching library. 2016-05-14 16:18:59 +02:00
Core Implemented a caching library. 2016-05-14 16:18:59 +02:00
Modules Updated entire project to PSR2 code standard. Some classes still need to be moved around. 2016-05-07 19:22:09 +02:00
tests Updated entire project to PSR2 code standard. Some classes still need to be moved around. 2016-05-07 19:22:09 +02:00
.gitignore Updated entire project to PSR2 code standard. Some classes still need to be moved around. 2016-05-07 19:22:09 +02:00
.htaccess Initial Commit, merge of MicroCore and FuzeWorks3 2015-02-08 17:29:39 +01:00
build.xml Changed the nginx directives file and readded build.xml 2015-08-29 17:44:59 +02:00
composer.json Implemented a renewed Layout system. 2015-08-29 17:33:06 +02:00
CONTRIBUTING.md Updated license 2015-08-26 13:12:09 +02:00
Database.sql Started working on new systems. Continue on new development environment. 2015-09-12 19:52:04 +02:00
DCO Added contribution license 2015-08-26 13:11:33 +02:00
index.php Updated entire project to PSR2 code standard. Some classes still need to be moved around. 2016-05-07 19:22:09 +02:00
LICENSE Add license 2015-08-26 12:57:22 +02:00
phpunit.xml Added multiple tests and started real continuous integration 2015-05-01 22:47:11 +02:00
README.md Update README.md 2015-08-26 13:04:13 +02:00
VERSION Added version information 2015-05-27 21:57:45 +02:00

FuzeWorks - Readme

Version 0.0.1-DEV

A versatile PHP Framework built to perform.

https://fuzeworks.techfuze.net/

Summary

FuzeWorks is a flexible PHP Framework made for the requirements of todays web. For a summary of features, list of requirements, and installation instructions, please see the documentation in the ./doc/ folder or at http://fuzeworks.techfuze.net/

Copyright © 2013 onwards -- TechFuze

Certain libraries are copyrighted by their respective authors; see the full copyright list for details.

For full copyright information, please see ./doc/copyright.html

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Licensing of current contributions

Beginning on 2015-08-26, new contributions to this codebase are all licensed under terms compatible with GPLv3-or-later. FuzeWorks is currently transitioning older code to GPLv3-or-later, but work is not yet complete.

Enjoy!

TechFuze