Agile Ajax

Aejaks - Tcl/Tk Style Framework Built on Echo2

For those Ajax cowboys out there who pine for the power and simplicity of Tcl/Tk, there is good news for you: Aejaks lets you write Ajax apps using Tcl. The widget model is inspired by that of Tk, but is not compatible with it.

#####################################################################################
# showCode - create a new window, show the code from the code array
proc showCode {name} {
global code
set w .split.s2.win
if {[info exists ::$w.code_$name]} {
return
}
WindowPane $w.code_$name -title "$name Code" -width 600 -height 600
ContentPane $w.code_$name.c -background white -insets 10
Pack $w.code_$name.c  -insets {10 10 10 10} -border {4 black solid}
TextArea $w.code_$name.c.t -text $code($name) -foreground black -background white -width 800 -height 600  -border {3 black groove}
Pack $w.code_$name.c.t
Pack $w.code_$name
}

aejaks.png

It uses Jacl, a Java implementation of the Tcl language and is implemented on top of another framework we are familiar with: Echo2.

Echo2 is a Java based windowing toolkit for building Ajax-enable applications. Aejaks translates most of the Echo2 Java objects into Tcl objects, but provides many shortcut features, such as anonymous object construction for attribute-type objects.

There is a console included in the source that allows you to do some interactive scripting with Tcl, otherwise it looks like you have to compile the Tcl into an app before deploying.

This is another sign that 2007 will be a year of intermediate forms, i.e. frameworks the compose and build on other frameworks. Wait until 2008 until we see something truly new.


Technorati : , , ,

Topics:

Leave a comment

Powered by WP Hashcash

About Pathfinder

  • We design and build extraordinary applications for companies looking to make the next great idea a reality.
  • learn more

Topics

WordPress

Comments about this site: info@pathf.com