[aida] Code of Aida website available

Janko Mivšek janko.mivsek at eranova.si
Mon Aug 15 12:16:51 CEST 2011

Dear all,

Maybe you'll find interested to see the code which runs our website
http://www.aidaweb.si. I just published a Squeak/Pharo port:


A complete script for loading Aida and Scribo as prerequisites then
AidaSite is:

  Gofer new
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfScribo';

 (Smalltalk at: #ConfigurationOfScribo) load.	

  Gofer new
    squeaksource: 'AidaAddons';
    package: 'AidaSite';

Then run the next script to configure the website:

  AIDASite default styleClass: AidaWebStyle.
  AIDASite default style style: ''.
  AIDASite default userServices
    at: #SiteContent
    put: (AidaWebSiteContent newOn: AIDASite default).
  AIDASite default
    register: AIDASite default siteContent firstPage
    onUrl: '/'.

Open http://localhost:8888 and login as admin/password.

See how styling of tis site is done. Both basic HTML layout and
CSS+images are located in AidaWebStyle. That way you can design your
site as you wish and it can still run from the same image as all others.
This is a main reason and power of separate WebStyle subclass.

Best regards

Janko Mivšek
Smalltalk Web Application Server

More information about the Aida mailing list