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 : , , ,

Related posts:

  1. Aejaks 0.5 Integrates Echo2Extras
  2. Built-in Debugging Tool in Echo2
  3. HSE 1.1 – Hibernate, Spring and Echo2
  4. New Echo2 Tutorial Series
  5. IDE Watch: Echo2 Module for NetBeans

Topics:

Leave a comment

Powered by WP Hashcash

Launch: Pathfinder Newsletter

    Get a monthly update on best practices for delivering successful software.

    Subscribe via email


    Subscribe via RSS      RSS icon

Topics

Search

WordPress

Comments about this site: info@pathf.com