[dev] [commits] Horde branch develop updated. 02f62712a2dfd16eccab6632db94e3a9334cbd01

Michael M Slusarz slusarz at horde.org
Fri Jun 1 16:43:48 UTC 2012


Quoting Michael J Rubinsky <mrubinsk at horde.org>:

> Quoting Michael M Slusarz <slusarz at horde.org>:
>
>> Quoting "Michael J. Rubinsky" <mrubinsk at horde.org>:
>>
>>> commit 02f62712a2dfd16eccab6632db94e3a9334cbd01
>>> Author: Michael J Rubinsky <mrubinsk at horde.org>
>>> Date:   Thu May 31 21:31:24 2012 -0400
>>>
>>>   Fix imple usage in dynamic view.
>>>
>>>   AJAX_URI points to the current application's ajax endpoint, imples
>>>   need the Horde application's ajax endpoint. This fixes, among  
>>> other things,
>>>   importing a s/mime cert into turba from imp.
>>
>> This is actually incorrect.  AJAX_URI should be the only URI  
>> needed.  My mistake was placing the AJAX method in the horde  
>> application rather than placing it in the core file.  I will revert  
>> this and correct.
>
> I kind of figured you would say that. I needed to fix it enough to  
> continue working on ActiveSync S/MIME functionality while I had the  
> time to do so and I have not yet had the time to digest how the new  
> ajax framework is supposed to work.

One of the goals with the new AJAX framework is to reduce the number  
of entrance point to make calls.  So that means a single URL to rule  
them all, and 1 (actually, 2 since a true submit action needs to  
handle data differently) javascript methods to call to make the request.

Imples should be transparent to the code calling the endpoint - it is  
nothing more than an AJAX action.  The new AJAX helper feature I added  
a few days ago makes it clean/easy to add imple hadling to any  
application when necessary.  (Helpers are nothing more than objects  
containing AJAX action handlers that can be dynamically added to an  
application's AJAX handler).

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list