There are several excellent Squeak and Seaside “Hello World” tutorials out there, that walk you through downloading the Squeak Smalltalk environment, loading the Seaside web framework, and doing a basic “Hello World” web app on your web browser, running in localhost. Here are some of my favorites:
- Installing Pharo for Windows walkthrough Video by James Robertson
- A Walk on the Seaside by the official Seaside website
- Learning Web Development with Seaside – James Foster’s tutorial on running Seaside with Gemstone Smalltalk
Now, what if you’re ready to take the next step? What if you’ve written a web application in Seaside, and would like to push a beta version out there, for the world to see? How do you get your Seaside app onto a remote server, and responding to an actual request to www.yourhelloworld.com?
In the next series of posts, I will walk you through the steps required to roll your code to your remote server. This is by no means a battle-hardened production ready deployment process. I’ve pieced this together from various scattered documentation, and through trial and error, and hopefully it will save you some minutes of research and some frustration.
Table of Contents:
- Basic Smalltalk Dev Environment Concepts
- Installing Seaside and Squeak Basics (saving and exiting, basic navigation)
- “Setting It Up Right” – Loading Useful Extensions (Except it turns out, not really)
- A Localhost Seaside “Hello World”
- Interlude: Get a Remote Server
- Package Your Image for Deployment
- Installing Pharo on the Server (Caveats and Gotchas)
- Interlude: Set up a Domain
- Closing the Loop – www.yourhelloworld.com
Stay Tuned!
Brilliant! Just what I am looking for.
Could I ask you to add one more item to your table of contents? I would love to see how you build in authentication, i.e. login/username management.
Absolutely, will do.
It took me a bit to figure out how to do that initially, so I’ll definitely post about it.
Thanks very much. I would really appreciate that.
Coming from a Lotus Domino world – where the user directory management is rolled right into the product – I have been scratching my head about the best way to do this.
Given how important it is, I didn’t want to just invent my own approach in case it opened up a whole slew of security holes.