storing

Storing settings inside DB

Hello, can someone tell me what's the best way to store many different settings in a database? Should I use one table with id,key,value? Here is an example what i have to store: PageNavigation.Font = "fontRegular"; PageNavigation.FontSize = 14; PageNavigation.FontColor = 0x000000; PageNavigation.SubFont = "fontRegular"; PageNavigation...

storing images in iphone application

hi. im making an application that store multipe information like name description images for each entity. ( large number of entity). I have an issue in storing images in for this application. whats the best way to store them. database or document directory. and also im affraid that the images will increase the size of my application. wai...

[c++] How can I store types and affect them identifiers ?

Hi, I need to store types in a list with one identifier for each one; I need a random access to the elements of the list without knowing the identifier at compilation time I tried the meta-programming typelist but I don't know how to return types with the identifier, i get compilation error : 'cannot appear in a constant-expression' ...

Storing passwords with python

I have a program I'm writing in python, and I have the need to store some passwords. These passwords will be the passwords to ftp servers, so it's important that they're not just plainly visible to everybody. This also means that I can't store a non-reversible hash of the password like you would on a webserver, because I'm not checking i...

How to store image historgam into database and be able to perform search

I need to write webapp where user will be able to perform search based on images colors. My question is how to store color data? I think that best solution will be to reduce image colors and prepare histogram for each r, g and b channel but I don't have idea how to design database. I want to use MySQL DBMS. Could someone point me into ri...

Disadvantages of storing images in a Database?

Hey! Can anyone please tell me the disadvantages of storing images in a MySQL database? Is it not as efficient as storing the images on the server? Like, will it take longer for the images to load and perhaps slow download the database? Appreciate the help! ...

Storing Last Search Results

Hi, I'm working on a collaborative project and I'm trying to figure out the best way to store previous search results. Let me quickly explain the scenario. I have a list of search result items and I want these results to be stored as a user clicks on an item and visit's it's landing page. At the top there will be a section listing the l...