The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Smalltalk web site generation

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
Smalltalk web site generation Posted: Jul 21, 2004 9:00 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Smalltalk web site generation
Feed Title: David Buck - Blog
Feed URL: http://www.cincomsmalltalk.com/rssBlog/buck-rss.xml
Feed Description: Smalltalk can do that
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From David Buck - Blog

Advertisement

I decided to bite the bullet and write a Smalltalk program to create Simberon's web site. (Thanks everyone for the tips on sites that will support Seaside. I'll keep those in mind, but for now, this is the easiest thing).

Every page is represented by a class. Each class knows its HTML file name and its page title (through class methods). Instance methods for the class write the HTML to a stream. Thanks to inheritance, subclasses only need to write the content.

Even though the code is quite specific to my site, it's pretty clean. For a few hours work, it's not bad. I can now run one Do It and build all the HTML files for the site. I'm guaranteed that all the links work and all the pages are consistent.

One added benefit: I now have StORE version control on the web site. Not too shabby.

Read: Smalltalk web site generation

Topic: Asian fonts in bf Previous Topic   Next Topic Topic: New Coke?

Sponsored Links



Google
  Web Artima.com   

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