<?xml version="1.0" encoding="windows-1252"?>
<node id="48975" title="Re: OO-style question" created="2000-12-30 04:27:33" updated="2005-07-27 18:11:22">
<type id="11">
note</type>
<author id="33117">
footpad</author>
<data>
<field name="doctext">
[Ovid],

&lt;P&gt;With respect, it sounds like you need an additional class.&lt;/P&gt;

&lt;P&gt;A will handle the raw data access.  B will return the data in one format and C returns it in another.&lt;/P&gt;

&lt;P&gt;Document the class you're most comfortable with the user having, privatize the rest.&lt;/P&gt;

&lt;P&gt;Also, keep the MVC (model, view, controller) model in mind.  One data model, alternate views, controllers vary according to need.&lt;/P&gt;

&lt;P&gt;&lt;I&gt;--f&lt;/i&gt;&lt;/p?</field>
<field name="root_node">
48891</field>
<field name="parent_node">
48891</field>
</data>
</node>
