Articles in the "Development" category

Search Engine Optimization Tips

Search engine ranking and your web sites traffic are directly influenced by four main areas:

Content, Links, Popularity and Reputation

Content: The more unique, well-versed content a site has, the better it will rank. Content primarily consists of the text on your site, but also includes images, videos and anything else the users come to the site for.

Links: Mainly concerning inbound links, but also includes outbound links and internal links. The more, quality, inbound links a site has, the ...

Continue Reading

Beginers Guide To Search Engine Optimization

The following is a quick list of optimizations that, in my years of web development, I have observed will help increase your sites search engine ranking. While none of these processes are guaranteed to make your site #1 in Google overnight, I can promise that by implementing all (or even some) of these items, in time your site's rank will rise.

The following items are clean, honest ways to optimize your site. I do not condone, nor solicit, any ...

Continue Reading

First Friday script updated and simplified

NOTE: The latest version of this script can always be found here: https://github.com/PHX2600/FirstFriday

With this update I have drastically reduced and simpified the code to produce the same results. I did some rigorous testing of my own to make sure this script will calculate the correct date, but that doesn’t mean it’s bullet-proof. If you find a bug, please email me so I can fix it.

first-friday.php

Somewhere along the lines of moving ...

Continue Reading

Calculate the first Friday of next month with PHP

UPDATE: This script has been updated, see: https://github.com/PHX2600/FirstFriday

While developing phx2600.org, I ran into a slight dilemma. The PHX2600 meetings occur once a month on the first Friday of every month, and we wanted to display that on the site. However, it was becoming a tedious chore to change the date once a month manually. So, being the automation addict I am, I thought, why not write a script. So one night I hammered out ...

Continue Reading

Creating Dynamic Menus with PHP and CSS

Want to pep up your web page with some dynamic menus? Here’s a simple solution that only requires a few lines of PHP and CSS.

UPDATE (11/1/08): Simplified the header code and edited the syntax of the list element echo code.

The PHP

Add the following to the top of your page (before the DOCTYPE or HTML tag).

<?php
    // Get current page file name
    $page = basename($_SERVER["PHP_SELF"]);
?>

Then add the following to your menu item where ...

Continue Reading