RE: Zend Info
| From: | Steph | Date: | Sun, 12 Sep 2004 15:01:48 +0000 |
| Subject: | RE: Zend Info | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-3125@lists.php.net to get a copy of this message | ||
Toby, hi,
I just saw your mail on the news server, for which thank you!
In answer to your points, most of which are already or were about to be
covered: We have the data structure in the PEAR db, we have IP whitelisting
as a form of access control for that xmlrpc method, and we have a flag named
'anon' which is exactly what you're talking about with 'public_info'. The
only question there is whether the 'anon' flag should default to 'yes' or
'no'; and the reason it currently defaults to 'no' is that the information
already available happens to be in the public arena, and any further user
information would come from the user filling a form that has that 'anon'
option on it. It's not a problem to make it default to 'yes', or to rename
the field to 'public_info' at this stage if that's clearer, just so long as
it's finalised before any real users fill a real form.
The xmlrpc method needs a little work to make the 'anon' flag act on the
information at source; until recently I took responsibility for honouring
the wishes of the user, but if there are likely to be other servers calling
the method we can't rely on that being a good idea. Shouldn't really have
done it that way in the first place, I just hadn't thought it through. I'll
be quite happy to fix that aspect of the method when I know what the
situation is.
I knocked up a basic form to go beneath the current forms in
account_edit.php, but 1) it needs rewording because it's not likely to
remain only the Zend profile that's updated in this way, and 2) the 'anon'
flag default needs changing. Helgi and I both have copies of the last
version of the form that I put together; structurally it should be ok.
I want to see this rolling too; quite apart from having worked my butt off
for it, there's something nice about the thought that if I ever get around
to writing a PEAR class I'll be able to control my profile in several
different places from one short form :) and I particularly like it that it
could help devs when they're looking for work; I think professional
exposure's a positive thing that Zend and other PHP-related companies can
help active PHP developers across the board achieve when it's most needed,
and minimise when it's not.
- Steph