Tech

Guides
 

Yahoo Pipes brings mashups to the masses

By Tony Patton, Special to ZDNet Asia
Wednesday, September 05, 2007 11:02 AM

The Yahoo! Pipes project facilitates mashup creation via an easy-to-use interface. Tony Patton has the details.

The Yahoo Pipes project facilitates mashup creation via an easy-to-use interface. My first introduction to the concept was with the Unix platform. UNIX Pipes allows you to route output from one process to another process as its input; that is, you can easily route data through a series of loosely connected applications. This simple definition is the core concept behind the Yahoo Pipes project.

What is Pipes?
Pipes is a free online service that lets you remix popular feed types and create data mashups using a visual editor. The visual editor is a key component as it, theoretically, makes the service accessible to nonprogrammers. You may use Pipes within your Web applications, or you may publish and share your mashups as Web services without ever having to write a line of code.

In practice, this means that you can use Pipes to pick a few feeds or APIs to retrieve data from, set up rules for processing the data that is provided by those feeds, prompt for user input in your processing, and then output the processed results as another feed or object format for use in your own applications. In the simplest case, you can apply some straightforward rules to a feed and then subscribe to the end result.

The editor
One of the best features of Yahoo Pipes is the user interface. It provides a drag-and-drop user interface to create your own Pipes. Even if you don't like the tool, you will be impressed with the editor. It allows you to create your own Pipes by using predefined items called modules on a toolbar on the left portion of the screen. Modules are the tools that enable the mixing, sorting, and merging of different data sources. The following list provides a sampling of the available options for building your own Pipes:

  • Sources: Data inputs are set up using Sources. You can pull in RSS or Atom feed that may be accessed via HTTP.
  • User inputs: You can specify input for a Pipe. The values may be numbers, URL, location, text, or date.
  • Operators: There are a variety of pre-defined operators that may be used to process data. This includes loops, sorting, union, and so forth.
  • Url: This module facilitates the creation of custom URLs that pass data to other modules.
  • String: This module provides various string operations such as regular expressions, translation, replace, and concatenation.
  • Date: This module provides functionality for formatting and building dates.
  • Number: This module provides simple math functions like addition and subtraction that can be used to manipulate data.

You may drag and drop these modules to the screen's layout area. Lines are used to connect modules together (i.e., using the output of one module as the input for another). The editor includes buttons that allow you to work with Pipes, such as create a new one, save your work, create a copy of the currently open Pipe, and view/edit properties of a Pipe.

The screen's bottom portion is a debugger area that provides feedback. The debugger allows you to step through your modules one at a time and view the data at each step--allowing you to easily track down any issues or problems that may occur. The editor uses a tabbed interface, so you can work on multiple Pipes at one time--each opened within its own tab.

A simple example of a Pipe is using an RSS feed as the data source (Source module). Each data item in the RSS feed can be processed in a loop (Operators module). Each data item in the loop may be used as an input for a Yahoo! search (Source module). The output of the Yahoo search using data items from the RSS feed is the output of the Pipe. The Pipe output may be consumed as RSS or JavaScript Object Notation (JSON). In fact, you may publish the Pipe for others to use. This is a simple example, but it does provide a peek at its functionality.

Considerations
While the tool is described as easy to use, it still requires a bit of technical knowledge to properly use. For instance, you need to be familiar with URLs and their various parts if you want to take advantage of the User inputs modules; it also requires some expertise to work with the various data types and other features. While you don't have to be a hard-core developer, you must have a good understanding of the Web.

A big issue with this type of tool is browser support, especially given its impressive interface. Basically, there are some compatibility issues with older versions of some browsers. With this tool, it helps to have the latest version of any browser. I have used it with Internet Explorer 7 and Firefox 1.5 and 2 with no problems.

Centralize data
Yahoo Pipes is simple and accessible to use. The visual editor makes it easy to jump in without any coding. It embraces the Web 2.0 concepts as it facilitates the creation of new Web services or feeds using existing components or sites. It allows you to combine them in novel ways to provide whatever is needed.

Tony Patton began his professional career as an application developer earning Java, VB, Lotus, and XML certifications to bolster his knowledge.


See also:  Web 2.0

WORTHWHILE?

0

0 votes
Blog

Talkback 0 comments

There are currently no comments for this post.

Guest user

Guest user

Level: 
Joined: —
Already a member? Log in »



 

Loading...

Up close and personal with a merger

Blog thumbnail

What can you get for 13.9 billion buckaroos? For Hewlett-Packard, US$13.9 billion would allow you to buy your way into becoming the second biggest IT services company in the industry...... by Eileen Yu

Read more »

Whitepapers / Case Studies

Downloads

Web Development News

 
Oracle SOA Business Software Centre
Many companies are recognizing the need to adopt standards in their efforts to build service-oriented applications.
Secure the "Next-Gen SOA Infrastructure" & "Bringing SOA Value Patterns to Life" whitepapers here


» Visit the Power Center
Powerful technology that drives your business needs
Increase datacenter efficiency with innovative technology that uses less energy and lowers power costs for your business demands.
» Maximum flexibility with powerful blade technolgy
» Bring new services and applications online faster
» Lower energy use and cost

Tech Jobs Now!

Tags

  1. access
  2. build
  3. command-line
  4. configure
  5. css
  6. develop
  7. device
  8. don’t
  9. java
  10. management
  11. manager
  12. mysql
  13. network
  14. performance
  15. program
  16. project
  17. securely
  18. security
  19. server
  20. service
  21. site
  22. snort
  23. sql
  24. storage
  25. use
  26. via
  27. web
  28. windows
  29. word
  30. xml