Building off my last post, where I showed you how to easily display any public Twitter feed on your site, I ran into another problem: the dates that are delivered by the Twitter API all reflect Greenwich Mean Time (GMT). Now I thought about going the old route and doing some convoluted math using date(), [...]
Read MoreArchive: November, 2008
Display Twitter updates on your website
Update: I’ve added a new chunk of code that will download and store your Twitter posts in a database, allowing you to do whatever the heck you want with them. After you’ve finished reading this, be sure to check that out as well. I am not a fan of social networking or so-called lifestreaming. I [...]
Read More extension, fwdvault, php, TwitterThere are only two types of coders
Across every language, platform, and experience level, you can summarize all programmers into just two groups: Those who are constantly learning, and those who think they know everything. The ones who learn are aware that they don’t know everything, and never hesitate to seek out new information when a new problem (or language, or platform) [...]
Read More coding theoryGet number of message parts in an email using PHP
Alright, I admit up front that this is a pretty specific problem, but hopefully some Googlers will find it useful. I recently had need for a small side project to read e-mails. Every e-mail is split up into parts; each “part” represents every separate piece of the e-mail. The plain text format, rich text or [...]
Read More email, php, software developmentWhy include_once and require_once may make you a crappy coder
Over the last few years, I’ve noticed that the PHP community has, in general, started to favor include_once() and require_once() over the more standard include() and require(). For the uninitiated, the “_once” version of each function will check to see if a file has already been loaded. If it has, it will safely bypass loading [...]
Read More coding theory, crappy coding, software development, standards, zen cartHow focused is your startup idea?
As developers, most of us are always mulling over ideas for potential new services to bring to the world. Who wouldn’t want to say they came up with something Digg, Wikipedia, eBay, etc? And every day, many developers take the plunge on their ideas. Good for them! However, sometimes I look at new ideas, and [...]
Read More software development, startups