Category Archives: Programming

Using Factories

Factories are neat, because they allow you to set common properties for objects before you create the object. Plus, all the objects coming out of the factory will have those same settings. For instance, take the follow factory: class Item{ … Continue reading

Posted in Programming | Leave a comment

Modularity: What is it?

You may have heard of the term ‘Modularity’ before. In fact, I have several articles written about how to use it right on this blog. But, before you can use it you need to know what it is. As Wikipedia … Continue reading

Posted in Programming | Leave a comment

Your Methods Are Showing: Why Public Methods Need Special Attention

So you are about to create a new class. You go to define the first method. You mull over whether to make it a private or public method, choose public, and go on with your day. This isn’t exactly the … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Modularity: You Can’t Ignore the Big Picture

Building modular components can be a very efficient method of construction. Each component is its own mini-project, and all the parts come together to form something greater than the sum of its parts. Instead of building a blog, you build … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

Code: Reuse and Recycle.

Have you ever gotten the feeling that you’re currently writing a piece of code you’ve written before? I have. And when I started having those feelings too often, I knew that something had to be done. If I spend hours … Continue reading

Posted in Programming | Tagged , | 1 Comment

URL: The Uniform Resource Locator

The basis of the entire internet might be connected to a single concept: The URL. Every website you go to, every link you click on, and every file you download relies on it. The funny thing is that most people … Continue reading

Posted in Programming | Leave a comment

Cookies: What they are, How they work

Cookies are a marvelous feature given to browsers to allow websites to track users from page to page. They have been used for both good and evil during the short lifespan of the Internet, and here I am to provide … Continue reading

Posted in Programming | Tagged , , | Leave a comment

The world is ran on indexes!

An index might be a strange word to some people. Generally it means a list of items that all have certain properties. If you were to create a list of all the cities in the world, you would have an … Continue reading

Posted in Programming | Leave a comment

Benjismith.net: Why I Hate Frameworks

So I go to the hardware store to buy the tools, and I ask the sales clerk where I can find a hammer. “A hammer?” he asks. “Nobody really buys hammers anymore. They’re kind of old fashioned.” Surprised at this … Continue reading

Posted in Programming, Responses | Tagged | Leave a comment

Don’t Cross the Beams! Why Object-Based Database Connections Rock

You can pretty much guarantee that any dynamic website is going to, at some point in time, connect to a database. It is a good idea to have a bit of knowledge about how your particular language works with different databases, and … Continue reading

Posted in Programming | Tagged , , | 2 Comments