2017 © Pedro Peláez
 

library simplecache

An abstract class to be extended when implementation the PPR-16 SimpleCache Interface.

image

awonderphp/simplecache

An abstract class to be extended when implementation the PPR-16 SimpleCache Interface.

  • Wednesday, March 21, 2018
  • by AWonderPHP
  • Repository
  • 1 Watchers
  • 0 Stars
  • 84 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 4 % Grown

The README.md

SimpleCache

An abstract class for implementations of PSR-16 to extend., (*1)

This package provides an abstract class independent of cache back-end that classes implementing PSR-16 can extend., (*2)

Two extended (usable) classes of mine:, (*3)

Developers wishing to write a class that extends this class, please see the API.md file., (*4)

About PHP-FIG and PSR-16

PHP-FIG is the PHP Framework Interop Group. They exist largely to create standards that make it easier for different developers around the world to create different projects that will work well with each other. PHP-FIG was a driving force behind the PSR-0 and PSR-4 auto-load standards for example that make it much much easier to integrate PHP class libraries written by other people into your web applications., (*5)

The PHP-FIG previously released PSR-6 as a Caching Interface standard but the interface requirements of PSR-6 are beyond the needs of many web application developers. KISS - ‘Keep It Simple Silly’ applies for many of us who do not need some of the features PSR-6 requires., (*6)

To meet the needs of those of us who do not need what PSR-6 implements, PSR-16 was developed and is now an accepted standard., (*7)

When I read PSR-16, the defined interface was not that different from my own APCu caching class that I have personally been using for years. So I decided to make my class meet the interface requirements., (*8)

I then decided to abstract it, so that those who use something other than APCu can easily adapt this to what they use., (*9)

Coding Standard

The coding standard used is primarily PSR-2 except with the closing ?> allowed, and the addition of some PHPDoc requirements largely but not completely borrowed from the PEAR standard., (*10)

The intent is switch PHPDoc standard to PSR-5 if it ever becomes an accepted standard., (*11)

The phpcs sniff rules being used: psr2.phpcs.xml, (*12)

About AWonderPHP

I may become homeless before the end of 2018. I do not know how to survive, I try but what I try, it always seems to fail. This just is not a society people like me are meant to be a part of., (*13)

If I do become homeless, I fear my mental health will deteriorate at an accelerated rate and I do not want to witness that happening to myself., (*14)

AWonderPHP is my attempt to clean up and package a lot of the PHP classes I personally use so that something of me will be left behind., (*15)

If you wish to help, please see the SURVIVAL.md file., (*16)

Thank you for your time., (*17)


EOF, (*18)

The Versions

21/03 2018

dev-master

9999999-dev https://github.com/AliceWonderMiscreations/SimpleCache

An abstract class to be extended when implementation the PPR-16 SimpleCache Interface.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alice Wonder

21/03 2018

1.0.1

1.0.1.0 https://github.com/AliceWonderMiscreations/SimpleCache

An abstract class to be extended when implementation the PPR-16 SimpleCache Interface.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alice Wonder

21/03 2018

dev-devel

dev-devel https://github.com/AliceWonderMiscreations/SimpleCache

An abstract class to be extended when implementation the PPR-16 SimpleCache Interface.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alice Wonder

18/03 2018

1.0.0

1.0.0.0 https://github.com/AliceWonderMiscreations/SimpleCache

An abstract class to be extended when implementation the PPR-16 SimpleCache Interface.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alice Wonder