s LearnSqueak.com

SMALLTALK UPDATES · ISSUE 04

Give your objects an interface: learning Spec

A useful object can calculate an answer. An interface helps someone ask the question. Today's evergreen spotlight follows the path from domain objects to user interaction with Pharo's Spec framework, using a book and its companion code.

Published · Curated links & context

WHAT CAUGHT OUR EYE

News & articles

Dates below belong to the original sources. Evergreen resources are labeled separately from dated news.

EVERGREEN BOOK & TUTORIAL

Start with Application Building with Spec 2.0

Publication date not established to the day · Publisher page copyright 2024 · Checked 1 November 2026

Square Bracket Associates' book introduces Spec through Pharo 12. It explains the Model View Presenter pattern, reusable presenters and widget layouts, then explores commands and transmissions. A minimal email client brings the ideas together. The official landing page provides the book as a PDF.

Why explore it?

Our reading exercise: sketch a tiny address book. Identify the contact objects, the fields and list a person sees, and the presenter that coordinates their interaction. As you read, ask which responsibility belongs where. This is a conceptual starting point, not tested sample code.

A conceptual interface map: domain objects hold application data, a presenter coordinates interaction, and widgets show information and accept input.
Original LearnSqueak illustration, created 1 November 2026. A simplified reading aid, not a screenshot or a complete Spec architecture diagram. Source

KEEP EXPLORING

Useful sites, tutorials & videos

A small shelf of learning resources. Older material is labeled so you can expect interface differences.

READ WITH THE CODE

The book's companion examples

Evergreen companion repository · Publication date not established

The CodeOfSpec20Book README identifies this as the book's example-code repository and provides loading instructions. Keep a chapter and its matching example side by side. Follow the book's environment guidance; a moving repository branch does not guarantee that every example works in a newer Pharo image.

CONSULT THE FRAMEWORK

Spec's own repository

Maintainer reference · Checked 1 November 2026

The framework's README says Spec is included in regular Pharo images. Use this repository to inspect source and maintenance context when a question goes beyond the book. Match the branch to your environment: the repository's displayed Pharo15 branch is distinct from the book's Pharo 12 setting.

About this edition

Published 1 November 2026. These resources were not featured in earlier Updates editions and are presented as evergreen learning material, not new releases. The official Pharo news index still led with the already-covered Pharo 14 announcement when checked. The book page identifies Pharo 12 and carries a 2024 copyright; that is not an exact publication date. Source pages and links were verified, but external examples were not executed. No compatibility with Pharo 14, Pharo15 or Squeak is claimed. The exercise and diagram are original editorial aids. No third-party images, book text or videos are rehosted.

Back to all Smalltalk updates · Subscribe by RSS