Skip to main content


developerWorks  >  Web development  >

Develop mobile widgets with Yahoo! Blueprint

Create a weather widget

developerWorks

Level: Intermediate

C. Enrique Ortiz , Mobile Technologist, Artemis Wireless Werks

11 Nov 2008

Register now or sign in using your IBM ID and password.

Developing mobile applications can be a daunting task. With hundreds of handsets to develop against and support, mobile application development can be time consuming and costly. Fortunately, Yahoo! Blueprint helps alleviate this pain by providing a single way to develop mobile applications. With Blueprint, you can author a mobile application one time that can be targeted at mobile devices with a browser (or devices that support the Blueprint platform), allowing you to potentially reach thousands of users. In this tutorial you will see how to develop a weather mobile widget using the Yahoo! Blueprint platform.

In this tutorial

This tutorial is for developers interested in learning how to develop mobile widget-based applications using the Yahoo! Blueprint platform. While this tutorial is for entry-level developers, general knowledge about Web applications, mobile applications, XML, and PHP is desirable, but not essential.


Objectives

After completing this tutorial, you will understand what Blueprint is all about. The example weather widget uses PHP on the server, uses Blueprint XML, and consumes the Yahoo! Weather Web service for the current weather conditions.

Prerequisites

You will need the following tools to follow along with this tutorial:

  • Get the Yahoo! Blueprint SDK.
  • A Web server running on any operating system with PHP 5.1. This server is responsible for serving your widget-specific application logic. You can set up your own server configuration, or use a hosting service that provides Apache and PHP. See the Resources section at the end of the tutorial for information on setting up and configuring Web servers, including the Apache Web server.
  • Get PHP v5.2.
  • A plain text editor, or better. An IDE with support for PHP syntax is ideal. In my case I like to use the NetBeans IDE, which provides a PHP extension module.

Duration

1 hour





Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


My developerWorks needs you!

Connect to your technical community