David Walsh Tutorials
Book Review: Enterprise AJAX — Strategies For Building High Performance Web Applications
In the interest in full disclosure, I was sent this book by Prentice Hall in hopes that I would review it. I'm reviewing this book, however, in the interest of my audience. Enterprise AJAX -- Strategies For Building High Performance Web Applications Written By David...
No WWW Using .htaccess
There are some clear benefits to removing the "www" from your URLs: Shorter URLs Prevention of Google search engine penalties for duplicate content Less bandwidth usage if you have many links per page Luckily, removing the WWW from your page URLs (and subsequent Google listings) can be done inside your...
Odd Custom PHP Variables
Creating custom-named PHP variables is pretty easy:But did you know that you can create variables with spaces? The following will work:I can't see any reason to do this, but it's possible.
Weekend Links – Firefox 3, SWFHttpRequest Flash / AJAX Utility, Netscape Dead, Php.js, JavaScript Libraries Comparison
5 Things You'll Love About Firefox 3Firefox 3 is going to be great -- I can hardly wait. As long as they fix all of the memory issues, I'll steer all of my customers toward the 'fox.http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9054138&source=rss_news50SWFHttpRequest Flash / AJAX UtilityAn...
Advanced CSS Printing — Using CSS Page Breaks
I have one customer that absolutely insists his web pages print perfectly. Why? Because he refuses to look at his pages on the screen -- he tells his employees to print the website for him to look at. And since he looks at...
PHP Function To Get A File Extension From A String
Getting the file extension from a PHP string can be very important in validating a file or file upload. I've written a simple PHP function to retrieve a file extension from a string. The Code This simple method of file extension retrieval should be reused throughout...
2007 Blog Round Up
The first year (well, five months) of my blog has been a blast. I've had a lot of fun picking the minds of readers and I've learned more than I had expected to. I've compiled a year-end round up of statistics and general information about the...
PHP Redirect Function
After form submission or a page redirect is triggered, it's commonplace to redirect the user to a different page or to the same page, formatted in a different way. Usually, you'd complete this by coding: This is a completely acceptable way to code your pages, but...
Create a JavaScript Confirmation Box
Javascript confirmation boxes aren't used nearly as often as they used to be, mostly due to more advanced usages of JavaScript and modal boxes, but they are still helpful. Whenever I create administrative functionality for my customers, I always use a JavaScript confirmation box before...
CSS3 and Your Browser
CSS3 has been in the works for quite a while but the "A grade" browsers have been slow to implement many of the new selectors. How is your current browser vendor doing? Use the CSS Selector test suite to find out!CSS...