Tuesday, April 17, 2007

An Erlang Pipe

Yahoo Pipes is one of the most innovative apps I've seen: it lets you program data feeds. More specifically, you can use Pipes build programs (called "pipes") that generate output feeds from input feeds by combining, filtering, and manipulating the inputs using different modules from the Pipes IDE. The IDE has a friendly graphical interface, letting you drag, drop and connect different components easily. The IDE is implemented in Javascript, which is impressive.

I couldn't resist playing with Pipes, so I created an Erlang pipe. The Erlang pipe reads the feeds from programming.reddit.com and lambda-the-ultimate.org, combines them, and filters the results by accepting only articles whose contents contain the word 'Erlang'. It then combines the result with the inputs from planeterlang.org.

Check out this pipe at http://pipes.yahoo.com/pipes/pipe.info?_id=4jVpGgjt2xGttygedrq02Q.

2 comments:

Mike said...

Thanks Yariv, this is great stuff! I wonder why Prag Dave's tutorial articles don't show up in the feed, they were actually posted to programming.reddit.com.
1: http://pragdave.pragprog.com/pragdave/2007/04/a_first_erlang_.html
2: http://pragdave.pragprog.com/pragdave/2007/04/adding_concurre.html

Those two are actually quite good tutorials. Joe's new book is very accessible.

Jose Marinez said...

Hi Yariv,

Great blog. I'm wondering if Erlang Pipes is the beginning for an ErlyWeb component for web services. Is there a way to do REST in ErlyWeb today?

Thanks,

Jose