> (sent to list -- Phil, if you want yours to the list, you might want to
> resend.  Have I mentioned lately I hate lists that don't reply-To by
> default?)

oops, thanks for posting it!

>
> > Is anyone's web server really that strapped for disk space? This kind of
> > compression is great for operating systems and disk controllers but is
> > generally inappropriate for things like web applications. Why say
"$prefs |=
> > 32768" when you can say "$prefs[15] = 1"?
>
> Because databases don't store arrays?

Another oops. Guess I'm still a C programmer. Please read "$prefs[15]" as
"substr $prefs 15 1" and forget that I pretended you could assign to it.
Also forget that I was using code to do this. This job will probably be done
by hand, in which case the alternatives are "change the 15th character to a
1" or "add 32768".

> As I said, putting the permissions into databases is more powerful,
> but sometimes the above is easier to maintain than a table of permissions,
> a table of users, a table of which users are in which groups, a table of
> what permissions each group has, etc.

It looks like it's going to come down to a matter of preference and style on
this one. Personally, I prefer to keep my preferences in a database so that
non-programmers can administer them.



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to