Dabo: Rich Client Web Applications in 100% Python

Published January 26th, 2010 Under Open Source Tools | Leave a Comment

Imagine being able to create a rich web application using nothing but Python. No HTML, Javascript – just pure Python. Now you can with the Dabo framework. You can now create web applications as well as traditional desktop applications using Dabo. This session will cover the basics of developing both web and desktop applications using Dabo.

Strategies For Testing Ajax Web Applications

Published December 16th, 2009 Under AJAX | Leave a Comment

As a Python web developer you are probably familiar with the paradigms of testing simple web applications. Your test case makes a GET / POST request, your program responds with an HTML page, and your test verifies the HTML elements. Unfortunately, today’s typical web application is not so simple! Since modern browsers support asynchronous JavaScript (Ajax) very well, the HTML response might deliver program code to run on the client’s web browser. The browser’s runtime environment would then interact with your server-side Python program and you now have a big problem: How does your test suite cover both server-side functionality and client-side functionality? This talk will use a real Python / Ajax web application as an example then offer practical strategies for creating a fast, scalable test suite to help ensure that each release of such an app works as intended. It goes beyond just the tools and technologies; it examines architectural strategies — how and when to use stubs, how to design a testable UI, etc — so that as your application grows in size, your tests remain fast and effective.

Source and slides for this presentation

Building a Simple Configuration-driven Web Testing Framework With Twill

Published December 9th, 2009 Under Open Source Tools | Leave a Comment

Building a flexible and scalable functional testing framework for your application is typically an evolutionary process. You experiment and find things that work, and things that don’t, particularly if you have little programming experience. Sometimes, you proceed down a path that binds your hands later down the road, and a massive refactor is needed. I would like to present a simple testing framework built upon several existing, free technologies (ConfigObj, twill, nose) and models (Page Objects, Scenario Objects, Abstract State Machines) that is easy to configure, extend, and maintain.

Source, slides and code

Using Windmill

Published December 3rd, 2009 Under Open Source Tools | Leave a Comment

Windmill is the best-integrated solution for Web test development and its flexibility is largely due to its development in Python. This talk will get you writing and running automated tests and show off some of the most useful built-in tools for debugging and continuous integration.

Presentation slides

Building GUI applications with Python, GTK and Glade

Published December 23rd, 2008 Under User Interface | Leave a Comment

Pete Savage gives an introduction to developing applications using Python, GTK and Glade. This talk was given on 2nd December 2006 at a meeting of Hampshire Linux User Group.

Additional resource for this presentation

http://www.hants.lug.org.uk/cgi-bin/wiki.pl?TechTalks/2ndDecember2006