[ann] dynamic browsers with glamour

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ann] dynamic browsers with glamour

Tudor Girba-2
Hi,

Here is a little announcement for those that like Glamour.

Andrei and I worked on making Glamour more dynamic by pushing the presentation definition at execution, rather than at browser construction time.

To achieve dynamic presentation creation, before you needed to use the GLMDymamicPresentation. For example, the MooseFinder was built like:

MooseFinder>>compose
   self finder show: [ :a |
      a dynamic
         display: [:each |
            | dynamic |
            dynamic := GLMCompositePresentation new.
            each mooseInterestingEntity mooseFinderPresentationsIn: dynamic.
            dynamic ] ].

Now, the same code becomes:

MooseFinder>>compose
   self finder show: [ :a :each |
      each mooseInterestingEntity mooseFinderPresentationsIn: a ].

You can see more details here:

Cheers,
Doru

--

"Every thing has its own flow"