[dev] DataTree patch

Carlos Pedrinaci cpedrinaci at yahoo.es
Wed Apr 14 09:16:01 PDT 2004


Attached are more patches.
Those patches adapt Share, History and Groups to this new DataTree
backend.
Still remain many to be adapted.. 

Carlos.

PS: The function _dynamicBinding() is always the same. Any idea about
how to solve the fact that __FILE__ won't resolve correctly if we
inherit that method?


On Fri, 2004-04-09 at 18:53, Carlos Pedrinaci wrote:
> Hi,
> 
> I have modified the DataTree driver so that it can generate instances of
> the appropriate class when retrieving objects.
> 
> As a result getObject doesn't need anymore the $class parameter but
> which is more important, that allows a particular DataTree to have
> different kinds of objects without loosing any of the object's specific
> functionnality.
> 
> This has been created mainly because I intend to store different kinds
> of Projects in Thor. Thanks to that new feature, Thor can behave
> generically, independently from the underlying kind of project it's
> dealing with. The specific functionnality being encapsulated inside each
> kind of Project which are in fact DataTreeObject_Project subclasses.
> 
> The patch does also remove the "serialized data" stuff from the DataTree
> driver which I believe is something intended for a future.
> 
> I know you guys are very very busy with releases but I'd be pleased if
> you can take some time and check it. Together with it I also put a patch
> for Agora that makes use of that new DataTree driver. You can also find
> the new table schema in the file sql.txt.
> 
> If you are interested on applying that patch let me know and I'll start
> adapting the rest of modules (it would be nice to get some help on that
> though :))
> 
> Regards,
> 
> Carlos
> 
> ______________________________________________________________________
> -- 
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_Group.txt
Type: text/x-patch
Size: 1410 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20040414/897fad89/patch_Group.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_History.txt
Type: text/x-patch
Size: 1460 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20040414/897fad89/patch_History.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_Share.txt
Type: text/x-patch
Size: 2327 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20040414/897fad89/patch_Share.bin


More information about the dev mailing list