[Typo3-dev] Event / hook based user synchronization
Andy Staudacher
ast at gmx.ch
Mon May 30 14:29:35 CEST 2005
Hi,
To continue an old discussion, I'd ask you again about the status of an
event / hook based user synchronization to integrate 3rd party applications
in typo3.
See the discussion from last year:
http://typo3.org/documentation/mailing-lists/dev-list-archive/thread/62152/?
tx_maillisttofaq_pi1%5Bsword%5D=G2&tx_maillisttofaq_pi1%5Banswered_only%5D=0
&tx_maillisttofaq_pi1%5Bmode%5D=1
I'm from the G2 (gallery.sf.net) dev team and we've now successfully
integrated G2 in other "CMS" like xaraya, drupal, wp, mambo, ...
The concept of the integration is this:
- G2 exposes an embedding API to the emApp (embedding application, e.g.
typo3).
- User creation/modification/deletion is synchronized from emApp to G2 based
on events / hooks, i.e. the emApp executes hooked functionality when it
creates/modifies/deletes a user.
The conclusion from our last discussion was that you said that typo3's user
management code is badly factored and it's not yet possible to execute
hooked functionality for all user create/update/delete events.
I interpret this as:
"There's no unified set of API calls in typo3 to create/update/delete users.
Probably you are allowed to modify the user table without API calls with
your own SQL statements and this of course makes something like calling
hooked functionality impossible (without db triggers++)."
Is this about correct? And do you plan to change that concept?
More and more CMS/portals seem to offer something like hooks. It seems to be
an elegant concept which is perfect for synchronizing users (and other use
cases).
I guess typo3 wants to have as many (non 3rd party) typo3-extensions as
possible which are perfectly integrated and don't rely on other projects.
The reality is that standalone projects like gallery.sf.net can spend much
more resources for a specific application and it will always have more
(specific) features etc. Thus, integrating 3rd party applications nicely
into typo3 should also be in the interest of typo3.
I envision providers of "best of breed" 3rd party applications that are
built for integration (and work in standalone) and CMS/portals that offer
the functionality to easily integrate these 3rd party components in their
product.
Thread in G2 forums for more information:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=23957
The recent changes in mambo to introduce such hooked user synchronization
features:
http://forum.mamboserver.com/showthread.php?t=32581&page=4&pp=10#post221427
Thanks - Andy
PS: My previous mail was from a non-verfied mailing list account, please
ignore / reject it. Thanks.
More information about the TYPO3-dev
mailing list