[Phphtmllib-devel] 1) Test cite for TextCSSNav issue. 2) idea for authentication module
Status: Beta
Brought to you by:
hemna
From: Erich E. <twi...@fa...> - 2004-02-21 00:07:24
|
1) For the issue of zooming in and out and seeing the TextCSSNav not respect its containing table's boundaries, see www.theexecutivecenter.com/testing/mine.php 2) One of the more difficult things with setting up a complete site solution, at least for beginners, seems to be getting a user registration and login system going. I would love to see widgets in phphtmllib handle login and so on, maybe setting flags for if you want to authenticate using MYSQL or ADODB or /etc/passwd. Ideally, one would be able to add the authentication widget to your page, and it would take care of starting the session with appropriate session variables and so on. The widget would have a method that you could call to see explicitly if the user is logged in or not. In addition to a login/authentication widget, there would be an associated registration widget, in which you could register new users, and maybe a change password widget. One benefit to having these predefined widgets is that it would give users a starting place as to knowing how the forms are all supposed to work together. Another benefit is that, well, I would love to be able to just include the LoginWidget, and have that be that. Also, such forms that are commonplace to e-commerce could be done securely once, instead of having all sorts of insecure hacks running around out there. Only problem is, I'm having trouble figuring out how to implement it. Such as, how does one make sure that the session is started before any HTML is output once you have authenticated the user? Add a this_is_an_authentication_page method to any page-like widget? Make an authentication widget that contains any other component which does its stuff first and then passes control off to its children? Something else I haven't considered? Thanks, --epte -- http://www.fastmail.fm - Access your email from home and the web |