Google PageRank Update For The New Year
Google has updated their PageRank, just in time for the new year! Never heard of PageRank? PageRank is Google’s method of determining how “valueable” it considers your page to be. According to Wikipedia, PageRank is defined as:
PageRank is a link analysis algorithm used by the Google Internet search engine that assigns a numerical weighting to each element of a hyperlinked set of documents, such as the World Wide Web, with the purpose of “measuring” its relative importance within the set.
Why WordPress Asks for Connection Info
One of the great features of WordPress is that it allows you to automatically install and upgrade plugins.
A common problem is that WordPress is unable to access the filesystem directly, which results in a page indicating that “To perform the requested action, connection information is required.“
6 Essential Firefox Add-ons
There are some add-ons for Firefox that are just so useful that I find myself installing them on every machine that I use on a regular basis. These add-ons are such an integral part of my everyday workflow, that I’m not sure I’d be able to get much done without them, and I think that you’ll feel the same way once you give them a try (if you don’t already have them installed, that is!)
A New Coat of Paint
Sometimes it’s just time for a new look, and that was definitely the case around here. I’ve spruced up the joint with a nice clean theme called Downtown Java, by Brian Gardner.
I’ve already started making customizations with a new Twitter badge that features an icon from the free icon set Practika featured over at Smashing Magazine (If you don’t read Smashing Magazine, you’re really missing out!).
Look for more customizations over the next few days!
WordPress Static Front Pages Demystified
If you’re like me, there is always some configuration option or another in the software that you use regularly which you are aware of, but don’t really understand how it works. Until today, that was the case for me with WordPress static front pages.
Force Lower-Case URLs with mod_rewrite
You may find yourself in a situation at some point where you need to ensure that all access to your site is done using lower-case only. This may be because of SEO (avoiding duplicate content), or perhaps you want to ensure that you can seamlessly move between case-sensitive/insensitive operating systems. If you are running a standard LAMP stack, you’re in luck. Apache’s mod_rewrite can be used to 301-redirect all incoming requests to their lower-case counterparts with just a few configuration directives.
Extracting Translatable Strings From Zend_Validate
Recently I started working with Zend Framework’s Zend_Form and its integrated automatic translation functionality using Zend_Translate. In general, the functionality is really great, but if you have ever tried to translate all of the possible validation error messages, you know that finding them can be a long manual task. Naturally, I brought this up on #zftalk, and the consensus seemed to be that the translatable messages could be extracted using a little PHP and ReflectionClass magic.
Benchmarking Zend Framework Routes
Hanging out in #zftalk on freenode is a great way to learn more about using Zend Framework, if you’re not already there get yourself an IRC client and sign on. Recently, the following question was posed:
How can I create a route with an optional parameter; e.g /search/:foo/:bar, where :bar is optional? Do I need to create two different routes?
Several users correctly suggested specifying a default value for :bar when constructing the route, and it was also mentioned that both standard routes and regular expression routes could be used to solve the problem. Naturally, this lead to a discussion of which type of route would be fastest, with no real numbers to fall back on.
Migrating to Zend Framework: Legacy Scripts
Migrating an existing PHP application to Zend Framework can be a daunting task, especially if the migration must occur all at once. It is much easier to migrate the application in sections over a longer period of time. This approach requires some modification from a normal Zend Framework setup Read more
Configuring mod_rewrite for the Front-Controller Pattern
When installing or creating a web application that implements the front controller pattern on an apache server, it is common to use mod_rewrite to redirect all traffic for non-existent resources to a the central dispatch file acting as the front controller.
Depending on where your decide to place your mod_rewrite rules, the required syntax can differ. Read more