[aida] Code of Aida website available

Martin Polák nigol at nigol.cz
Mon Aug 15 17:21:09 CEST 2011


Thank Janko,

this could be very useful for those designing some real world sites.

Martin


15. 8. 2011 v 12:16, Janko Mivšek:

> 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:
> 
> 	AidaSite-janko.2.mcz
> 	http://www.squeaksource.com/AidaAddons
> 
> A complete script for loading Aida and Scribo as prerequisites then
> AidaSite is:
> 
>  Gofer new
>    squeaksource: 'MetacelloRepository';
>    package: 'ConfigurationOfScribo';
>    load.
> 
> (Smalltalk at: #ConfigurationOfScribo) load.	
> 
>  Gofer new
>    squeaksource: 'AidaAddons';
>    package: 'AidaSite';
>    load.
> 
> 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
> 
> -- 
> Janko Mivšek
> Aida/Web
> Smalltalk Web Application Server
> http://www.aidaweb.si
> _______________________________________________
> Aida mailing list
> Aida at aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida



More information about the Aida mailing list