testimonials

Understanding OOP

May 25, 2009 at 12:06 am | OOP, Programming | No comments

Object-Oriented Programming, or OOP, is a programming method that utilizes the creation and implementation of object classes. Object classes can be customized and instantiated as many times as needed. For example, let’s say we are programming a system for a bank (albeit a very simple one). Well, a bank is going to consist of customers. Each customer is going to have his or her own bank account. With OOP, we can create a bank account class that will give each customer a unique account. When you create a class, its constuctor generally takes parameters. For instance, a bank account constructor might take an integer for an account number, a string for a name, and a double for a balance. (more…)

Using JavaScript’s Random Function

May 17, 2009 at 9:10 pm | JavaScript, Programming | No comments

In this post I’ll talk about using JavaScript’s Math.random() function in combination with arrays (or arraylists). Math.random is a very useful tool whenever you need to do something randomly (big surprise?). In fact, I recently used it for a random testimonial display system I coded for Clarion Media. Math.random() was perfect for this because it allowed us to display a random testimonial from a pool of testimonials on the Clarion Media website. So, how do we use the random function in conjunction with arrays? First we need to get an understanding of how Math.random() works. (more…)

Clarion Media, Black Jack, and Zombies

May 16, 2009 at 1:02 am | Clarion Media, Java, Programming, Video Games, wapClix | 1 comment

We scratched the new design for Clarion Media last minute. It sucks, but the reality was that it just wasn’t flexible enough for our needs. The good news is that we’ve already got a design we’re going to move forward with, and it should actually see the light of day (fingers crossed). The funny thing is is that it’s a design I whipped up in about an hour. It was not refined whatsoever whereas the previous design–the one we canned–I labored over for about a week making adjustments. Hopefully we’ll see this thing live by the end of this month around the time wapClix launches. We also may begin work on programming a new client interface where clients can manage projects and other parts of their account, but that’s for another post. (more…)