David Walsh Tutorials
PHP error_reporting() Cheat Sheet
Error handling is important in any programming language and PHP is no exception. Lucky, error handling in PHP is extremely easy to set up. The following is a quick cheat sheet for PHP, straight from PHP.net. Error Levels The following values and constants can be used...
Book Review: Wicked Cool PHP
In the interest in full disclosure, I was sent this book by a fellow DZone Zone Leader in hopes that I would review it. I'm reviewing this book, however, in the interest of my audience.Wicked Cool PHP: Real-World Scripts That Solve Difficult ProblemsWritten ByWilliam Steinmetz...
I’ve Penetrated DiggNation!
On this last week's episode of DiggNation, Alex and Kevin discussed my article, 9 Signs You Shouldn't Hire THAT Web Guy. Kevin agrees with all of my assertions -- sweet! The segment about my article starts at about the 20 minute mark.
Learning Ternary Operators — Tips & Tricks
I started using ternary operator logic about six months ago and notice myself using shorthand if/else logic all the time. It shortens my code, the time to write it, and makes me look smarter to the mustaches.Thanks to Google Analytics, I've found that I receive...
Weekend Links – Premium CSS Tips, MooTools 1.2 Clientside, Google Sky, JavaScript Typing, PHP Image Resizer
8 Premium One Line CSS TipsYou probably know most of these tips, but there are a few snippets that you may be surprised to find.http://cssglobe.com/post/1392/8-premium-one-line-css-tipsClientside For MooTools 1.2 - RC1The Clientside at CNET is headed by Aaron Newton, a MooTools core developer.
SXSW: Secrets of JavaScript Libraries
I've not had the pleasure to go to South by South West but I've heard it's a great time for those in the tech industry. A few of the more popular names in the JavaScript community, representing prominent JavaScript libraries (Dojo, jQuery, and Prototype/script.aculo.us), recently...
Force A Secure Page Using PHP
Many pages, most often pages with forms or pages that serve personal information, require the need to be served over a secure connection. Even recreational internet users have gotten accustomed to looking for "lock" icon within their browser before inputting data into a web form.
How to Sniff & Disable Firebug
If you're a hardcore Web Developer like me, you're probably well aware of the excellent Firefox plugin known as Firebug. Firebug's built in tools for monitoring and debugging CSS, HTML, and JavaScript/AJAX can improve development time efficiency exponentially. As great as Firebug is...
Execute a HTTP POST Using PHP CURL
A customer recently brought to me a unique challenge. My customer wants information request form data to be collected in a database. Nothing new, right? Well, there's a hurdle -- the information isn't going to be saved on the localhost database -- it...
MooTools Zebra Tables Plugin
Tabular data can oftentimes be boring, but it doesn't need to look that way! With a small MooTools class, I can make tabular data extremely easy to read by implementing "zebra" tables -- tables with alternating row background colors. The CSS The above CSS is extremely basic.