Not a lot went on today. Spent most of it figuring out how this site works and setting it up the way that I like. Based on the default stuff they give you I think it looks ok for now.

I did, however, get the chance to start on the Media Tab. The original method I was going to use to store the data in the database did not seem to fit well with the way the original code was written. And since I'm using as much of the original code as possible for version 1.0 I had to rethink the tables. As it would have it I came up with a better method that did not involve so many FOR loops. This will be a huge performance increase when adding or deleting media assets.

The effect is that I needed to pre-populate the database with place holders for each of the 4 media types. The 262,000 INSERT calls took a little while to complete. Somewhere in the range of 6 hours. But it's done and my initial tests show good promise.

I started the work on rewriting the MediaDialogs to use the database when building. Have not got very far on that but I have documented all the functions involved and have looked them over. Doesn't seem to be too complex and I hope to have that done tomorrow.

A big thorn, or so I thought, was going to be uploading and retrieving the binary of the media files to the Database.
I guess this would be a good time to explain that. When you add an asset to the GUE it will function like normal as that it copies the file (if it's not already in the correct folders) to the Data\Meshes folder in the project. Then it uploads the file to the database as a BLOB. This is so that once a user logs in, or uses the "Update Media" button in the RCS:TE they will check each asset, to see if they already have a copy, and update if they do not. This is so that all Team Members will have the same assets, and they use a local copy for loading speed.
Back to my little thorn. So I gave UUICEO the SQL calls to pull and add the BLOB. We were having some real issues with it. We could not seem to get the database to accept the file. But there is a ray of light. Just as UUICEO was going to bed, I had already got off Skype Call with him, he sends me an IM with the code that works. :) Words can not explain how happy I am. This was a major feature and I was getting to the point where I thought we was going to have to scrap it. But we are not out of the woods yet. It now seems that we can write to the Database, but getting the BLOB back to a file might be a little harder. We'll just have to wait to tomorrow to find out.

That's all I got for now. If you are reading this drop in a comment. I'd like to know that someone is reading it, even if you don't like the project.

--Look at a brick and say, 'I can do that better.' Why? Because I can!--
Demotis Silvermoon

Quote:
Your so much cooler, when you never pull it out.
You look so much cuter, with something in your mouth.
-Nickelback