[dev] Correct method for inter-application calls

Diego Rivera lrivera at racsa.co.cr
Tue Jun 3 14:49:33 PDT 2003


Hello all!

I'm writing some integration stuff that may require interoperation
between Kronolith, Imp, Moment, Nag and Turba, and I'm wondering what
the correct mechanism to follow would be to call a function exported in
- say - IMP's api.php from a method within a Turba backend driver, or
within turba itself.

I'm reluctant to start doing includes and requires all over the place,
so if there's a horde-standard way of doing this I'd much prefer that
(a-la Horde::callAppApi('imp', '_api_call', arg1, arg2, ... , argN ) ).

I looked at Horde.php and horde's api.php in search of what I would be
needing (or something close) and came up empty except for listApis()
which I don't think is what I want.

Are there any special considerations I should be aware of?  Any pointers
as to existing code that already does this?

I don't want to be submitting patches (as I've done in the past) that -
although effective - don't fit into the framework.  saves us all a lot
of time.

Thanks for the pointers!

Best

-- 
===========================================================
* Diego Rivera                                            *
*                                                         *
* "The Disease: Windows, the cure: Linux"                 *
*                                                         *
* E-mail: lrivera<AT>racsa<DOT>co<DOT>cr                  *
* Replace: <AT>='@', <DOT>='.'                            *
*                                                         *
* GPG: BE59 5469 C696 C80D FF5C  5926 0B36 F8FF DA98 62AD *
* GPG Public Key avaliable at: http://pgp.mit.edu         *
===========================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.horde.org/archives/dev/attachments/20030603/ea0fcf9d/attachment.bin


More information about the dev mailing list