Page 1 of 1

can anyone give me suggestions

Posted: Fri Jul 30, 2004 12:33 am
by rajavel
Can anyone help me in this issue

1) I have client machines having only monitors
2) cookies and sessions must not be used
3) I am having pages with dynamic contents
4) it will differ according to the language
5) i am going to fetch all the values from the database according to the language
6) i am using swf files to display the content

what i want now is
1) fetch the values once by getting the language from the user
2) maintain it as an object
3) take the values from the object and display it in the page dynamically

give me some ideas for doing this

swf files are taking time to load. so i want to minimize the database fetch

Posted: Fri Jul 30, 2004 1:19 am
by feyd
have the swf file store all the data needed internally, if you want to minimize the traffic to and from the database server. this will increase the memory requirements of the swf player. Or for less memory, only store maybe the surrounding pages data in the swf, or the data needed to get to that point in the site structure.

thanks for ur reply

Posted: Fri Jul 30, 2004 1:56 am
by rajavel
i am fetching the data from the mysql for displaying the caption of buttons in flash. is it better to store the whole data (for all the pages) or for each page....If it is so how can i store? in sessions or static variables or something else

Posted: Fri Jul 30, 2004 2:02 am
by feyd
you should be able to store it all inside flash itself I believe. Storing all the pages will use more memory on the thin client/kiosk, but make it far more responsive. If the database server is on a LAN or other highspeed connection within the same network, you can easily get away with only getting for the current page unless you expect hundreds of clients and lots of data being transfered...

Posted: Fri Jul 30, 2004 2:11 am
by rajavel
Hi Feyd,

Thanks man. I 2 think ...storing the values for each page is better.....But to make it more responsive when they cum back again.. shall i store in a static variable or sessions.....whic will be more useful...

Posted: Fri Jul 30, 2004 2:29 am
by feyd
you stated above that sessions aren't allowed, so it'd have to be static..