September 2016
Intermediate to advanced
1091 pages
21h 41m
English
The cache software design pattern is where you store a result that takes a long time to generate. This could take the form of a lengthy view script or a complex database query. The storage destination needs to be highly performant, of course, if you wish to improve the user experience of website visitors. As different installations will have different potential storage targets, the cache mechanism lends itself to the adapter pattern as well. Examples of potential storage destinations include memory, a database, and the filesystem.
Application\Cache\Constants class:<?php namespace Application\Cache; ...
Read now
Unlock full access