Login | Register

June 2007

DataAdmin Class 1.08 Update

Jun/25/2007 07:22 PM

I made a small little update to the DataAdmin class today. This is the first update in close to a year. All I did was add the ability to set a variable 'editable' to FALSE which then disables being able to click on data to edit it. This was simply a feature I needed for part of a backend update to this site. I still have some major changes I plan to make to this class, probably for a 1.1 version. The big things I want are the ability to add callback before and after running various processes. For instance, an image database might need to actually delete the image off the disk after deleting the entry from the database, so a callback could be triggered to handle that. My image backend on this site basically doesn't allow deleting images for that reason right now.
The other feature I want to add is for the class to actually handle taking XML data, performing database controls, then returning XML. That way apps could be designed however they want and still have full transparency from handling the raw database. This goes somewhat against the original intentions of this class, which was the ability to quickly develop a frontend to a database with almost no HTML coding, but this will allow more flexibility and sites could use a hybrid of the current setup and one where the HTML code is fully their own. I also will probably add the ability to have just PHP array variables to be sent back as results and also quite likely JSON to allow for some nice AJAX database controls.
I'd also even like to allow for a plugin type system where current functions in the class could be extended and added new feature by the outside code, but this would require more PHP knowledge on my end, and I don't really see too much of a new for that. There are just times when it seems like certain things really don't need to be added to the main class, they could just be patched in for the particular implementation I am using.

Hailey's 4th Birthday

Jun/25/2007 10:37 AM

Yesterday was Hailey's birthday. She is now 4 years old. I can't believe how quickly this has passed. Her mom and I had a party for her at Chuck E Cheese's. Got her a Cinderella cake that she picked out. Her and Brett had a lot of fun playing all the games at Chuck E Cheese's. Unfortunately they were the only kids in her group as her friend Hannah couldn't make it. This did have the added benefit of Nickcole's uncle/boyfriend not making an appearance as I really didn't want to deal with that shit.
For the gifts Hailey got, her mom got her a bicycle. I got her some dresses, a new game for her V.Smile, and an Ariel doll. She also got some Dora stuff, and some princess dressup stuff amongst other gifts.
In other news, this also means that this website has been up and running for 4 years now. I have some upcoming features I plan to add such as a user login system.
Also, I quite ill. I'm not sure what the deal is or how serious it is and I have no medical insurance, so seeing a doctor is out of the question. For over a week now I have felt constantly drained of all my energy. This started one night with an extremely sore belly and suspicions of food poisoning (as my brother who I ate dinner with also got sick). On top of that, I seem to have to work hard to breath and my throat has been sore. About two days ago I started to taste blood and that has been pretty regular now and hasn't stopped. Vitamins seem to be no help in this battle. Hopefully I get better soon.
This illness has meant that I have mostly avoided drinking this past week, but I started to feel a little stir-crazy since I hadn't been out doing anything, so I finally went out to the bar on Saturday night. I think that was a good plan and I felt much better that night at least.

Google Ads

Jun/11/2007 05:28 AM

I have finally surpassed the $100 mark for ad revenue coming into this site. During that same timeframe I spent close to $125 to actually run the site. But, now that I passed this mark, I will at least finally see the money come in the mail.

Last Saturday

Jun/09/2007 12:57 PM

Been meaning to write something about this for some time now, but this last week I have been quite out of out.
Last Saturday Brian and I got around to having a little party at our place. We've been living in this apartment together since the end of January and we decided it was good time to have some people over. I've been working every weekend for the past year and a half due to a work schedule I agreed to, but I had taken last weekend off. Thankfully, this is actually going to be the last weekend I work both Saturday and Sunday as I work in a new department at the DPS.
Anyway, back to last Saturday. I turned out to be quite a bit of fun. Brian and I bought some booze for ourselves and made sure everyone else knew it was BYOB. There really wasn't a whole lot of drinking going on though as many of the people came apparently didn't want to cause they were driving, or they just don't like to. That was cool though, we had the Wii going, CJ brought over some extra Wiimotes, so we had all four going. Paul brought over an extra guitar for Guitar Hero, so we were able to have two-player games of that going. Jen brought over her blender and we made some damn tasty daiquiris.
Overall everything seemed to turn out well. Nothing got destroyed or damaged. No puking went on, which is better than I can say based on events of the night prior when there was only three of us there. There was about 15 to 20 people that stopped by total. Sadly I crashed kinda early as I had only 5 hours of sleep on the night before and I was pretty busy much of that day. I think I might have been coming down with something as the rest of that week didn't really seem to be all that clear to me. I don't think I really had a clue as to what was going on til about Thursday.
Now that I have this new job, hopefully we'll be able to plan more events like this. I think next time we'll have to get some organized drinking games going because there was way to much liquor left over when last Saturday was done.