Monthly Archives: April 2009

Add Power to Your PHP With Multi-Tiered Applications

Net.Tuts+ recently published an interesting article by Jason Lengstorf. It deals with the separation of PHP code into three tiers, database, processing, and display. (Much like the MVC approach to programming.)

It might not be immediately obvious, but separating your applications into a tiered structure will have a huge impact on your code’s ability to change in the future. For example, if you have a blogging system set up, and it becomes necessary to create an RSS feed for the blog, a properly tiered application would allow you to simply set up an RSS template, then call the database and business functions that you’ve already written.

On the opposite end, if your client suddenly decided that PostgreSQL was a better choice for their organization than MySQL, you would only have to rewrite your database functions, all without touching the business or presentation logic of the application.

This ties-in well with object-oriented programming, of course. By separating your logic into meaningful classes, making it more reusable, your code will end up being much cleaner and more manageable.

If you’ve mastered the basics of PHP, and have moved on to more advanced projects, this is something that is definitely worth reading about.

Add Power to Your PHP With Multi-Tiered Applications [Net.Tuts+]

The Two Approaches of Premium Themes

“Premium,” that is “paid,” themes have gained a significant footing in the WordPress community in recent years. There are many designers selling them, and there’s no shortage of buyers. What makes a theme worth paying for, though? There are two main angles in which…

BlogBuzz April 18, 2009

IE8 Added to Windows Automatic Update

Microsoft has added Internet Explorer 8 to Windows’ Automatic Update, and marked it as a high-priority update. Starting on or about the third week of April, users still running IE6 or IE7 on Windows XP, Windows Vista, Windows Server 2003, or Windows Server 2008…

How Last.fm Can Grow and Profit

Last.fm is a great way to discover new music based on what you already like. It has some nice features, like the ability to monitor your iPod listening habits, that give it enough data to supply recommendations that tend to be pretty good. It’s…

DiggBar: The Plot Thickens

I previously talked about the controversy surrounding Digg’s new DiggBar. It continues, and gets more interesting. Digg claims that the DiggBar is not a bad as people are making it out to be: We took several steps to ensure that search engines continue to…

5 PHP Mistakes and How to Avoid Them

PHP is an easy scripting language to learn, but mastering it is a whole other matter. Here are a few common mistakes that beginners, and even experienced PHP developers, might make once in awhile. They’re not really visible mistakes, such as the ones that…

Display Your Latest Tweet on Your Website

More and more bloggers are displaying their latest postings to Twitter on their sites, most frequently in the sidebar. There are WordPress plugins that can accomplish this, such as Alex King’s Twitter Tools plugin. Then there are the simple widgets offered by Twitter themselves.…

Showcase Of Well-Designed Tabbed Navigation

Smashing Magazine has done it again. Theit latest extensive design roundup is a Showcase Of Well-Designed Tabbed Navigation. When you look at tabbed navigations, you will also notice many styling trends. First, many tabs will have rounded corners on buttons. This helps to create…

BlogBuzz April 11, 2009