Here's a question I get asked from time to time - "Why Seaside?" As in, why not Rails, or some other web application framework? Well, it's all about Simplicity. Here's the "Getting Started" for RoR, that takes you to "Hello World". It's not bad - but compare it with Seaside:
- Subclass WAComponent (Call the class HelloWorld)
- Add a method that looks like this:
renderContentOn: html
html text: 'hello World'.
And this method on the class side:
canBeRoot
^true
- Execute this line of code: HelloWorld registerAsApplication: 'helloworld'
Now, using VW 7.6, browse this url: http://localhost:7777/seaside/helloworld
And that's all there is to it. Now, why not take a look at the tutorial?
Technorati Tags:
smalltalk, web