PHP 缓存框架 Cachearium

码农软件 · 软件分类 · 缓存系统 · 2019-08-30 06:58:14

软件介绍

Cachearium 是一个用于 PHP 应用的高级缓存框架。

示例代码:

$data = 'xxxx';

// store
$cache = CacheAbstract::factory('your backend');
$cache->store($data, new CacheKey('Namespace', 'Subname'));

// get it later
try { 
    $data2 = $cache->get(new CacheKey('Namespace', 'Subname'));
    // $data2 == 'xxxx';
}
catch (NotCachedException($e)) {
    // handle not cached
}

// store new value with automatic invalidation
$data = 'yyy';
$cache->store($data, new CacheKey('Namespace', 'Subname'));

Cachearium cache debug probes

本文地址:https://www.codercto.com/soft/d/13472.html

Beginning ARKit for iPhone and iPad

Beginning ARKit for iPhone and iPad

Wallace Wang / Apress / 2018-11-5 / USD 39.99

Explore how to use ARKit to create iOS apps and learn the basics of augmented reality while diving into ARKit specific topics. This book reveals how augmented reality allows you to view the screen on ......一起来看看 《Beginning ARKit for iPhone and iPad》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具