Re: Pagers and Iterators

[prev] [thread] [next] [Date index for 2005/02/25]

From: Carl Johnstone
Subject: Re: Pagers and Iterators
Date: 17:09 on 25 Feb 2005
> When I said 'live' calculation I meant as in 'a calculation that can
> only be done at template time' - in this case fetching a price from a
> web service.

Considering that to sort, you have to retrieve the prices for all the rows 
in your table.

Wouldn't you be better off adding a price column to your DB, then running a 
separate script on a schedule to retrieve all the prices and update your 
table. Decide what the maximum age you can live with (is it the end of the 
world if the prices are 10 minutes old for instance?) and set the schedule 
accordingly.

Carl

(message missing)

Pagers and Iterators
Simon Wistow 11:30 on 25 Feb 2005

Re: Pagers and Iterators
Daniel Wijnands 11:34 on 25 Feb 2005

Re: Pagers and Iterators
Simon Wistow 11:47 on 25 Feb 2005

Re: Pagers and Iterators
Sean Davis 11:55 on 25 Feb 2005

Re: Pagers and Iterators
Simon Wistow 12:14 on 25 Feb 2005

Re: Pagers and Iterators
Carl Johnstone 13:23 on 25 Feb 2005

Re: Pagers and Iterators
Cees Hek 14:18 on 25 Feb 2005

Re: Pagers and Iterators
Matt S Trout 14:35 on 25 Feb 2005

Re: Pagers and Iterators
William Ross 12:15 on 25 Feb 2005

Re: Pagers and Iterators
William Ross 14:04 on 25 Feb 2005

Re: Pagers and Iterators
Simon Wistow 15:37 on 25 Feb 2005

Re: Pagers and Iterators
Simon Wistow 16:34 on 25 Feb 2005

Re: Pagers and Iterators
Ofer Nave 20:52 on 25 Feb 2005

Re: Pagers and Iterators
Cees Hek 16:41 on 25 Feb 2005

Re: Pagers and Iterators
Carl Johnstone 17:09 on 25 Feb 2005

Generated at 17:56 on 01 Mar 2005 by mariachi v0.52