xotcl-tutorial
XOTcl @ WorkGustaf Neumann Uwe ZdunDepartment of Information Systems Speci cation of Software SystemsVienna University of Economics University of EssenVienna, Austria Essen, Germanygustaf.neumann@wu-wien.ac.at uwe.zdun@uni-essen.deSecond European Tcl/Tk User Meeting, June, 2001.uuuuuXOTcl @ Work June, 2001What is XOTclXOTcl = Extended Object Tcl“High-level” object-oriented programmingAdvanced Component GlueingXOTcl is freely available from: http://www.xotcl.orgOutline:– Scripting and object-orientation– Programming the “basic” XOTcl Language– Component Glueing– XOTcl high-level language constructs– Some provided packagesGustaf Neumann, Uwe ZdunSlide 1University of EssenuuuuuXOTcl @ Work June, 2001Tcl-StrengthsImportant Ideas in Tcl:Fast & high-quality development through component-based approach2 levels: “System Language” and “Glue Language”Flexibility through . . .– Dynamic extensibility,– Read/write introspection,– Automatic type conversion.Component-Interface through Tcl-CommandsScripting language for glueingGustaf Neumann, Uwe ZdunSlide 2University of EssenuuuXOTcl @ Work June, 2001Motivation for XOTclExtend the Tcl-Ideas to the OO-level.Just “glueing” is not enough! Goals are . . .– Architectural support– Support for design patterns (e.g. adaptations, observers, facades, ...)– Support for composition (and decomposition)Provide exibility rather than protection:– Introspection for all OO concepts– All ...