The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Why Seaside?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Why Seaside? Posted: May 6, 2008 9:20 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Why Seaside?
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

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: ,

Read: Why Seaside?

Topic: The Future keeps arriving Previous Topic   Next Topic Topic: Adding a OneTouch4 Drive to Leopard

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use