Categories
TechBiz

What’s missing? CPAN for JavaScript

I’ve been messing around with Perl in-between conferences at SxSW. What’s delighted me is how little I have to code because of CPAN, an archive of Perl Modules.

In order to write a simple RSS aggregator all I had to do was:
1) Create a class for fetching and saving the RSS.
2) Use a Perl module with web client functionality. (LWP::Simple)
3) Use a Perl module that can parse RSS. (XML::RSS::Parser)

my $lostdogs = Fetcher->new();
$lostdogs->feed("http://sfbay.craigslist.org/search/ccc/nby?query=lost%20dog&fo
rmat=rss");
$lostdogs->getfeed();
$lostdogs->savefeed('lostdogs.rss');

Now what if there was something like CPAN for JavaScript? Wouldn’t it make building all those AJAX apps easier? You wouldn’t have to be committed to either Dojo or YUI or Prototype.

4 replies on “What’s missing? CPAN for JavaScript”

Thanks, Ted. I just read the blog that Ted posted, and can’t wait to try the JPAN. I’ll follow up with another blog post.

Leave a Reply

Your email address will not be published. Required fields are marked *