Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How would one implement this efficiently in Perl? I am planning on using mySQL for the data storage, and was considering having a "rung" field. After thinking about this, I came to the conclusion that I'd need to modify lots and lots of fields to decrement their rung number if another object moved ahead. I eventually decided that the most efficient way would be to have a plaintext file with a unique identifier for each object stored with lines as their respective rungs. (ie: first line would be the first rung, 5th line would be the fifth rung, etc.) Then changing every rung's number would not be so intensive.
After thinking on this flattext + mySQL method, I decided I might as well be shooting myself in the foot. What would you monks recommend doing to keep track of rungs, preferrably staying away from a flattext list?
Thanks;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Implementation of a Ladder System
by cLive ;-) (Prior) on May 11, 2001 at 23:54 UTC | |
by Anonymous Monk on May 11, 2001 at 23:57 UTC | |
by cLive ;-) (Prior) on May 12, 2001 at 00:06 UTC | |
|
Re: Implementation of a Ladder System
by princepawn (Parson) on May 12, 2001 at 00:09 UTC | |
|
Re: Implementation of a Ladder System
by mr.nick (Chaplain) on May 12, 2001 at 00:56 UTC | |
|
Re: Implementation of a Ladder System
by tune (Curate) on May 11, 2001 at 23:46 UTC | |
|
Re: Implementation of a Ladder System
by steveAZ98 (Monk) on May 12, 2001 at 00:11 UTC | |
|
Re: Implementation of a Ladder System
by Banky (Acolyte) on May 12, 2001 at 01:39 UTC | |
|
Re: Implementation of a Ladder System
by eejack (Hermit) on May 12, 2001 at 05:27 UTC | |
|
Re: Implementation of a Ladder System
by Anonymous Monk on May 12, 2001 at 03:30 UTC |