[ZPatterns] a LDAP-AttributeProvider question
Ulrich Eck
[email protected]
Tue, 19 Jun 2001 17:37:14 +0200
I developed an application with ZPatterns that makes heavy use of MySQL -
Data.
We store User/Role/Account data for several authentication services.
We use Skinscripts to map the Relational-Data onto the DataSkin Objects.
We have minimum 1000 Accounts to handle.
There is a performance problem with e.g. fetching all account-objects for an
update
because the data is fetched one-by-one record
There is another point, that it would probably be better to store that data
in a
LDAP-Directory for better reusability.
To avoid the procedure of programming LDAP-Filters I thought about
creating an LDAP-Attribute-Provider.
One could use it in Racks/Specialists and it uses an existing
LDAP-Connection
like a ZSQL Method.
To customize you need to define the base-dsn and the object-filter
and which attributes should be stored (like PersistentAP)
How difficult to implement is it ?????
Could this speed up the hole Product, if effective caching methods are used
???
thanks for your comment
Ulrich Eck