PHP Weather widget using Google’s weather API

May 17 2012
PHP Weather widget using Google’s weather API
UPDATE 08/28/2012

Google has abandoned their weather API and are now using wunderground.com Weather API. I will be creating a new tutorial showing the API in action very soon. Check back to the RD2 blog for updates. Please disregard the below code.

With the recent launch of the Elbowz Racing team website, we decided to add something a little bit fun, but still applicable, into the project: a self-maintaining weather widget using Google’s weather API and PHP...

Detecting the Kindle Fire with PHP

Mar 8 2012
Detecting the Kindle Fire with PHP

There are many reasons to detect the type of platform your user is viewing your website on. There are articles all over the internet about detecting iphones, ipads, android devices, etc. But when it comes to detecting the Kindle Fire, things can get a bit strange. To get the user’s platform, you will want to use the PHP method, $_SERVER['HTTP_USER_AGENT'] (see below).

<?php
$user_agent = $_SERVER['HTTP_USER_AGENT'];
echo $user_agent;
?>

This will return: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us; Silk/1.1.0-80) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16 Silk-Accelerated=true

As you can see, there are mentions of Mozilla, Apple, WebKit, Safari, etc...

Android Ice Cream Sandwich UI Study: Don’t let your users melt away.

Nov 10 2011
Android Ice Cream Sandwich UI Study: Don’t let your users melt away.
The Set Up

Google’s new operating system, code named Ice Cream Sandwich (ICS) promises to do many things in the realm of application development. Developers are rejoicing at the ability to develop one application that will work on both tablets and smart phones. Users can’t wait for the boost in phone performance and sleek new interface features. Electronics manufacturers and Cellular service providers are waiting with baited breath to finally be able to support an operating system that has a defined and scheduled release pattern...

Planning For Success: DFW WordPress Meetup Presentation

Apr 26 2010

On Saturday, Leia and I spoke at the DFW WordPress Meetup in Dallas. Our topic was “Planning for Success: Design Like a Pro.” The meta message was that all too often we are tempted to immediately move from idea to design by opening up Photoshop or scrolling through themes to pick your next look and feel. Instead, we recommended backing away from the tools and spend more time thinking…

We shared a portion of our methodology. It’s not rocket science. It’s really pretty basic stuff that you can apply to just about any project...

Tags

New 3D Features in Silverlight 3

Mar 20 2009

You may have heard the news that Silverlight 3 has entered a developer beta phase. This news was shared at MIX09 on Wednesday. We’ve been fortunate here at RD2 to have been participating in the Silverlight 3 early adopter program for the past couple of months.

What’s New?

You can read about all of the new features on the official Silverlight 3 page. The two main reasons we’ve been involved in the new release are the 3D perspectives and the H.264 support. In this article I’ll discuss the 3D perspectives and leave the H.264 support for a later post.

3D Perspective

Silverlight 3 makes it easy to transform objects on a 3D plane...

Social Media Maturity Model

Oct 21 2008

After the launch of our latest site, you may have noticed the Social Media Maturity Model displayed prominently on RD2′s updated Solutions page.

The Social Media Maturity Model displays the seven levels of Social Media participation and integration for organizations. We use this model to graphically show our clients where they measure in regards to Social Media, where they could be, and what it will take to get them where they need to be.

It is important to note that as every organization has different goals, there is no one “magic” place to be on this curve...

Introducing Multi-Site Management

Jul 2 2008

RD2 worked with StoneGate Senior Care on a content management solution requiring many websites to be deployed within one master website. The challenge, all of them need to have autonomy while using the same system for publishing and maintaining content.

We’ve done this sort of thing before, but for very large companies, developing within enterprise-class software rather than leveraging the power of open source. StoneGate wanted to be able to scale beyond 50 websites with one content publishing system. Drupal is a perfect fit, except for one important thing. There was no available mechanism for deploying multiple sites within one system that is managed and maintained from one central source...

WordPress VS Drupal

Nov 20 2006

We have implemented many blogs to date that use WordPress and have been very happy so far with the performance, feature set and flexibility of WordPress as a blog platform. Also, we have used WordPress successfully as a content management system for corporate web sites that do not have blogs. At the core of WordPress is a content management system. While it is used most commonly today for blogs, the fundamental attributes of a content management system can be found in WordPress...