Blog Archives: Page 2
-
PHP Text Messaging with TextMagic
A few months back I wrote a shocking expose about how sending text messages with PHP was as simple as a simple call to mail(). The only drawback to using the mail method is that you need know the carrier for a given phone number — a humiliating question to ask anyone you plan to advertise to. Luckily there's an simple, effective web service available called TextMagic. TextMagic provides an API for a variety of languages (PHP, Perl, Python, Ruby, Java, etc.) and is very easy to configure.
-
CSS Circles
A while back I shared a clever technique for creating triangles with only CSS. Over the past year, I've found CSS triangles incredibly effective, especially when looking to create tooltips or design elements with a likewise pointer pattern. There's another common shape that's easy to create, and that is the circle. Using border-radius, you can create wonderful CSS circles.
Interesting -moz CSS Properties
I'm always on the lookout for interesting vendor-specific features and prefixes. The beauty in them is that they allow developers to enhance where possible; they aren't taken into account as core design, but provide nice little touches. I was poking around Mozilla's MDN and found a great list of proprietary -moz properties. Here are a few of that I found interesting and useful.
CSS Filters
CSS filter support recently landed within WebKit nightlies. CSS filters provide a method for modifying the rendering of a basic DOM element, image, or video. CSS filters allow for blurring, warping, and modifying the color intensity of elements. Let's have a look at how CSS filters work and how you can quickly create elements that are beautifully filtered!
December 2011 Mailbag
I get loads of questions each day so I decided to take a few moments to answer your questions about JavaScript, Dojo, MooTools, jQuery, and more.
PHP Advent 2011: Cross-Origin Ajax with CORS
I've had the honor of writing for this year's PHP Advent, blessing you all about Cross-Origin Requests with CORS:
DOM Events in JavaScript
Mozilla Firefox 7 introduced CSS' useful text-overflow: ellipsis, an outstanding method of dynamically and elegantly concatenating strings within their parent elements. Firefox was late to the text-overflow party, so the Dojo Toolkit offered dojox.ellipsis, a resource that would shim ellipsis functionality with an iFrame. When perusing the dojox.ellipsis code, I found that the creators used the DOMSubtreeModified event to recheck all nodes when the page structure changes. After a bit of research, I found a whole host of DOM events you can use to spy on the document.The DOM Tree EventsHere are the DOM tree events you can listen for:
#FreeDavidWalshDotName: Mission Accomplished
As you must certainly know by now, my domain name was stolen. After weeks of pressuring domain registrars to give me the domain back, DAVIDWALSH.NAME is finally in my name again. It was a wild few weeks so this post will attempt to recap just about everything that happened. Grab a cup of coffee (or actually, maybe some sedatives) reading this one.
DavidWalsh.Name Has Been Stolen
If you follow me on Twitter or Facebook, you probably already know that this blog's domain name, DAVIDWALSH.NAME, has been stolen. The domain had been registered and managed at GoDaddy for approximately 5 years with no problems. A hacker logged in, changed the email address on the domain, and moved it to Name.com, then to 1And1. I've also received a ransom email for the domain. Scary times.
XBox Live Gamer API
I've thought long and hard about this, and I still can't decide whether or not I should consider myself a "gamer." During my lifetime, I've owned an original Nintendo, Sega Genesis, Nintendo64 (best controller of any console ever), wii, and XBox 360. I used to have a horrible habit of downloading pirating games, but that's long and over with. Anyways, the only game I've played consistently over the past three years is Call of Duty. Which one? Whichever the latest Call of Duty has been most recently released. I don't even care to attempt the story mode; I simply want to log on and shoot each and every one of you I encounter.