Thursday, August 4, 2011

Book Database

Well, my book database is moving right along.  I found that the barcode on the back of the book isn't very reliable so I've moved to the ISBN number on the inside cover and this barcode seems to give me good data consistently.  The problem is that those barcodes are only included on books made after 1986.

I scanned about 50 books with my Symbol CS1504 barcode scanner and when I went to pull them in with my program I only got 19 records... WTH?  In trouble shooting the code (C#), I found that if I paused 750 miliseconds after each 'batch' read from the scanner that I would get the correct number of barcodes.  Very strange.  My current theory is that the code is just too fast for the serial comm to keep up.

So I have those codes stored in a database and now I am working on the program that pulls the data from Amazon (PHP).  I've got it pulling the data and putting into my book object, now I just need to write the code to store that data into the database.

After that I will work on the code to view / search / edit the data (PHP).

No comments:

Post a Comment

Comments are moderated. We're only going to allow stuff that we find funny, interesting, or just plain for the heck of it. If you don't like that, feel free to leave.

Copyright Realm Laboratories, LLC