
Dear François,
There is a Glorp tutorial scheduled at 2pm on Monday. The description says that we attendants should have a Glorp Ready setup on their laptop. Is there any planned session to get this setup working?
I trust the instructions below will be easy to follow. However, also: 1) I will be at Camp Smalltalk on Saturday and Sunday. I will help anyone there who asks to get set up. 2) I'll arrange that people registering on Monday have a way to tell me if they are attending the tutorial and are having problems getting set up. I'll talk to them in the morning coffee break.
We need a VW image
It keeps things simple if attenders have the same set up as the presenter. Visit http://www.cincomsmalltalk.com/ to download the VisualWorks 7.10.1 personal use version (You won't be thrown out if you turn up with another dialect and its latest Glorp. :-) Just be aware it's "caveat emptor" if any hiccough I can't reproduce in my image hits you. :-) )
A stock PostgreSQL 9.3 is enough as well?
The same point about the advantage of using the same thing as the presenter applies to your choice of database. - Visiting www.postgresql.org and installing the latest 9.3 is fine. - Any older Postgres 9.* - and, I would expect 8.* - should work OK. - Any other database that Glorp supports _should_ work OK. "SQL is a standard - so it differs everywhere", Alan Knight. :-)
with Glorp loaded. Any special steps to do that?
Load Glorp and GlorpTest. (These are parcels in your VisualWorks installation. Components of the same name exist in other dialects.) - Look at the 'data' protocol on the class side of GlorpDatabaseLoginResource. - Choose a method that matches your database platform. - Edit it to connect to some (empty or unimportant) test database on your machine. - Execute the method; check the value of DefaultLogin is what you expect. - Run the GlorpTest SUnit tests. On Postgres and VisualWorks, you should see all tests run green. (On some other databases and/or dialects, some failures are expected; I will bring test data so you can verify your installation is behaving correctly.) If you get many failures, check simple things like your typing of the values in DefaultLogin, or the parameters of your database installation. HTH Niall Ross