Re: New Cache Class
| From: | David Rech | Date: | Sun, 24 Aug 2003 16:46:44 +0000 |
| Subject: | Re: New Cache Class | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-20461@lists.php.net to get a copy of this message | ||
Hi,
> Cache_Lite is roughly 300 LOC (without comments)
I'd use 108 lines without comments =)
Does any of the other packages offer such like an easy way to
"assign" dynamic content to the cache?
I've looked at PEAR Cache, and there are just things handling
with expiration of sites and such things...or am I wrong with
that?
With my tiny package you can easily replace content such as
usernames, session ids, the date shown on the page... :)
For small- to midrange projects it has all you need. Maybe there
are some things to change, but that's the way developing
takes...making packages better and better ;-)
Why need any SQL abstraction and such stuff, when you just need to
assign your existing dynamic content (or the methods which generates it,
for the ideal case) for caching reasons...
The implentation into an existing project is very easy, because
you don't need to change the whole app to work with the cache.
Just making little additions to the code and yo're done.
--
David Rech
mailto:david.rech@mindwood.com