How To Display Tweets of Different Users

filed under PHP, posted on 31st July 2009 by Chris, 7 comments

When I redesigned this blog I wanted to show recent tweets about MooTools. There are a number of available options to do that: either show the tweets of @mootools or show anyone who mentions #MooTools. While the first approach seemed to be too boring, the search also comes with its problems: it is completely unmoderated. Anyone would be able to put anything on the sidebar of my blog just by mentioning MooTools. As all MooTools developers have accounts on twitter the logical solution to me was to show the latest tweets of them. I'm going to show you the smartest, cleanest and easiest way to do that.


DataComparison: Sorting, Multidimensional

filed under PHP, posted on 21st January 2009 by Chris, No comments yet

I have decided to not only post those big comprehensive articles but rather post some useful and short Snippets for you to use (mainly to fill the gap). So this time around I'm going to present to you a PHP-Class that makes it easily possible to sort data in multi-dimensional arrays. Well, not really multi-dimensional but at least two-dimensional. It allows you to sort any array consisting of arrays with key value pairs.


Image Wrapper and Uploader

filed under PHP, posted on 18th January 2009 by Chris, One comment

There is certainly a point in life where you start thinking that all those image methods the GD-Library provides are ugly and hard to maintain. What about the mess with transparent PNG-Images when resizing? Or the pain when handling different image-types like gif and jpg? Wouldn't it be nice to have all that easily working, broken down to a simple Class that makes your code look pretty? In addition to that I can also present you a super easy way to manage File-Uploads in your PHP Scripts. Read more after the break.

Styx PHP Framework Contact Follow me on Twitter