FallenRayne Dev One developer's random thoughts are better than nothing.

25Dec/100

Merry Christmas!

Hey everyone! Merry Christmas!

I hope everyone has a great Christmas today and gets all the coolest new gadgets and toys. We already bought our new Christmas present and opened it early, but it was hard not too with the Kinect. That is an awesome piece of hardware! I still can't seem to beat my dad at bowling though; he kicks my ass in Wii bowling, Kinect bowling, and real bowling. I should probably take a hint and realize that I suck at bowling.

Everyone be safe, especially if you are having a white Christmas. You know, you would think it is supposed to be all joyous and happy when you have a white Christmas until you are out in the freezing cold shoveling the damn stuff. I can't WAIT until my long term investment in a snow shoveler pays off. My son is turning 3 in January so I figure I got about 2 more years until I get him out there shoveling. Of course, if you look at previous pictures, he doesn't like the snow much. Like this one, where he learned why he needed to wear his gloves.

For some reason he thought it was smart to take off his gloves.

For some reason he thought it was smart to take off his gloves.

Or this one, his first true snow where he could fully appreciate it. Can you see him appreciating it?

Eli pissed off at the snow and the world.

Eli pissed off at the snow and the world.

Well once again, Merry Christmas! Now go get fat eating Turkey and watching football (that is American football, not the rest of the world football). Go GIANTS! Don't lose on the last second again!

Filed under: Personal No Comments
22Dec/100

Phing – A quick intro

Phing is a build system that is entirely built using PHP and is based off of Apache Ant. I have been checking Phing out a bit lately due to needing to automate a bunch of tasks at my job. I kept seeing Phing mentioned on various websites and decided that it could be a pretty good choice after seeing what it was capable of. The tasks we want to automate are:

  • Transferring data from one database to another regularly
  • Doing weekly releases, sending e-mail upon completion to our users and the help desk
  • Running PHPUnit tests on a regular basis
  • Building PHPDoc for every release
  • Bringing on new customers (database changes, file changes, account creation, etc...)
  • Hiring new developers (account creation, directory creation, svn checkouts, etc...)

As you can see, we have a decent little laundry list of things that we could automate and with some research I figured out how to do all of these with Phing. The big selling point for us was the fact that Phing can be extended using Tasks. Tasks are basically PHP scripts that are run in Phing through XML tags. This makes anything that is possible for PHP to do for Phing to automate. Phing can send e-mail, manipulate the file system, access APIs, make database changes, and even build a menu system so that all of your common tasks can be accessed from one script even if the scripts are separated into multiple files.

Next week I am going to show an example build script that I worked on that makes a basic menu system that you can leave up all day to accomplish all of your common command line tasks. I used to have one written in Bash but I seemed to have misplaced it and it only ran on Linux anyways. With Phing I can run the build script on Windows, Linux, or Mac.  Better yet, I can even run it on my Ubuntu machine and have it SSH into my Windows machine to accomplish additional tasks if need be.

19Dec/100

Back to the blogging

Well I am back to blogging again after a good 3-4 year lag. After I lost my last blog and all of its content it took a while to get up the energy to try again.

So here I am again. This time I am going to be signing up for Project 52. This should keep me motivated and adding new content every week.  This new content should come in the form of some decent programming articles and maybe a review or two. If Google is really nice to me and actually ships me a CR-48 then I will get to start blogging about that and my attempt to do most of my personal work from that machine. I only mention the CR-48 because I found out that one is being delivered to my zip code tomorrow! So... maybe it might be to me? There is always a chance.

Past that I should be putting up some stuff on Phing as I do some work with that. I will also be doing some work with ExtJS, Sencha Touch, and JIRA in the next few weeks and should have some decent information about those as well. All in all I believe I finally have some good stuff to write about that will display some solid information. It is good to be working on newer technology and keeping my skill set current.

Filed under: Personal No Comments