Liver Punch By McCain

August 21, 2008 – 9:05 pm
I'm not  a huge McCain fan, I disagree with a lot of his domestic policy stances. However, I am even less oppressed by Obama, the quintessential empty suit. I think what annoys me most about the Obama brand (because that's what it is) are his orgiastic fanboy and girl followers who apparently think the nebulous idea of 'Hope' will save the USA. Mudville had hope too, and a lot of good that did them. In any event, anyone who thinks Obama is a choir boy has been living with blinders on. OBAMA IS A CHICAGO POLITICIAN. By this very fact you can assume that he has laid down with dogs and he has fleas. McCain just crushed him with this: Why is this so damaging? First of it is damaging because, well, it's true. Secondly, and more importantly, it is damaging because it takes Obama down to the level where he dare not tread: the level ...

ActiveRecord Pattern Written in PHP5

August 8, 2008 – 4:06 pm
I haven't posted in a while due to a preggos wife and all. However, I have been writing code. I wrote an active record pattern in PHP5 which I will not be using for the project I built it for, however it seems to work well. I am just going to post the code here as well as the Database classes that it uses. I won't go into too much depth, as to how it works put I will show you how to instantiate it. A few notes, I haven't totally fleshed the whole thing out, so I still consider it a work in progress. For example, there are some error catching holes and although I have tried, the the code may not be 100% DRY. Also, the database connectivity is written solely for MySQL, using php MySQL functions. Finally, I changed some method names, so I apologize if some of the ...

PHP - Framework or no Framework?

July 15, 2008 – 8:48 pm
So, I am planning to rebuild Allmalts.com, and I am trying to decide between using an existing PHP framework such as Cake or Code Ignitor, or trying to build my own custom application. I hate to say building my own "framework", because that implies working on a project that is intended to compete with or at least serve the same purpose as the above frameworks. Like Rails, Cake allows for very rapid application development, however, at the risk of sounding emotionally needy, I tend to find myself feeling a bit seperated from the application I am building when I use them. That being said, when I am under some ridiculous time crunch to build a database driven app, I look to a rapid application development framework. The great thing is, for Allmalts, (because it is my site) I am not under this type of time crunch at all. I will not be trying ...

AllMalts.com Redesign Concept

July 11, 2008 – 2:16 pm
So, I have decided to put more effort into my site, Allmalts.com, which has been languishing for about 5 months. The site generates a decent amount of traffic, mostly from organic search and has about 75 users. I built it pretty hastily, and I have to admit, I didn't do that good of a job - the cobbler's son has no shoes - as the saying goes. In any event, I am redoing the site from soup to nuts, the database will remain pretty stable, but I am throwing out all of my old code and starting from scratch. I have built out the first comp for the site, and you can view it here. I think it is a vast improvement over the old site, which, in my opinion is pretty damn boring.

Chiklis Watches MaFishingReport.com!

July 10, 2008 – 3:34 pm
Watch it or get your face burned with an electric stove coil! http://www.youtube.com/watch?v=kNPJPP7Je6E

Bad Logo Alert: Massachusetts Literary Foundation

July 7, 2008 – 7:35 pm
I don't know, to me that doesn't spell "MLF".

mafishingreport.com

July 6, 2008 – 4:50 pm
Just want to plug my friends new website. it is a great resource for Massachusetts fishing enthusiasts.

Ajaxy Google Charts with JSON and Jquery

July 3, 2008 – 11:10 am
I recently had to build a website that was heavy on graphical representations of data, and of course did not have a very big budget. Thankfully, Google Charts had been released a few months prior to the project build, so I had a cheap and relatively easy tool to implement. Another project is coming up, and we may need to use Google carts here as well. However, an aspect of this project has the chart being updated without a page refresh. So last night I wanted to see how easy this would be, were we to use JQuery. Well, it was pretty easy. So here is a very basic way to do it using JQuery's Ajax object handling JSON. First things first, get the latest version of JQuery and save it in your directory as 'jquery.js'. Once you have this, create an HTML page, save it in the same directory and ...

Movie Review: You Just Lost an Oil Field (Iron Eagle)

June 25, 2008 – 10:56 am
Iron Eagle was on the other night. Now, I know it is just a movie, but I realized while watching that it is one of the most retarded things ever put on film. Odd, because when I was 9 or 10 it seemed pretty "rad". If you've never seen it, it is about an 18 year old kid named Doug (what else would he be named?) who launches a mission - with the help of a renegade colonel - to save his father from some Middle Eastern shithole only after the US Military refuses to do anything. My favorite part is during the scene where lil' Doug, after achieving total dominance over the skies of this shitbag hellhole with a single plane, BLOWS UP AN OIL FIELD! I just think that is hilarious when put in today's context. Blowing up that oil field would probably cause the price of crude to spike about ...