2009/6/20 Yevhen Bobrov <[email protected]>:
> This is very poor performance. You can have 3 db hits per such simple stuff.
>
> Imagine that you have a Customers grid. And user starts editing current cell
> - 1 load. Lag.
>
> Than it can discard edit. Not bad - nothing will happen.
>
> Or he could commit changes - 2 hits. One for save and one for reload.
>
> And now imagine that user should be able to quickly edit many rows in that
> grid by just changing few of the cells in each row and db is on WAN.
>
> And I do need to apply changes directly to domain object because some
> behavior need to be triggered, validations,  calculations etc need to run.
>
> Rich domain model.

If your DB is on a WAN, a two-tier architecture will not be performant.

You'd best expose your domain model another way.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to