Tag Archives: PHP

MiniAjax

Looking for some AJAX scripts? MiniAjax is a gallery of “nice looking simple downloadable dhtml and ajax code.”

The one-page site shows 62 (to date) entries for various useful scripts. There are star-rating systems, modal dialogs, heatmap generators, poll scripts, tabbed interfaces, and more. Thumbnails make the site easy to browse.

If you’re looking for a specific type of script, or if you just want to see what’s out there, be sure to take a look at MiniAjax.

roScripts – Helping Programmers Program

roScripts is a blog/forum/Digg-for-scripts. Their “articles” section has several categories worth of coding tutorials (PHP, Flash, AJAX, HTML, etc). Then they have the “scripts” section, where you can easily find pre-made scripts to suit your purposes. The interesting part, though, is that they’re sorted in a Digg-like manner. You can vote-up scripts you like, and “bury” the ones you don’t.

roScripts has changed a lot since their launch, and they keep getting better.

What Can You Do to Make the Most of Shared Hosting?

In response to Keep track of your shared hosting performance at the Royal Pingdom blog.

Many blogs and small website are hosted on shared servers. Unfortunately, those bargain hosting plans have their share of problems. Most of the problem come from overselling, but that doesn’t mean there’s nothing you can do to improve your site’s performance. This guide will briefly detail some of your options.

Scripts

PHP scripts can eat-up system resources sometimes. Simple scripts, like the use of the include() or require() functions to include bits of XHTML temlate throughout your site, don’t take much processing time, but more complex scripts (like Content Management Systems) can be really taxing under heavy traffic.

Continue reading →

A/B Testing: Optimize Your Ads

The problem with AdSense is people tend to ignore them. As a webmaster, you have to continually update your ad placement to prevent this “banner blindness.”

How can you tell what the best placement and ad format is? You use A/B Testing. When you A/B test, you randomly show your readers one ad or the other, and track which gets more clicks. It’s easy to do, and will improve your earnings.

First, generate to ad code snippets. Make sure both ad formats are assigned to unique (and descriptive) channels. That way you can tell how many clicks each ad block gets. For example, put your 200×200 square ad in a channel called “200×200 AB Test” and your 250×250 ad block in “250×250 AB Test.” Paste the generated codes into notepad for later use.

Continue reading →

WordPress as an Online Magazine

WordPress is more than a blog engine. It’s an easy-to-use CMS (Content Management System) perfect for running a “webzine.” I’m not a big fan of most CMS systems, though I’m a huge fan of WordPress. Joomla is too convoluted and Drupal isn’t that great either. I’m not going to go around the web bashing other CMSes right and left, but I do like to point out WordPress as a viable option for “non-blog” sites.

The Main Page

The main difference between a blog an a webzine is the index page. While the typical blog just shows the most recent posts, a webzine goes beyond that. There are a lot of ways to display content on the main page. Here are some examples of webzines:

Look around the internet. You’ll find no shortage of different “non-blog” index styles. Do you see how they are all similar? They highlight different types of content. “Featured” posts, “normal” posts, “news,” etc. Before you get into developing your webzine too much, map out the main page on paper. Decide what types of content you will have, and how you will display them on the main page.

Continue reading →