[squeak-dev] Parameterised paths for Altitude?

Frank Shearar frank.shearar at gmail.com
Fri Jul 27 20:56:06 UTC 2012


Hi Colin,

I'm playing around with Altitude, making something that can reflect on
an image. So for instance I have in my main ALApplication subclass

	#(hash value) do: [:sym |
		locator
			at: ALPath root / 'senders-of' / sym asString
			put: (SendersOf reflecting: sym) asResource]

but I'd really rather have something like this Sinatra snippet:

	get '/senders-of/:name' { |n|
		# Get the senders of :name
	}

I can't find any Locators like that, so perhaps it's not something
you've needed?

frank


More information about the Squeak-dev mailing list