| ||||||
| 5/16 |
| 2006/3/27-29 [Computer/SW/Languages/JavaScript, Computer/SW/Languages/Misc] UID:42449 Activity:nil |
3/27 Howdy, I just released the first beta of iGMonkey, a powerful
javascript framework designed to make it easy to query, retrieve,
manipulate, transform, and compare HTML and XML documents. Right now
iGMonkey targets the Google Homepage API
platform (http://www.google.com/apis/homepage but I plan to extend
it to support others, such as Firefox's Greasemonkey
plugin (http://greasemonkey.mozdev.org If you hack javascript or
Google Homepage Modules, please check it out and let me know what you
think:
http://www.csua.berkeley.edu/~dans/igmonkey
P.S. OB Dieter says, ``Touch my monkey! Touch him! Love him!''
-dans
\_ Re: map() and foreach(): did you ever look at prototype.js? A lot
of this sort of functionality is in there already.
\_ Yes, I have. I plan to push some of my code back to
prototype.js. prototype.js' map function is a crippled map that
only takes a one argument function and one list. iGMonkey's
map is a true generalized map that takes an n argument function
and n lists. Don't get me wrong, I like prototype.js. Also,
prototype.js' goal seems to be to make javascript work like
ruby, which is fine, if that's what you want. Furthermore,
prototype.js is monolithic, as far as I know, there's no way to
pick and choose just the bits of functionality you want from it.
I am working on a real #include function for javascript to make
iGMonkey more component based. Hopefully the prototype.js folks
will find this useful. -dans
\_ That's it? That's your "I'm going to change the world" project?
\_ I don't believe I said I was working on a world changing
project. That said, most change is a gradual thing. Sure, if
you're the leader of a major world power you can demolish a
country on the other side of the world for shits and giggles
(oh and because its leader was a bad man), and do it in days.
Notably, the real change, i.e. the reconstruction effort usually
takes longer. If Linus declared that the aim of Linux was total
world domination in his original 1993 usenet announcement, I'm
sure you'd have written him off as a kook. But here we are 13
\_ You've already been written off as a kook.
years later, and Linux has changed the world. To me, starting
small is the only sensible way to single-handedly launch a
project. With hard work and a lot of luck, ambitious small
projects grow up into big world-changing projects, which is to
say that big projects and big ideas don't pop out of people's
heads fully formed like Athena. And to respond to the snark in
your comment, what have you written lateley? -dans |
| 5/16 |
|
| www.google.com/apis/homepage -> www.google.com/apis/homepage/ Create a Module for the Google Homepage The Google Homepage API is our effort to open the Google homepage to developers. Developer Guide walks through how to use the Google Homepage API to write a module. At a basic level, a module is just an XML file that wraps existing web content or applications. add your module to your Google homepage -- and be sure to let your friends know, so they too can benefit from your hard work and revel in your web development skills. |
| greasemonkey.mozdev.org user CSS lets you take control of a web page's style, user scripts let you easily control any aspect of a web page's design or int eraction. site-specific extension for All Music Guide and the conversation which ensued after he published it. There were tons of sites I wanted to create SSE's for, bu t fully-fledged firefox extensions proved too cumbersome. |
| www.csua.berkeley.edu/~dans/igmonkey -> www.csua.berkeley.edu/~dans/igmonkey/ At its core, iGMonkey provides a flexible retrieval and rendering pipeline that manipulates a document by passing it through chains of pluggable filter' functions. unix shell is something you find on the beach, iGMonkey is easy to learn so it won't take you long to get up to speed. iGMonkey includes a number of useful filter functions you may use. Better yet, you can write your own filters to process the documents that are important to you. Best of all, iGMonkey filters facilitate reuse and remixing. iGMonkey features helpful utility functions that simplify your code, and make your applications more robust. Solid cross-browser support is a key goal of iGMonkey so stay tuned. If you have a success or horror story using iGMonkey on any browser, please let me know. Ideally, Greasemonkey scripts will work seamlessly with iGMonkey filters and vice versa without any modifications required on the part of developers. Long term * Grow iGMonkey into a meta-platform that makes it easy to target many different platforms. I soon realized that I could generalize the module's plumbing to create an easy to use web mashup platform that encourages developers to remix and reuse one anothers' work. |