- We design and build extraordinary applications for companies looking to make the next great idea a reality.
- learn more
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
}
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.
Topics: Echo2
Leave a comment
About Pathfinder
Recent
- Roles Testing For Security
- Blackbird takes the pain out of JavaScript logging
- Making GWT JSON not Quite so Painful
- IDEA - preconference workshop 06 Oct 08
- HTML5, Ajax history management, and The Ajax Experience 2008 Boston
- A Look Back At Past Posts
- Flash Player on iPhone gossip
- Microsoft to Jump on Board EC2
- TAE Boston 2008: The Unsexy Presentations
- The Ajax Experience 2008: Hope to see you in Beantown
Archives
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006


