Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

Re: [PHP3] How big can a cookie be? From: Daniel Lashua (daniel.lashua <email protected>)
Date: 01/13/99

Please don't misread me here. I am in NO way complaining about PHP. I was
simply stating that if PHP has better DBF support that PHPLIB could be
based on it instead of an SQL backend. It was kind of my round about way
of making a feature request.

I have tried the DBM method... it works... but because it is limited to a
single key/value pair, it makes it difficult to implement the field
concept. In addition, Miva's version of xBase allowed you to search for a
specific field containing a certain value (like a WHERE in SQL) where as
in DBM you would have to go through each and every key/value till you
found where you wanted. On top of that, say I only needed three fields and
didn't mind parsing the entire thing to find what I was looking for. Three
fields means three DBM files and ID's for each record. Perhaps what I
could do is implement a DBF like mechanism using DBM and a PHP class. One
could use it just like DBF, when in reality, it is DBM.

I think I am going to try that.

-daniel

Brian Jones wrote:

> Daniel Lashua <daniel.lashua <email protected>> writes:
>
> > Miva (http://www.htmlscript.com) PHPLIB could be easily built on
> > it... and then no database would be required at all. It would also
> > make small projects much faster, as a real SQL server is not needed
> > as long as records can be looked up quickly in a DBF.
> >
> > -daniel
>
> Why isn't dbm enough?
>
> If you want to complain about php3, I have a few of them, but for the
> most part I like it even if it doesn't give you simple things like the
> ability to open an arbitrary socket and read/write to it, at least I
> can't tell that this is possible.
>
> Brian
> --
> |-------------------------------|Software Engineer
> |Brian Jones |cbj <email protected>
> |cbj <email protected> |http://www.nortel.net
> |http://www.classpath.org/ |------------------------------

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev <email protected>