You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/09/22 20:35:14 UTC

svn commit: r578472 - /lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/bestpractises.xml

Author: andreas
Date: Sat Sep 22 11:35:13 2007
New Revision: 578472

URL: http://svn.apache.org/viewvc?rev=578472&view=rev
Log:
Added note about document wrappers to best practise tutorial

Modified:
    lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/bestpractises.xml

Modified: lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/bestpractises.xml
URL: http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/bestpractises.xml?rev=578472&r1=578471&r2=578472&view=diff
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/bestpractises.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/bestpractises.xml Sat Sep 22 11:35:13 2007
@@ -103,6 +103,13 @@
           call them from the template. Modularizing JX templates is another promising approach
           to reduce their complexity.
         </li>
+        <li>
+          Document wrapper classes have proven useful to encapsulate the functionality of
+          objects which store their properties in Lenya documents, typically as XML. The wrapper
+          class exposes only business-level functionality. You can use an advanced object-to-XML
+          binding framework to persist the data, or you can just use the helper classes in the
+          <code>org.apache.lenya.xml</code> package. 
+        </li>
       </ul>
     </section>
   </body>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org