ITT #10: Understanding OOP
NOTE: This comment by Cal Evans pointed out
an oversight on my part regarding naming conventions for classes. To avoid
conflicting with other classes, names should be distinctive, and as such, I
changed the name of the example class from "date" to
"Ennui_Date".
Recently, I've fielded a handful of questions concerning object-oriented
PHP. What is it? How does it work? Why should we care?
I had similar questions when I first started looking at OOP. I mean, why
the hell would I want to switch from the easy-to-understand procedural
method?
Classes and
objects might look confusing and difficult to manage at first, but they
actually significantly improve the organization and readability of your
code if used properly.
A Practical Example
Let's say, for instance, that we need to be...
read more
ITT #9: Build a jQuery Content Slider
I'm under some pretty tight deadlines, so I decided to kill two birds with
one stone this week: first, I told Brenelz I'd write a guest post for his
blog almost a month ago, and second, I've been meaning to write up a
content slider tutorial as an Instant Tip Tuesday post.
So in order to keep myself sane and on top of my ever-growing mountain of
work, I'm remotely posting this week's ITT post on Brenelz's blog.
Learn
How to Build a jQuery Content Slider
Share Your Instant Tips!
For the next month or two, I've got some really big projects I'm working
on, so I'm still interested in working with any of you and having you write
an ITT post for me. If you've got some ideas, or even if you don't...
read more
ITT #8: Finding the Right Tools
In web development, as with most crafts, you're not limited by your tools.
However, having said that, it's also arguable that having the right tools
can help turn a skilled programmer into a master (or at least give that
extra edge to increase speed and accuracy while simultaneously reducing
stress levels and the murderous impulses that accompany staring at code
snippets that "can't possibly be wrong!").
In this installment of Instant Tip
Tuesday, I'll be sharing the tools I use to keep my productivity high
and my blood pressure low.
1. Eclipse SDK

First and foremost, every developer should have their development kit.
I've used several different development environments over the years, and I
found, with many of them, that I had trouble switching between the
programming languages I...
read more
ITT #7: Dynamically Change Width and Height in HTML Markup
A Quick Note from the Guest Author
Hello everyone, I'm Brenley Dueck or better known as Brenelz. I currently
run my own business called Brenelz Web Solutions which focuses primary on
web design in winnipeg. The web
technologies I most specialize in are CSS, jQuery, AJAX, PHP, and the
MySQL database. Please make sure to visit my web design blog and follow me on twitter.
Defining the Problem
In a recent project I was working on we had to allow the client to embed
videos within the site. This had to be done using an easy-to-use
customized CMS. The thought is that they can take the embed code right off
the YouTube site and save it to the DB for use throughout the site.

YouTube's...
read more