5 posts tagged “oscon”
Next week at OSCON 2009 in San Jose is going to be a very busy week for me. I'm managing the Stonehenge/LinuxFund party on Wednesday night, which includes hanging out at the LinuxFund booth during the day on Wednesday. I'm also appearing at the usual O'Reilly Author meet-and-greet Wednesday evening.
The framework itself is based on continuations and maintenance of session state. As with other rapid-development web frameworks, a very small amount of template code does a lot of work. In contrast to, say Ruby or Django, Seaside gives you far more capability of poking inside the running sessions, and even greater dynamism in seeing your code changes reflected on web pages. As a development feedback process, this is great. You can build your applications in baby steps, seeing the changes and improvements at each one, and getting immediate notification and feedback on bugs and glitches. Another respect in which Seaside is unusual as a web framework is that its "templating" language is just Smalltalk itself. While somewhat novel as a concept, in practice it seems little different: it is really just a matter of sticking some method names where you might put various meta characters and escape sequences in other frameworks.
Wow. What a rush. But I mean that literally.
- A quick intro to Smalltalk and the Squeak GUI
- Basic concepts of Seaside (starting from configuring a "hello world" application)
- Forms and state
- Subcomponents and call/answer
- Magritte
- Persistence
- Other bolt-ons (testing, ajax, etc.)
Sunday, I spoke at the pre-OSCON Portland Oregon PostgreSQL Users Group (PDXPUG) DAY mini-conference about how to connect Squeak to Postgres using GLORP. I had originally pitched the talk with about 45 minutes or so of material in my head. When I got the final schedule, my time had been cut back to 20 minutes (and the coordinator wanted half of that to be "introduction to Smalltalk"), so I realized I could really only do a simple demo. Of course, I was working hard on my materials for my 3-hour OSCON tutorial the following day, so I waited until Sunday morning to actually start writing my PDXPUG talk.
I just got word that my proposal for a 3-hour Seaside tutorial at OSCON has been accepted. Here's what I pitched:
Introduction to Seaside - Powerful web application development in Smalltalk
Description: Introduction to the Smalltalk Seaside web application framework: an open-source (but vendor supported) challenge to the classic web design strategies, using test-driven development, continuations for easy workflow abstraction, and view components for consistency and re-use. Includes introduction to Squeak Smalltalk, but general OO principles won't be covered.
Abstract: Sure, Smalltalk is where we got our modern view of windows and mice and “the desktop” and object-oriented programming and extreme programming two decades ago, but what has Smalltalk done for us lately?
I’ll answer this by showing off the Seaside web application framework. Imagine being able to debug a broken web-hit in the middle of the hit, fixing the code, and continuing before the browser knows that something went wrong. Imagine being able to re-use control flows and web components with the ease of OO programming. Imagine being able to do test-driven development, even for HTML delivery. Imagine taking an application from “three guys in Starbucks on a laptop” to “3000 hits per second on your Amazon EC2 cloud” with no major changes in design. No need to imagine… I’ll demonstrate all this and more.
Smalltalk knowledge is not required: I’ll start with a brief overview of Smalltalk using Squeak, the free implementation that’s even included in the OLPC XO. General knowledge of Object-Oriented Programming basics would be helpful, though.