All Things Tagged 'PHP'

Use PHP to Grab Event Date from Google Calendar RSS

Recently I finished a site that required me to use Google Calendar to manage events. I thought that it would be nice to show what events are up and coming, so I used SimplePie to grab and show their calendar feed.

Function to Generate a Slug (URL-friendly String) [Helpers] [Updated]

Update #1: With the help of my esteemed colleague Zach, I've provided a PHP function as well and fixed some bugs with the .NET version.

PHP String Format Function [Helpers]

In .NET we have a great little function called String.Format that will transform a string and format it. Here's a PHP function that will substitute strings in the same fashion.

Function That Resizes Dimensions to Bounds [Helpers]

In one of my current projects at work I needed to load photos off the file system and resize them so that they fit within a specified set of bounds. So, obviously, I created a function to calculate it for me!

Release: Phyllis Wheatley Community Lawyering Project [PHP]

We’ve released a new web site, the Phyllis Wheatley Community Lawyering Project.  The cool thing about this site is the jQuery animation on the homepage (above) that degrades gracefully for non-Javascript enabled browsers (i.e. progressive enhancement). We also customized the WordPress template to match the rest of the site, which was easier than I thought.

RegEx: Get the array of values for a SET/ENUM in MySQL [Snippet]

Need a fast and easy way to generate an array of the different values for a SET or ENUM data type in MySQL? I'll show you how in two lines of code.

Get the First Paragraph of Text of a String [Helpers]

This is a simple PHP function (that can easily be replicated in .NET) that will take a string and get the first paragraph of text it can find. Works with HTML and plain text. Hit the jump for the code.

Release: BeReasonableNow.com [Web Site]

We just finished a new web site today, BeReasonableNow.com, for a lifestyle guide. The web site was created for a friend of mine. I've seen the guide, there's nothing magical about it, it's totally practical and pretty funny. Check it out!

Space Reservations Revamp [Before & After]

One of the big projects I worked on at Student Unions & Activities last spring thru this fall was to help revamp the entire events & conferences part of the site. We analyzed the problems, we conducted usability tests, and we toiled a long time trying to achieve a usable web site.

First Touch Screen Application [Touchy Feely]

At my student job over at the Student Unions & Activities at the U of MN, we just completed a pretty big project. It was tons of fun and we're still improving it. It is a WebKit-based touch screen directory application. There is no Flash, there is no Silverlight. It was written using jQuery, PHP, MySQL, and cutting edge CSS3. The floor maps were done primarily in Google SketchUp and I modified some in Photoshop with extra information. The app runs on a Mac Mini and uses a webcam to detect movement and stop the screensaver so people can use it.

An error has occured while trying to process your request. Hide