Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I'll be interested in any feedback on the following design problem.
I've got a data feed that updates real time. The criteria for the data is provided by the user entering values through the UI.

We have the option to update the criteria as and when the user enters something or to allow them to enter criteria in various fields then hit a button to refresh.

Most of the fields are independent, but there can be related fields such as a date range.

Take it as read that the user's understand the data they are providing and what they would expect to be returned when the query fires.

Should we go with the auto or manual refresh?

[edit - add extra info]
The filter is entered on the same form as the data is displayed, it is a desktop app, not web.

The criteria is persisted by various methods, this is out of scope but take as read it is there.

This is read operation, the updates are coming from [potentially] hundreds of different sources, we're just reading the output.
Posted
Updated 5-Feb-10 5:57am
v3

1 solution

You didnt mentioned where you want to do this. I think it is always better to update when the user accepts the whole page.

In the mean while, you can create a temporary memory and store it(persistent if possible).

The main database should be updated only when the user accepts the whole input.

:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900