NYCPHP Meetup

NYPHP.org

[nycphp-talk] the stale V in MVC web apps

Allen Shaw ashaw at polymerdb.org
Wed Mar 4 13:12:03 EST 2009


David Mintz wrote:
> The users are looking at a set of database rows. The table does have  
> last-modified and creation-datetime columns. Saving the current set's 
> maximum last-update and/or created value in the client, and then 
> checking against the server by running an Ajax request to a 
> server-side script that in turn queries the db to see if anything has 
> changed... seems like almost as much overhead as just reloading 
> unconditionally. 
Processing overhead maybe, but you save a big chunk on bandwidth and 
reload time in the user experience.

- A.

-- 
Allen Shaw
slidePresenter (http://slides.sourceforge.net)




More information about the talk mailing list