Web Info & Tutorials

November 10th, 2006

ALEXA TRAFFIC WIDGET CLEANUP

The Alexa traffic widget has been updated as noted by Kian Ann.

It is nicely tabbed, allows you to easily add up to 5 comparisons, but the best feature is the slider for “smoothing”. I will always have the smooth meter on the far right now, as it makes the graph a lot easier to grok. If you are un-smooth you see items facts such as the weekend, swinging the graph all over the place.

It is nice that they added a subtle feature like this to give people a better view on the data. Now, I with that they:

  • Let you get even smoother
  • Show the darn traffic search by default guys. Come on. Noone is at alexa.com for search :)

Alexa Change

November 10th, 2006

ERLANG AJAX JUKEBOX

Tony Garnock-Jones released an Ajax jukebox written with Prototype on the frontend and Erlang on the backend.

  • You point the jukebox at one or more root URLs, which it then spiders, collecting URLs for MP3 and OGG files, which it puts into a simple flat-file database. Just expose, say, your iTunes folder via Apache, point the Jukebox at it, and you’re away.

  • It relies on mpg123 and ogg123’s support for playing HTTP-streamed MP3 and OGG files, respectively, rather than retrieving or playing the media itself.

  • The user interface is completely written in HTML+Javascript, using prototype for its event
    binding and XMLHttpRequest support.

  • The server side of the application communicates with the user interface solely via JSON-RPC.

  • Erlang made a great platform for the server side of the application. Its support for clean, simple concurrency let me design the program in a very natural way.

November 10th, 2006

F3: SUN’S NEW DECLARATIVE JAVA SCRIPTING LANGUAGE

Chris Oliver, today at Sun via SeeBeyond, has posted most a newborn modality Java scripting hold that Sun module be unstoppered sourcing shortly.

My send is titled F3 which stands for “Form follows function”, and its determine was to explore making interface planning easier in general.

F3 is actually a modality Java scripting module with noise typewriting for beatific IDE hold and compile-time nonachievement news (unlike JavaScript…), type-inference, modality syntax, and semiautomatic data-binding with flooded hold for 2d graphics and accepted Swing components as substantially as modality animation. You crapper also goods drinkable classes, create newborn Java objects, call their methods, and compel Java interfaces.

We hit IDE plugins for both Netbeans and Eclipse Both plugins hold as-you-type validation, code-completion, structure highlighting, and hyperlink guidance (with control-mouse-over).

F3 attempts to shew that we’re not exploiting the flooded capabilities of the Java papers for interface utilization and that unitedly with activity tools same F3, the Java papers is highly combative with or crack to competing interface utilization platforms much as Macromedia Flash/Flex/Open Laszlo, Adobe Apollo, Microsoft WPF/XAML, Mozilla XUL, AJAX/DHMTL.

Example

import f3.ui.*;
import f3.ui.canvas.*;
import f3.ui.filter.*;
 
Canvas {
    content: Text {
        x: 20
        y: 20
        content: “Welcome to F3″
        font: Font { face: VERDANA, style: [ITALIC, BOLD], size: 80 }
        fill: LinearGradient {
            x1: 0, y1: 0, x2: 0, y2: 1
            stops:
            [Stop {
                offset: 0
                color: blue
            },
            Stop {
                offset: 0.5
                color: dodgerblue
            },
            Stop {
                offset: 1
                color: blue
            }]
        }
        filter: [Glow {amount: 0.1}, Noise {monochrome: true, distribution: 0}]
    }
}
 

would produce:

And then a demonstrate of a winkle opening that took a pair of days:

I conceive that we every see that interface impact could be easier than Swing currently is. I astonishment if a newborn module that is a organism of Java and JavaScript makes sense, or if they could ingest the stylish ECMAScript?

November 10th, 2006

JAVASCRIPT PARTICLE ENGINE

For whatever weekday fun, Jason Harwig likes to indite a particle engine in the planning languages that he learns and uses.

His latest is in JavaScript and is configurable for you to burst every around you :)

Particle Engine

November 10th, 2006

W3C WIDGETS 1.0 WORKING DRAFT

Arve Bersvendsen of Opera let us know about the new working draft from the W3C: Widgets 1.0.

Everyone and their mother have created their own widget specifications, and now as a developer you need to make choices. Do you want it to work on Dashboard? Google? MSN? Yahoo!?

If the big hitters supported this widget standard then we could write once, widget everywhere. Kinda :)

This draft is similar to the opera widgets implementation, but it also has info from Apple's Dashboard, and the auto discovery support was based on the work in Atom Autodiscovery.

This standard will live and die by the support that it gets. Now is the time to give feedback, and see where this train goes.