[Fwd: [Phplib-users] phplib app integration]
Brought to you by:
nhruby,
richardarcher
From: Giancarlo P. <gia...@na...> - 2001-09-11 22:17:57
|
Here it is. I was able to find that article by Stephen, even though phplib-users archives are KO. It contains some checkpoints worth considering. Anyway, if youu feel brave to try a new design of phplib, you find it in http://www.navigare.net/cgi-bin/cvsweb.cgi/pages_uap/ (uap = User/Auth/Perm) It is basically the same phplib methods, moved to somewhere else, or called byy something else in between. Kind of 3 tier, with a very minimal Auth, 'form' handling moved to page.inc (but should be moved to User->page->loginform in future), User as a 'middle-tier' to it. The idea is to have one or two features: Session and User (or just only User), and have Auth, Perms, Page, Storage, Log, Whatever, be a 'feature' of User. It is a start for having 'loadable User classes' as I wrote before. The code there works, and you'll find most of actual Phplib methods, but all is quite reengineered. It's only the 'pages' dir with a user, auth, and page inc within it. Read the code then please... It is fairly rough, unclomplete and a work in progress. -Gian |