Hi,
Ian Bicking schrieb:
> Okay, so we have different backends, like UserKit does currently. So,
> what does the frontend do? And I realized... almost nothing. Users
> have an ID, and they probably have a username, password, email, and
> name. Not complex stuff.
UserKit tried to solve some more problems. Reading the old mails it seems,
counting users (like "There are 3 guests and 1 registered user online") was
important as well. To me info like this is completely irrelevant.
Preference editing and persistence is important, though. Also preference
tracking ("this customer likes books by Stephen King") is interesting, but
as you said, this stuff is very application dependent and I'd rather not
see this in a UserKit-NextGeneration. OTOH Role management is a valid point
in UserKit. Sooner or later you're going to need this.
> And what would I gain by using a user framework? I guess I'd save about
> 10 lines of code for the username and such... at the expense of 15 lines
> of code for the glue. Maybe some reusable pages could be made... but
> what, a login, password change, forgotten password, user profile
> editing... not big stuff.
>
> So I've pretty much entirely unsold myself on doing a UserKit, or
> fleshing UserKit, or pushing its use.
>
> That said, there's some useful stuff we can do to make users easier to
> implement. Particularly making logins and authentication easier. A
> sample implementation of users would also probably be helpful. Some
> conventions for accessing the logged-in user would be good. Lots of
> little details.
In my Wiki I currently use a global DataTable-ParamFactory (called
CsvUserManager) as user storage. My solution is very crude and doesn't
allow removing or changing users. But it's better than having user/password
pairs in the source code, like SecurePage currently has. I absoluetly
agree, that a simple user managemenent with authentication, profile and
password management would help development of websites with Webware a great
deal. SecurePage just is not general enough.
I also think, that the interface of UserKit might be a good start for this.
ciao
--
Frank Barknecht
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss