PDA

View Full Version : RPC best practise



normanmaurer
15 Oct 2008, 3:38 AM
Hi all,

after digging a bit in the sample application code there are some things which are not clear to me yet.

What si the best practice to access data via RPC ? How you handle it ? Do you handle it in the Controller code or in the View ? Or maybe in both ?

Sorry for this silly question ...

Cheers,
Norman

amundb
16 Oct 2008, 10:39 AM
Generally all of you UI related code will live in the "View" and the model and any server side calls or data manipulation you do will live in the "Controller"

So If your talking about tree here, you would have Tree, and TreeBinder in your View. Then you'll have the Proxy, Loader, Reader, Store in the Controller.