----- Original Message ----- From: "Marco Catunda" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, November 22, 2008 6:01 PM Subject: Re: [flexcoders] Store local data
> The kind of data is a dataprovider with a lot of records (500 - 2000). > > The shared objects don't store many datas. :( > > Let me explain my problem. > > I have a screen which user have to input data very fast. It is a kind > of POS (Point of Sale). The input text, with autosuggest approach, in > this screen, > is searching data into dataprovider using memory search. If I implement > server > search for this autosuggest the latency of this approach won't be accept > for > input data very fast. > > Until 2.000 records I guess no problem, but If It will be more, I will > have > a problem. Well, you should have some idea about data volumes. You don't say how big a record is. A traditional method of implementing fast searches is to have a data structure that is a tree or split on parts of the data index. For example if part of a keyword started as an alphabetic character, then you can split the dataset 26 ways depending on the first character. If you have a numeric key, then you can have a ten way split depending on the first character. You could have a tree representation. You can keep all this in memory - just download when the app starts. There are loads of established solutions out there for fast lookup. > The AIR has a SQL local data store. I'm looking foward to have the same > thing in > Flash Player. :) You probably don't need it. Paul > > On Sat, Nov 22, 2008 at 1:38 PM, Paul Andrews <[EMAIL PROTECTED]> wrote: >> >> ----- Original Message ----- >> From: "Marco Catunda" <[EMAIL PROTECTED]> >> To: <[email protected]> >> Sent: Saturday, November 22, 2008 3:00 PM >> Subject: [flexcoders] Store local data >> >>> Hi, >>> >>> Is there any way to store local data using Flash Player? >> >> Yes - shared objects (like cookies, really) >> >> http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/SharedObject.html >> >> These are fine for persisting data between sessions and/or sharing data >> between concurrently running flash instances. >> >>> I've just seen using AIR. >>> >>> I would like to use it for cache solution. >> >> I doubt it will be suitable, but maybe your use of the word cache isn't >> quite right. >> >> What kind of cache? >> >> Paul >> >>> >>> -- >>> Marco Catunda >>> >>> ------------------------------------ >>> >>> -- >>> Flexcoders Mailing List >>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >>> Alternative FAQ location: >>> >>> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 >>> Search Archives: >>> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups >>> Links >>> >>> >>> >> >> > > -- > Marco Catunda > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Alternative FAQ location: > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > >

