Tcl

  • Created in 1987 by John Ousterhout

  • Very simple. Learned in an afternoon, mastered in a week

  • Excels at creating control structures

  • Very malleable and easy to expand

  • Designed to be easily embeddable in other applications.

  • Spawned the now-ubiquitous Tk GUI toolkit

some sample code:

proc wplug_smartlink { string tagset } {

    set href [ns_set iget $tagset "href"]
    set url [ad_conn url]

    ns_log notice "BORK: href: $href and url: $url"

    if { $href != $url } {
        return "<a href='$href'>$string</a>"
    } else {
        return $string
    }

}

Also open source. Tons of information at http://tcl.acivestate.com.

A Tcl introduction can be found at Tcl for Web Nerds.

previous | next