Iliad 0.6 is out!

Tagged:

Hi,

I am happy to announce the first public release of the Iliad web framework
(http://iliad.bioskop.fr).

Iliad features:

  • standalone stateful widgets
  • nice urls with a simple routing system
  • simple API
  • easy to setup and deploy (no complicated configuration step)
  • javascript layer to update widgets using AJAX. If javascript is not enabled,

the behaviour remains the same by making normal requests.

You can download it from the svn repository:

svn co http://bioskop.fr/svn/gst/iliad/tags/0.6.0

A Squeak/Pharo port is available at http://www.squeaksource.com/Iliad

Installation instructions can be found at: http://iliad.bioskop.fr/wiki/iliad/Installation_guide
for both GNU Smalltalk and Squeak.

Some blog entries related to Iliad: http://smalltalk.gnu.org/tags/iliad

I would like to thank Stefan Schmiedl, Joachim Jaeckel and Paolo Bonzini for their help.

Nicolas Petton

I tried to install the Gnu Smalltalk version rather than the squeak packages, but got an error as well.

svn co http://bioskop.fr/svn/gst/iliad/tags/0.6.0

./make_packages.sh

results in:

packaging ./More/Magritte/package.xml ...
gst-package: Invalid argument Iliad-More-Magritte: package not found
packaging ./More/UI/package.xml ...
packaging ./More/package.xml ...

and the following fails:

st> PackageLoader fileInPackage: 'Iliad'
"Global garbage collection... done"
Object: PackageLoader class error: Invalid argument Iliad-More-Magritte: package not found
SystemExceptions.PackageNotAvailable(Exception)>>signal (AnsiExcept.st:216)
SystemExceptions.PackageNotAvailable(Exception)>>signal: (AnsiExcept.st:226)

I get the same thing -- tried both OS X and Debian sid with Iliad 0.6.0 and trunk. (Latter on both gst 3.1 and head.)

Please, update to the trunk version, it should be fixed now.
svn co http://bioskop.fr/svn/gst/iliad/trunk

Nico

$ gst
GNU Smalltalk ready

st> PackageLoader fileInPackage: 'Iliad'
"Global garbage collection... done"
Loading package Sockets
Loading package Iconv
Loading package Sport
Loading package Iliad-Core
Loading package Magritte
Loading package Iliad-More-UI
Loading package Iliad-More-Magritte
Loading package Iliad-More-Examples
Loading package Swazoo
Loading package Iliad-Swazoo
~/.st/Iliad-Swazoo.star#VFS.ZipFile/Site.st:1: key SwazooSite not found
~/.st/Iliad-Swazoo.star#VFS.ZipFile/Site.st:1: expected Eval, Namespace or class definition
~/.st/Iliad-Swazoo.star#VFS.ZipFile/Site.st:12: expected Eval, Namespace or class definition
~/.st/Iliad-Swazoo.star#VFS.ZipFile/Site.st:17: expected Eval, Namespace or class definition
~/.st/Iliad-Swazoo.star#VFS.ZipFile/Site.st:22: expected Eval, Namespace or class definition
~/.st/Iliad-Swazoo.star#VFS.ZipFile/Site.st:27: expected Eval, Namespace or class definition
~/.st/Iliad-Swazoo.star#VFS.ZipFile/Site.st:32: expected Eval, Namespace or class definition
~/.st/Iliad-Swazoo.star#VFS.ZipFile/Site.st:36: expected expression
Loading package Iliad-More
Loading package Iliad
PackageLoader
st>

Iliad depends on Swazoo2.2 which is only available from git...
You can follow install instructions here: http://smalltalk.gnu.org/download/cvs

Else you can rename Swazoo.SwazooSite to Swazoo.Site in iliad Swazoo/Site.st

Nico

I renamed Swazoo.SwazooSite to Swazoo.Site in iliad Swazoo/Site.st, ran make_packages.sh, then started gst:

st> PackageLoader fileInPackage: 'Iliad'

"Global garbage collection... done"

Loading package Sockets
Loading package Iconv
Loading package Sport
Loading package Iliad-Core
Loading package Magritte
Loading package Iliad-More-UI
Loading package Iliad-More-Magritte
Loading package Iliad-More-Examples
Loading package Swazoo
Loading package Iliad-Swazoo
Loading package Iliad-More
Loading package Iliad
PackageLoader

st> Iliad.SwazooIliad startOn: 3000
Iliad.SwazooIliad

st> Processor activeProcess suspend
No runnable processAbort trap

The last execution then shuts down the gst command line interpreter.

Interestingly, if I type

http://localhost:3000/examples/counters/counter

in a separate browser, the browser would block, continually trying to load, until I type

Processor activeProcess suspend

in gst, whereupon it would display the counter page, but then crash.

I've been waiting for this. I'm going to give the Squeak version a try. Much oblliged.

Well, I gave it a try, but couldn't quite get it up and running.

I used Damien Cassou's 3.9 dev image, but the Universe packages were alittle out of date and included Swazoo 2.1 rather than 2.2. I tried to load 2.2 from SqueakSource, but got a message complaining about missing prerequisites.

One of the nice things aout Seaside is that the developers distribute a one-click image to simplify installation and configuration. Would you be willing to provide a one-click image for Iliad that contained everything (including the images, stylesheets, and javascripts directories)?

Sure, I could provide such a thing. I'll try to do that when I'll have some time.

Nico

User login