Categories
Video Games

Mass Effect

Mass EffectPicking up a used copy of Mass Effect for $15 was one of the better purchases I’ve made in a long time. This game is an amazingly well done sci-fi experience.  The music, graphics, worlds, aliens, and dialog were true to a traditional sci-fi movie.

The decision making that your allowed to make throughout the game makes for a very interested story. There many points where the story can go in completely different directions, with how you want to play it. Some of the decisions are pretty tough, with instances where either decision is a loss.

The voice overs are really well done. Especially with all the different alien races you encounter throughout your travels. If you own a xbox 360 and haven’t already played this already, I highly recommend that you do. After defying the odds and somehow saving the galaxy from the Reapers, I’m very much looking forward to the sequel in 2010.

Categories
Video Games

Final Fantasy Tactics A2: Grimoire of the Rift

Final Fantasy Tactics A2: Secrets of the Grimoire RiftEver since I played Final Fantasy Tactics on the Sony Playstation back in 1998, I’ve been addicted to strategy RPGs. When I heard that Square was releasing Final Fantasy Tactics A2: Grimoire of the Rift on the DS, I pretty much circled it’s release date on my calendar like a third grader.

The game delivered as I expected it to. Tons of characters, jobs, classes, and lots of gameplay. I’m ashamed to admit how many hours this title has taken from me the past couple of months, but I guess that just shows that it is another well made game by the fine folks at Square-Enix. They addition of the seeq and gria races was pretty cool. The moogles are still my favorite, they just look funny to me. And ending every sentence with, “kupo” is pretty cool.

Not sure I ever figured out what a Grimoire of the Rift is exactly, but it was a pretty cool game.

Categories
Development

Insert row into Google Spreadsheet using Zend Framework

I got a little stumped when attempting to insert a new row in a Google Docs Spreadsheet using the Zend Framework, so I figured I’d share this in case someone else runs in the same problems. The documentation provided is really great, but I was getting caught in how the row data was supposed to be getting passed. It just needs a basic array with key/value pairs.

First you need to have the Zend Framework installed on your server. Google Code has a great article on getting started. Then you need to have a spreadsheet in Google Docs.

Now we’re going to write a simple PHP script that will input a new row into a basic spreadsheet. First you need to call the following Zend Framework include files for the script to work:

require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Http_Client');
Zend_Loader::loadClass('Zend_Gdata');
Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
Zend_Loader::loadClass('Zend_Gdata_Spreadsheets');

Next we’re going to set two variables with your Google Docs login info to authenticate our row creation. Enter you Google Account login:

$email = '<your_google_account_username>';
$pass = '<your_google_account_password>';

Now we authenticate ourselves with Google Docs and create a Zend_Gdata_Spreadsheets object.

$authService = Zend_Gdata_Spreadsheets::AUTH_SERVICE_NAME;
$httpClient = Zend_Gdata_ClientLogin::getHttpClient($email, $pass, $authService);
$spreadsheetService = new Zend_Gdata_Spreadsheets($httpClient);

Next we have to let Google Docs know which of our spreadsheets we want to write to. To do this we need the spreadsheet key. Obtaining the key is fairly simple, just grab it from the spreadsheet’s URL.

For instance:

https://spreadsheets.google.com/a/atlantic.edu/ccc?key=pqtY4KMBjwqlinsu9-f1PEg&hl=en

the key is:

pqtY4KMBjwqlinsu9-f1PEg

Not only do we need the spreadsheet key, but you also have to know what the worksheet id is too. Obtaining the worksheet id can be a little tricky, but if you only have one worksheet then it usually always is od6.

$spreadsheetKey = 'pqtY4KMBjwqlinsu9-f1PEg';
$worksheetId = 'od6';

Now we have to create the row data that we want to add to the above mentioned spreadsheet. You have to pass it an array with key/value pairs. The key is the column label in all lower case.

So to add a new row containing the string smurf to a column named stuff you build the following array:

$rowData = array('stuff' => 'smurf');

That’s it. If you were adding to more columns you would just pass more key/value pairs to the variable.

Now you just call the insertRow method and you’re all set.

$insertedListEntry = $spreadsheetService->insertRow($rowData, $spreadsheetKey, $worksheetId);

Pretty easy and very cool stuff.

Categories
Movies

Friday the 13th

Friday the 13thTook a rare trip last night to see a movie. I was cordially invited to attend a 5:40 PM screening of Friday the 13th with Wes and Chris at the Towne 16 Theater.

I went straight from work to meet them there and since I was a little early figured I’d stop at the Shore Mall and grab a quick bite to eat first. I haven’t been to the Shore Mall in quite some time, but wow what a dump that place is. I found myself in fight or flight mode in there, but managed to avoid trouble while eating my two slices.

I then entered the desolate theatre. It was kinda strange being the only one in there purchasing tickets. Not sure if it was due to being a Tuesday evening or a sign of the slumping economy.

The movie itself was alright. I’ve never really been much of a fan of the whole horror genre. Growing up, Wes would always rent the Friday the 13th films and was very well versed in the history of Jason Voorhees. So he’d probably offer a better review than I, but I though for a cheesy horror film it wasn’t as bad as it could’ve been.

Categories
Development

YUI Treeview

The sitemap for atlantic.edu has grown quite a bit over the years, and we were looking for a way to make it more manageable while still being accessible. The YUI Treeview version 2.6.0 supports progressive enhancement, focus and keyboard navigation. Which seemed a perfect fit for what was needed.

Implementing it couldn’t of been any easier too. Just include the necessary source files. Then just create and render the Treeview.

tree1 = new YAHOO.widget.TreeView("markup");
tree1.render();
Categories
Development

Jom Comment

I needed to incorporate a comment system for a client. Their site is powered by Joomla, so I was checking out what options were available. Instead of making this completely from scratch I figured I’d see what existing extensions were available.

After some research, Jom Comment turned out to be the best fit for the clients needs. Installation was fairly simple, and it gives the client a very user friendly admin interface to work with. I highly recommend this commenting solution if you are running a Joomla site.