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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.