Recent Blog Posts
Blogs ยป Archive for April 7th, 2006
SEM Kit 2006 Progress Report
Since I lost my best friend and business partner in December, I haven’t been the most productive man in SEO… but I am back at it, and thought readers might like to know what I’ve been up to.
First, the 2006 edition (update) of the SitePoint Search Engine Marketing Kit is well underway, and will probably be published towards the end of this year, with an upgrade option available to those smart enough to already have the first edition.
The 2006 edition will of course reflect some of the changes that have taken place in the past year, highlighted by movement in the pay-per-click marketplace, unpaid inclusion (Google Site Maps), and link building. We’re adding a separate chapter on link building, new interviews, and another new chapter with an end-to-end case study.
What will we do in 2007? Assuming that SitePoint doesn’t fire me for missing 3 deadlines already on this project, we’ll probably have plenty more to talk about.
Besides writing, I have been very busy with my online training and coaching programs. I’ve already completed one link building workshop this year, and the second is about halfway complete. I love to teach.
If any readers would like …
SmartLoader Reloaded
A few months ago I proposed a way to efficiently use __autoload() together with a class indexer. To my surprise, quite some people started using it and provided me with bug reports. I rewrote most of the original code, eliminated all known bugs and have been testing it for the last month. So here’s a new version with some improvements:
- Added ability to scan include directories, too
- Using SPL RecursiveDirectoryIterator for the indexer/scanner
- Optimized SmartLoader::load(). It now takes < 1 ms to complete (with inclusion) on my machine
- Windows support through DIRECTORY_SEPARATOR constant
- More information in index file headers, like:
- Fixed various bugs
* Created by: /usr/local/php5/lib/php/SmartLoader/SmartLoader.class.php
* Created at: Thu, 06 Apr 2006 23:54:48 +0200
* Scanned: 134 directories and 402 files in 1.15 seconds.
Backwards compatibility?
Robert Schmelzer dug up the most remarkable bug. As of PHP 5.1.2 this piece of code won’t work anymore:
preg_match_all(’/hand/’, ‘Talk to the hand!’, $result = array()));
The $result variable will be empty unless I remove the “= array()”. Why?
Of course, one could argue about how much sense initializing the result as array makes. From my point …
Sponsored Links
SitePoint Marketplace
Buy and sell Websites, templates, domain names, hosting, graphics and more.