Re: ListView - Caching Thumbnails?
- From: "nak" <a@xxxxx>
- Date: Fri, 29 May 2009 22:24:05 +0100
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.
.
- Follow-Ups:
- Re: ListView - Caching Thumbnails?
- From: Dale Atkin
- Re: ListView - Caching Thumbnails?
- References:
- Re: ListView - Caching Thumbnails?
- From: Dale Atkin
- Re: ListView - Caching Thumbnails?
- Prev by Date: Re: Passing a string
- Next by Date: Re: Good tutorial for working with XML
- Previous by thread: Re: ListView - Caching Thumbnails?
- Next by thread: Re: ListView - Caching Thumbnails?
- Index(es):
Relevant Pages
|