Page 240 of 211,274, showing 20 records out of 4,225,464 total, starting on record 4,781, ending on 4,800
# | Username | Text | |
---|---|---|---|
# | Aug 8th 2008, 08:39 | TommyO | it is stateless |
# | Aug 8th 2008, 08:39 | pgcd_away | of course, i might resort to good old foreach, if needed |
# | Aug 8th 2008, 08:41 | ammadsaleem1 | The thing I want to carry out is to perform a mass database update |
# | Aug 8th 2008, 08:41 | ammadsaleem1 | since it may cause script time out, so i am going for threading |
# | Aug 8th 2008, 08:42 | ammadsaleem1 | is there any other solution to the probelm |
# | Aug 8th 2008, 08:42 | ammadsaleem1 | ? |
# | Aug 8th 2008, 08:43 | TommyO | pgcd_away: see Helper class, which all helpers, including your, inherits. it has a model() method |
# | Aug 8th 2008, 08:43 | TommyO | pgcd_away: $this->model() |
# | Aug 8th 2008, 08:43 | ammadsaleem1 | can cake help me in this regard |
# | Aug 8th 2008, 08:43 | ammadsaleem1 | ? |
# | Aug 8th 2008, 08:43 | tbranyen_ | ammadsaleem1 a mass database update when? |
# | Aug 8th 2008, 08:43 | tbranyen_ | whenever someone hits the site or whenever the server starts? |
# | Aug 8th 2008, 08:44 | tbranyen_ | Because the former is a horrible idea and the latter can be done by just adding a script to the rc local or windows startup |
# | Aug 8th 2008, 08:44 | TommyO | ammadsaleem1: sounds like the work of a cron job |
# | Aug 8th 2008, 08:44 | TommyO | or scheduler |
# | Aug 8th 2008, 08:44 | pgcd_away | tommy0: thanks |
# | Aug 8th 2008, 08:45 | ammadsaleem1 | the Quiz maker updates the answer of the question, then all the player who have attempted the question, their scores get recalculated |
# | Aug 8th 2008, 08:45 | ammadsaleem1 | we have shared hosting plus we want the results to be real time |
# | Aug 8th 2008, 08:45 | tbranyen_ | that doesn't seem very massive |
# | Aug 8th 2008, 08:46 | tbranyen_ | over 10k records i would consider massive |