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:
http://www.humane-assessment.com/blog/building-dynamic-browsers-with-glamour

Cheers,
Doru

-- 
www.tudorgirba.com

"Every thing has its own flow"

Reply via email to