Reef is an AJAX/Javascript component framework for Seaside that models HTML/Javascript components as Smalltalk objects. It hides the complexity of communication by handling interactions through callbacks like Seaside. An extra request is sometimes required but Reef has optimized by introducing #asReefTriggerCallback. New features include composites and Magritte-Reef which brings web 2.0 effects to Magritte-Seaside. Future work includes optimizing the dispatcher, renaming protocols, writing documentation, and collecting more feedback.
8. Nesting problem
Functionality is distributed all around the component
(and could be worse)
• renderContentOn:
sends renderRegionsOn:
sends renderCitiesOn:
15. A trade-off
(yep, there is always one)
An extra request
(not always, but enough to be taken into account)
16. Communication
• We handle interactions through callbacks, just
as Seaside
• But all callbacks should be threat the same
• AJAX calls
• regular requests
• client behavior
28. Future work
• Still experimenting with optimizations around
the dispatcher
• Rename all protocols into something really
meaningful
• Write more documentation (like finalize the
chapter for PBE2)
• More feedback?