Re: ListView - Caching Thumbnails?

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hi Dale

That was my thought too. I'm in the midst of some restructuring right now though (see my other question on looking for an XML tutorial for details), so I may put the extension back in. It isn't really *crucial* that the user doesn't change the files. The program just will yield some odd results if they do (which I figure they can deal with if they are monkeying with the database ;).

Here's one I wrote a while back, a little dated now as it was written for .net 1.0, but it should still work,

http://www.npsoftware.co.uk/Tutorials/tut_data_persistence_XML.php

Personally I don't use databases unless I really need to, I think they are overused and not everyone wants SQL Server installed, even if it is an Express edition. Access databases fill the middle ground I guess but still, you can edit XML by hand.

Basically they are images that the user imports in to an internal database. The underlying goal here is to create an interactive anatomical atlas program using high resolution images. Basically, it is a tool to help students learn/study anatomy. The user (or the prof) brings in an image, tags it with certain attributes (i.e. this is x,y,z). The images then become 'clickable' and will bring up a description of what ever you clicked on. The description is then also clickable, and contains links to related topics, and images within the database (this is where the thumbnails come in... in the search box, the user is presented with thumbnails of the 'hits').

Aaah okay, then there is allot to think about in that respect, as I'm not entirely how your app will be setup. Like how is the application going to be accessed? Client based instancing or a Web Browser? What data exactly is going to be shared?

If it's per user instancing then you have no need to use SQL, you can even encrypt and base 64 XML nodes so the user won't be able to read them without a bit of "hacking" anyway. If you want to share the thumbnails and indexing file through a web browser then you could get away with creating a web service that incorporates a singleton instance of your indexing reader/writer, but that is a little more work than just using a database in that respect.

Decisions eh? lol! Good luck anyway!

Nick.

.



Relevant Pages

  • Re: ListView - Caching Thumbnails?
    ... The program just will yield some odd results if they do (which I figure they can deal with if they are monkeying with the database;). ... Access databases fill the middle ground I guess but still, you can edit XML by hand. ... The underlying goal here is to create an interactive anatomical atlas program using high resolution images. ... Then I go back to school ). ...
    (microsoft.public.dotnet.languages.vb)
  • Re: XML as database for CD Gallery???
    ... The thing is, if I use a dataset, won't I need to create a database anyhow? ... But would need one XML file so I could search by title/author and keywords. ... > you can partition that at all to sets of images so the index remains under ... >> dataset to be manipulated sort of like a database. ...
    (microsoft.public.dotnet.xml)
  • Re: XML as database for CD Gallery???
    ... You can see the XML at http://www.lovettpictures.com/gallery1/gallery1.xml. ... here I'm using about 250 bytes of XML per image, so if you had 10000 images ... > I was considering trying to use XML to avoid using any database. ... > What is the group opinion on doing something like this? ...
    (microsoft.public.dotnet.xml)
  • Re: [PHP] Re: how to display images stored in DB*
    ... Your claim is that in ALL cases using a file system to store images ... bitmaps in a database without a damn good reason, a bad practice, yes. ...
    (php.general)
  • Re: DISCOVER_XML_METADATA
    ... expansion of ASSL XML returned by the server. ... You could do ExpandObject for the server in step 1. ... you could request ExpandObject for that database -- this is step ... all cubes and nothing else. ...
    (microsoft.public.sqlserver.olap)