Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    Please, give an example. Actually, in the current form, I don't understand your problem. Lets say you have data like an invoice, and subdata like "invoice-address". Now you pass an "invoice" object to your "invoice-view", this calls "GetInvoiceAddress" and passes the resulting object to the "invoice-address-view". The latter then calls the "Get" methods of the invoice-address-object. So no deep-method call at all - where is the problem? Commented Jan 14, 2013 at 8:26
  • 1
    Can't each child be responsible of it's own rendering? Supported in many different frameworks, but you don't give any examples or tell us what kind of application it is it's hard to give an answer. Commented Jan 14, 2013 at 9:11
  • -1, you were here, read my comment, had a chance to improve your question, but missed it. If you want other people to invest their time for you, please invest some of your time to make your questions clearer. I will remove the downvote if you clarify your question. Commented Jan 15, 2013 at 9:08
  • @DocBrown Apologies, but I was doing some research in trying to see how I could restructure with more clarity in general. But I think Shivan's answer best answers my question. EDIT: fixed error Commented Jan 16, 2013 at 1:11