ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-Lib-Dev
php-Lib-Dev
[phplib-dev] guidelines for phplib-based packages design/integration?
by Giancarlo Pinerolo other posts by this author
Jul 10 2001 9:11AM messages near this date
Re[2]: [phplib-dev] security: READ THIS! | Re: [phplib-dev] guidelines for phplib-based packages design/integration?
I've recently come back to phplib et al.

There are quite  alot of phplib-based packages out there. But each one
seems to suppose that you're installing phplib for the first time. In
that case that's (almost) straight-forward most of the times.

The problem comes when you want to integrate one of these into a site
that already has its implementation of phplib, not disposable of
course.

Have you tried recently to integrate IMP or bookmarker into a
*preexisting* phplib site? It's a nightmare. 

I think there should be some guidelines for designing phplib-based
apps. And maybe phplib should offer some methods to make integration
smooth. Someway to respect  and merge smoothly  with any preexisting
phplib installation.
Ideally one should just need to, eventually, add the necessary extra
columns his auth_user table and go.

'How' is the problem.

The defines (_PHPLIB_[watever]) in local.inc would be a good point of
start


I've been thinking (and struggling) about this for a while, after
facing phplib-based packages that rely their  authentication to being
logged in to a popserver, a ldap directory, or whatever, and trying to
make them work with the preexisting authentication method. 

The standard of extending classes is already there, and is a excellent
base for this. 
But I think some work has to be done, both on the phplib developmen
side and the package development side, to somehow allow an easy
respect and assumption of any preexistent implementation of core
function as authentication, permission gerarchy logic, login
validation, password encryption,  an more and more.

Giancarlo Pinerolo


---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe@[...].de
For additional commands, e-mail: phplib-dev-help@lists.netuse.de
Thread:
Giancarlo Pinerolo
giancarlo pinerolo
giancarlo
Kirk Ismay
nathan r. hruby
giancarlo pinerolo
giancarlo pinerolo

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved