I want to do a module for sales.
I would like to know if using many partial views is good practice or not.
For example:
<div id="mypage">
<div id="select_account">
@*
here the code for select an account or call a partial view?
*@
</div>
<div id="select_product">
</div>
<div id="mydetails">
@*
what is better? use the code for details here? or added them on a partial view?
*@
</div>
<div id="showingtotals">
@*
here its shows the iva, subtotal and total then the same question
partialview? or on this page?
*@
</div>
</div>
After says that, for example when I added a product, I have that to do 2 calls
first for update details div
and second for update totals div
, then its going to to slow down my system.
My principal question ... Should I use a lot of partial views? Or is it better use the fewest partial views? On this simple example, there are 4 partial views (for select customer, select product, show details, and show totals) (and maybe other for receive the payment)