[commits] [Wiki] changed: Project/Rdo

Wiki Guest wikiguest at horde.org
Sun Feb 16 09:59:35 UTC 2020


guest [95.90.223.65]  Sun, 16 Feb 2020 09:59:35 +0000

Modified page: https://wiki.horde.org/Project/Rdo
New Revision:  7
Change log:  Some thoughts

@@ -7,10 +7,14 @@
  ++ Bugs

  Rdo currently gives unexpected results for to-one relations where no  
or a wrong relation key exists. [#10880]

-++ Ideas for H5
-
+++ Ideas for H6
+ * Allow subtyping or wrapping the Horde_Rdo_Base class
+ * Refactor against interfaces rather than base class
+ * Have a minimum interface which allows "plain" entity objects  
without the smart delete, update etc shortcuts.
+ * Move some of the rarely used stuff to traits. Keep the traits in  
the default Horde_Rdo_Base but don't require them in the base interface
+ * Maybe some more dynamic approach to lazy loading?
   * __toString() for Horde_Rdo_Query objects. Basically a convenience  
wrapper for ->getQuery().
   * returning exceptions instead of null for wrong relation keys or  
null relation keys. Facilitates chaining relations like  
$baby->mother->granny->name. Currently if granny isn't present, we run  
into a php fatal (method on non-object). This is a BC break.

  ++ People



More information about the commits mailing list