Tales from the Smart Client

John Gossman's observations on Avalon development

May, 2005

  • Tales from the Smart Client

    Pythalon

    • 0 Comments
    This weekend I continued my experiments with Python and Avalon. Before I was hosting Python in an existing app, but now I've started from almost scratch. I have to clean up the code and wait for the outside world to get new Avalon bits, but I can describe...
  • Tales from the Smart Client

    Embedding Python into Xaml

    • 1 Comments
    I took a slightly different tack than Chris on embedding Python into Script . I created an attached property, with the idea that I could set a piece of script "on" an element, giving it some scope. For example, I got this to work: < Button Name...
  • Tales from the Smart Client

    On Programming Languages

    • 0 Comments
    I know Chris isn't implying dynamic languages are only for hobbyists, but any discussion of languages quickly starts to sort them for their attractiveness to developers on a scale from "hobbyist" to "professional developer". Why? This is a deep subject...
  • Tales from the Smart Client

    Why Pythalon?

    • 0 Comments
    Looking at the last point on its own grounds, you may think: "Okay, you can program Avalon in Python. So what? I'm a C#/VB/C++ programmer...I need to learn Python why??" The reason Pythalon is so fun is that it is interactive. The programs in the previous...
  • Tales from the Smart Client

    Attached Properties and Python script

    • 0 Comments
    While I'm trying to work around the xml:space issue from my last post, it is worthwhile to see how simple it was to create the attached property (which works fine, as long as your script doesn't need newlines...): namespace Pythalon { using System;...
  • Tales from the Smart Client

    Pythalon Screen Shot

    • 0 Comments
    http://www.johngossman.net/PythalonSample.html
  • Tales from the Smart Client

    IronPython architecture

    • 1 Comments
    Chris and I met with Jim Hugunin this morning and got an overview of the IronPython architecture. Which is basically, very simple and straightforward. Like you might expect, it consists of a tokenizer, a parser, a code generator and a library of built...
  • Tales from the Smart Client

    CodeBehind and Python

    • 0 Comments
    Rather than push on embedding Python in XAML, which Chris has made fine progress on anyway, I changed tack and quickly got Python code behind working. Separating code and markup is considered best practice anyhow...and the implementation was trivial....
  • Tales from the Smart Client

    Seductive Programming

    • 0 Comments
    On the topic of the previous post, we had long debates at Asymetrix about C++ versus OpenScript , and there were similar issues when AutoCAD switched from AutoLisp to C. I coined the term "Seductive Programming" to describe the way tools are marketed...
  • Tales from the Smart Client

    Python Love from Dr. Anderson

    • 0 Comments
    Python in AvPad
  • Tales from the Smart Client

    Dive Into Python

    • 0 Comments
    The book I used to learn Python is also available online: http://diveintopython.org/ I recommend buying the lump of paper, to reward the author for a good piece of work...but on-line is nice too.
Page 1 of 1 (11 items)