Copying many cds to a stack causes standalone to hang
janschenkel at yahoo.com
Sun Nov 26 09:51:05 CST 2006
--- Steve Denney <steve.denney at bigpond.com> wrote:
> I'm writing a product catalog application (for
> The standalone is a splashscreen.
> A .rev file contains the main body of the
> Product pages (cards) are copied to the main body on
> start up (so pages can
> be added, edited, deleted). Product pages are
> between 200 - 750 KB (text +
> This worked fine until my client added many more
> product pages.
> Now the standalone hangs after 50 or so cds have
> been added.
> Potentially the number of catalog pages could run
> into the 100's. I wanted
> them within the one open stack to speed up product
> searches and travel
> between pages.
> Does anybody have any suggestions? Thanks in
> Steve Denney
> Out There Solutions
When you copy a cared, you're bringing over not only
copies of all the controls, but also of all their
scripts. This can require a lot of resources beyond
the text and images.
Depending on the application, I would either :
- use groups with backgroundBehaviour and then use the
'create card' command to create new cards with these
shared elements on them, or
- completely separate the user interface from the data
storage, and reading the necessary data from another
stack when the user decides to look at another product
Of course this approach works best when the product
pages contain the same type of data and their layout
doesn't differ much between pages.
Hope this helped,
Quartam Reports for Revolution
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
More information about the use-livecode