iliad

Iliad 0.8.1 released!

Tagged:

We just released Iliad 0.8.1. This is a bug fix release with small improvements.

Especially, we fixed an annoying bug related with session expiration, and improved Formula with global conditions and errors. The Comet API changed a bit too, you can read a blog post about it:

http://smalltalk.gnu.org/blog/nico/iliad-applications-comet

We also removed all hard-coded javascript generated in HTML pages. The javascript layer is now entirely responsible for automatic AJAX.

We encourage everyone using Iliad 0.8 to upgrade to 0.8.1.

Iliad applications with Comet

Tagged:  •  

Iliad 0.8 features a Comet implementation using XmlHttpRequest long polling. In this post I'll explain here how to build a very simple Comet application with a counter.

Application instances will share the same counter model. Comet counter widgets are similar to the counter example widget, except that they will register to comet events, and trigger them when the count value changes, pretty much like announcements.

When a comet event is triggered, all widgets which registered to the event class will be rebuilt.

Iliad 0.8 released!

Tagged:

We are happy to announce the release of Iliad version 0.8 for GNU Smalltalk et Pharo.

New features include:

  • Iliad is now using Grease and non portable code has been partially replaced;
  • The "mark dirty" mechanism has been rewritten to improve support for tabs/windows sharing the same session;
  • The new Formula package makes it easy to build validated forms;

Control flow in Iliad

Tagged:

Today someone asked me how to do a WATask like widget in Iliad. In seaside WATask is a special presenter. Its purpose is not to build html by itself but to display other seaside components in a sequence.

Iliad doesn't provide such a widget out of the box, but it is very easy create one.

Iliad.ILWidget subclass: Sequence [

    buildContents [
        <category: 'building'>
        self shouldStart ifTrue: [self start].
        ^super buildContents
    ]

    contents [
        <category: 'building'>
        self shouldNotImplement
    ]

    start [
        <category: 'control flow'>
        "The sequencing will happen in this method"
    ]

    shouldStart [
        <category: 'testing'>
        ^decorator decoratee = self
    ]
]

Iliad website online!

Tagged:

The new website is online!

http://www.iliadproject.org

During the week we'll continue writing documentation and tutorials.

I would like to thank Aurélia Saout for her contributed work on the
logo and design.

Syndicate content

User login