[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    Re: [Quanta] File database for caching php 4.3 output
From:       "erkin tek" <gemeyilim () gmail ! com>
Date:       2006-07-05 12:51:25
Message-ID: a662e1bb0607050551m49ad3ddbre9a20acd43bd7756 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I wrote simple caching lib for that purpose. I can send functions and
method, personally, since this list is about quanta.
I used a directory to store files. For example browse.php have
browse.0.rank.cache
browse.1.rank.cache
and going on.



On 7/5/06, Werner Joss <werner@hoernerfranzracing.de> wrote:
>
> Am Mittwoch, 5. Juli 2006 10:02 schrieb Mark A. Taff:
> > Anyone have any suggestions for a single-file-based database for caching
> > string output from php 4.3?  My site is getting a bit much for my
> el-cheapo
> > webhost. ;-)
> >
> > All I need is a single two column table, ID, DATA.  SQL-92 compliance
> would
> > be nice, though not needed as this is so simple.  I plan to cache script
> > results on first "empty recordset" query result. I'd like to be able to
> > just delete the database file to force the cache to be rebuilt on the
> next
> > page request.
> >
> > Of course, mysql is always an option, but I'd prefer the simplicity of
> the
> > file-based database.
> >
> > Anyone have any suggestions?
>
> try sqlite -
> a quick google search shows there is php support for it:
> http://us3.php.net/sqlite
>
> werner
>
>
> _______________________________________________
> Quanta mailing list
> Quanta@mail.kde.org
> https://mail.kde.org/mailman/listinfo/quanta
>
>
>
>


-- 
www.fotograf.web.tr

[Attachment #5 (text/html)]

<div>I wrote simple caching lib for that purpose. I can send functions and method, \
personally, since this list is about quanta.</div> <div>I used a directory to store \
files. For example browse.php have </div> <div>browse.0.rank.cache</div>
<div>browse.1.rank.cache</div>
<div>and going on. </div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 7/5/06, <b class="gmail_sendername">Werner Joss</b> \
&lt;<a href="mailto:werner@hoernerfranzracing.de">werner@hoernerfranzracing.de</a>&gt; \
wrote:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px \
0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Am Mittwoch, 5. Juli 2006 10:02 schrieb \
Mark A. Taff:<br>&gt; Anyone have any suggestions for a single-file-based database \
for caching <br>&gt; string output from php 4.3?&nbsp;&nbsp;My site is getting a bit \
much for my el-cheapo<br>&gt; webhost. ;-)<br>&gt;<br>&gt; All I need is a single two \
column table, ID, DATA.&nbsp;&nbsp;SQL-92 compliance would<br>&gt; be nice, though \
not needed as this is so simple.&nbsp;&nbsp;I plan to cache script <br>&gt; results \
on first &quot;empty recordset&quot; query result. I'd like to be able to<br>&gt; \
just delete the database file to force the cache to be rebuilt on the next<br>&gt; \
page request.<br>&gt;<br>&gt; Of course, mysql is always an option, but I'd prefer \
the simplicity of the <br>&gt; file-based database.<br>&gt;<br>&gt; Anyone have any \
suggestions?<br><br>try sqlite -<br>a quick google search shows there is php support \
for it:<br><a href="http://us3.php.net/sqlite">http://us3.php.net/sqlite</a> \
<br><br>werner<br><br><br>_______________________________________________<br>Quanta \
mailing list<br><a href="mailto:Quanta@mail.kde.org">Quanta@mail.kde.org</a><br><a \
href="https://mail.kde.org/mailman/listinfo/quanta">https://mail.kde.org/mailman/listinfo/quanta
 </a><br><br><br><br></blockquote></div><br><br clear="all"><br>-- <br><a \
href="http://www.fotograf.web.tr">www.fotograf.web.tr</a> 



_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic