Home -> javascript
javascript
Great NYTimes article reveals a little about their Web production process
.It was both educational and fun to read the NYTimes interview with Khoi Vinh, their Design Director.
Karl at Tuesday, April 29, 2008 | Comments (0) | TrackBack
An Ajax RSS Reader
William Lazar cooked up a sweet RSS reader you can read about on his blog using Google's Ajax Feed API and MooTools.
Part of me wants to whip up a Popurls page using this, that stores what feeds you want to see in a cookie. Something like that could take only a few hours, with minimum feed tech knowledge.
Karl at Sunday, June 10, 2007 | Comments (2) | TrackBack
What's exciting about Google Gears
A lot of folks are going gaga over Google Gears and its capability to enable partially connected web applications (web applications that can run offline).
Here is a paraphrase from a comment I left at Burningbird (Shelley Powers's blog is one of my favorite places to discuss web technology and how it relates to society, politics, and more):
What really interests me about Google Gears is the local web server.
It's the Dave Winer Fractional Horsepower HTTP Server idea (from back in 1997), that's finally come of age.
Just what is possible when each of us have our own web servers, running on our desktops?
Immediately you think p2p heaven. But the possibilities for building collaborative apps is just massive.
I know, I know, for anyone who knows Perl, Python or Java, it's never been too much of a big deal to spin up your own webserver, but this looks like it makes it more than simple - it makes it practical.
If I'm reading it right, you'll need some form of centralized web app to co-ordinate collaboration across machines, which is no big deal.
The web's about being connected. And it's the online possibilities that Google Gears opens up that are rather mind boggling.
Karl at Thursday, May 31, 2007 | Comments (0) | TrackBack
Quote viewer in AJAX...
I switched the implementation of my quote viewer from Flash to Javascript last night for fun and education. If you view source, it's there for you to find in gory detail, but here it goes for the lazy...
In the header of this page you will find tag that loads the script that enables the quote viewer:
<script language="javascript" type="text/javascript" src="/widgets/quoteview/quoteview.js"></script>
At the top of the script you will notice two variables, one sets the number of seconds I want this quote to auto-refresh (set to -1 to disable) and the the next indicates where to find the XML document that contains the quotes I want to display.
Methods in the script will load a random quote and refresh a div element on the page:
<div id="quoteview"></div>
To kick it off, I call a method from the script:
<script language="javascript" type="text/javascript" src="/widgets/quoteview/quoteview.js">quoteViewXmlRequest();</script>
And that's it :) I'm a server-side developer by trade so if you care to take a look at this and critique, it could be helpful.
Karl at Wednesday, March 8, 2006 | Comments (1)