Pharocasts: Display Picasa photos

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Pharocasts: Display Picasa photos

Torsten Bergmann
>Lots of cool things can be done simply... (c.f Camp Smalltalk London wrt.
>Google Maps)...

Tell us more ...

Bye
T.
--
GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 ¿/mtl.!*
http://portal.gmx.net/de/go/dsl

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Pharocasts: Display Picasa photos

Gary Chambers-4
http://www.squeaksource.com/@Ka2Wqd72TUsS6-Xj/xrbmFt3Z

Hopefully, else search SqueakSource for "Camp Smalltalk London"

Regards, Gary

----- Original Message -----
From: "Torsten Bergmann" <[hidden email]>
To: <[hidden email]>
Sent: Monday, August 16, 2010 4:31 PM
Subject: [Pharo-project] Pharocasts: Display Picasa photos


> >Lots of cool things can be done simply... (c.f Camp Smalltalk London wrt.
>>Google Maps)...
>
> Tell us more ...
>
> Bye
> T.
> --
> GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 ¿/mtl.!*
> http://portal.gmx.net/de/go/dsl
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project 


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Pharocasts: Display Picasa photos

Nick
 Gary Chambers <[hidden email]> wrote:
http://www.squeaksource.com/@Ka2Wqd72TUsS6-Xj/xrbmFt3Z

Hopefully, else search SqueakSource for "Camp Smalltalk London"



>Lots of cool things can be done simply... (c.f Camp Smalltalk London wrt.
Google Maps)...


 Here's the message I posted on the mail list:


Though it's been a couple of weeks since CampSmalltalk London, I've only just got round to creating a ConfigurationOfCampSmalltalkLondon which can be used to download the beginners tutorial Tim Mackinnon and I created. 

First some context. The beginners tutorial ran on the first day. We had 9 developers with a mixed background in Ruby/Java/C#/PHP etc. We started by going through the excellent ProfStef tutorial which we used as jump off point for frequent asides into the tools and code in Pharo.

Next we gave them a simple exercise. You can download the code by grabbing ConfigurationOfCampSmalltalkLondon from http://www.squeaksource.com/MetacelloRepository.html and executing:

(ConfigurationOfCampSmalltalkLondon project version: '1.0') load.

The aim was to put into practice some of the concepts they'd learnt in the ProfStef tutorial - initially focusing on loops. The tutorial grabs live traffic information from the SE of the UK. Initially there is only one entry in the list viewable from their image at: http://localhost:8080/camp-smalltalk-london

The first task was to change the code in CSLTransportInfo>>renderPage: to loop over the results and pass them to a custom renderer. Note we wanted to pass-on the joy of developing a web app in Smalltalk - the liveliness of the environment, code editing in the debugger etc - without first having to learn Seaside. So we hid the Seaside code behind some custom renderers.

The second task was the change the renderer in CSLTransportInfo>>modelRenderer to be a CSLListItemRenderer. The task here was to notice the signature of the addItem method had changed and use the inspector and the browser to discover the relevant accessors on the result items. 

Finally they changed the renderer again for a CSLMapRenderer and went through a similar routine to step two, though this time the result of their labours was to transform a boring list into an impressive map - graphically  showing traffic incidents.

Those who were more advanced could then filter the results to look at say only incidents along particular roads etc.

The tutorial session seemed to be well received. I don't know if anyone out there is planning to run an introduction to Smalltalk - if so they are more than welcome to use the code.


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project