Yahoo pipes… programming made ‘easy’?

pipes Occasionally when some non-programmer sees program builders like code generating UML tools or, in this case Yahoo's new pipes service, they start making jokes about how developers are going to unnecessary in the future.

Normally I would just forget about such nonsense, but since this one involved the incredibly hyped Yahoo service I decided to have look at it.

Pipes is a free online service that lets you remix popular feed types and create data mashups using a visual editor. You can use Pipes to run your own web projects, or publish and share your own web services without ever having to write a line of code. The DHMTL/Ajax application looks rather nice. It's one of the first DHTML interfaces I used which really manages to feel like a real application.

After playing around with it for a short while I discovered that it is really difficult to create something useful. You have to be a programmer to actually understand how to make it work. Even worse: if you are a programmer you'd probably not use this tool since coding is MUCH easier.

Consider the 'ebay pricewatch' pipe at http://pipes.yahoo.com/pipes/avkEShi32xG_EF6KZVUMqA/edit?opendesc=true

(or click at the images in this post to get an idea)
Bottom part

So much lines and complex configuration! It took me about 10 minutes to write this small Ruby example which does something very similar:

RUBY:
  1. require 'rubygems'
  2. require 'open-uri'
  3. require 'simple-rss'
  4.  
  5. class EbayWatcher
  6.   def search (search, lower, upper)
  7.     url = "http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&siteId=0&language=en-US&output=RSS20&from=R8&satitle=#{search}&submitsearch=Search"
  8.     rss = SimpleRSS.parse open(url)
  9.    
  10.     found_items = rss.items.collect{|item|
  11.       prices = item.description.scan(/<strong>.*\$(\d+).*<\/strong>/) # find the price for the item
  12.       price = prices[0][0].to_i
  13.       if price>= lower && price <= upper
  14.         item
  15.       end
  16.     }
  17.    
  18.     rss.items.clear
  19.     found_items.compact.each{|item|
  20.       rss.items <<item
  21.     }
  22.    
  23.     puts rss.source
  24.   end
  25. end
  26.  
  27. EbayWatcher.new.search('wacom,intuos', 200, 350)

To me this sort of application actually strengthens my believe in the fact that coders aren't going to be outsmarted by the masses in the future.


4 Responses to “Yahoo pipes… programming made ‘easy’?”

  1. 1 Marian

    It's like communicating with a Frenchman using pictures and symbols instead of French. Of course if you know the language it's easier and more convenient to use words.

    Personally I think interfaces are silly anyway. Yeh, interfaces in general!
    Please, no more programming languages, no more parsers and compilers... Just a direct link from mind to machine, transferring ideas in the form of bitstrings.

  2. 2 arne

    "Please, no more programming languages, no more parsers and compilers… Just a direct link from mind to machine, transferring ideas in the form of bitstrings."

    You do realize you;d need an interface for that, do you? .....

  3. 3 Marian

    Thanks for pointing that out, I am humbled by your wisdom!

  4. 4 arne

    As you should be.... :)

Leave a Reply





About

Welcome to the weblog of Peter Maas. Here you'll find various posts related to stuff I like (like my kids and espresso) and stuff I do (like developing software).

JavaOne 2008 Pictures

lan_vpro train IMG_6149 IMG_4609.JPG Stretched Limo IMG_4572 Charles Nutter on JRuby raadhuis_hilversum trap trap (II) Greenland pier_39 warm_en_koud edwinmartin breakfast oldtimer IMG_4567 italian_chef IMG_4636.JPG Joshua Bloch at JavaOne2008
View more photos >

Categories



Meld u aan voor PayPal en begin direct met het accepteren van creditcardbetalingen.