[dev] [commits] Horde branch master updated. 533d8a65c27d5740e7b10f7758e57c6d847d2c39

Michael M Slusarz slusarz at horde.org
Thu Jul 16 21:08:14 UTC 2009


Quoting Jan Schneider <jan at horde.org>:

>>    Add Horde_Ajax::.
>>
>> framework/Ajax/lib/Horde/Ajax/Imple.php      |   54 +++++++++++++++++
>> framework/Ajax/lib/Horde/Ajax/Imple/Base.php |   79  
>> ++++++++++++++++++++++++++
>> framework/Ajax/package.xml                   |   65 +++++++++++++++++++++
>> 3 files changed, 198 insertions(+), 0 deletions(-)
>> create mode 100644 framework/Ajax/lib/Horde/Ajax/Imple.php
>> create mode 100644 framework/Ajax/lib/Horde/Ajax/Imple/Base.php
>> create mode 100644 framework/Ajax/package.xml
>>
>> http://git.horde.org/co.php/framework/Ajax/lib/Horde/Ajax/Imple.php?rt=horde-git&r=533d8a65c27d5740e7b10f7758e57c6d847d2c39
>> http://git.horde.org/co.php/framework/Ajax/lib/Horde/Ajax/Imple/Base.php?rt=horde-git&r=533d8a65c27d5740e7b10f7758e57c6d847d2c39
>> http://git.horde.org/co.php/framework/Ajax/package.xml?rt=horde-git&r=533d8a65c27d5740e7b10f7758e57c6d847d2c39
>
> Why getInstance() and not factory()?

AFAICT our pattern with having a base class (Horde_Ajax) and then  
having the individual drivers extend and abstract base class  
(Horde_Ajax_Base) have been using getInstance() - see, e.g.,  
Horde_Imap_Client.  But Chuck would probably be better positioned to  
explain whether this is a correct assumption.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list