February is nearly out and I haven’t posted for a few weeks so I thought I’d just throw in my thoughts on the use and misuse of Singletons! Many of my colleagues working in Java pepper their code with static methods and use them as placeholders for pure function calls. Some would [...]
Archive for the 'Smalltalk' Category
Classic Singleton
February 28, 2007Why Wouldn’t You Use Seaside?
February 7, 2007I picked up seaside for the first time 2 months ago and having played with the stuff I guess I’m intrigued by the question “why wouldn’t you use seaside?“.
Scriptacu-list Tutorial(Part 7)
January 26, 2007To complete our application we will allow our users to upload a picture of the contact so that it appears on the details drop down.
Scriptacu-list Tutorial(Part 6)
January 25, 2007OK if you’ve stuck with me so far you should have a functioning application with a Scriptaculous effect that you have achieved with very few keystrokes (very few indeed if you just copied my code!). We are nearly at the end of our journey – just 2 more sessions to go. So for today’s session [...]
Scriptacu-list Tutorial(Part 5)
January 24, 2007Its time to get our little Contact List application into the Web2.0 era by adding a funky Scriptaculous dropdown on our contact list. The really cool thing is that we are going to do all this without writing a single line of Javascript (Lukas Renggli has already done that for us. Much [...]
Scriptacu-list Tutorial(Part 4)
January 23, 2007Time’s tight today so I will just introduce my technique for creating alternating rows into our contact list.
Scriptacu-list Tutorial(Part 3)
January 22, 2007So we’ve got a simple Contact List working but there are two big problems.
When I’m editing the contact the data changes even if I click “Cancel”.
It doesn’t look very pretty.
Today we are going to fix this…
Scriptacu-list Tutorial(Part 2)
January 18, 2007So we’ve got our first cut domain model and now its time to add our views. Today we are going to add another two classes MyAddressBookView and MyContactEditor…
Scriptacu-list Tutorial(Part 1)
January 17, 2007Learning Seaside is fun and there are a number of good tutorials out there (but beware that some don’t use the latest Seaside 2.7 release) and a number of good blogs (I especially recommend Ramon Leon’s Blog). But it can still be a bit tricky to find examples of exactly what you want. What I’d [...]
They Want it All
January 12, 2007So I sat down last night with my 9 year old boy who’s got in his head some ideas about a game he wants to write. We open up Scratch and I start to show him what it can do.
First I animate my cat and get him walking around.
“But it has to be a [...]