Your SlideShare is downloading. ×
0
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Reef: AJAX the way it should be 
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Reef: AJAX the way it should be 

418

Published on

ESUG 2011, Edinburgh

ESUG 2011, Edinburgh

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
418
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. ReefAJAX the way it should be
  • 2. Who am I?
  • 3. Who am I?• The guy who builds a VM, and everybody hates because their plugins are not ready
  • 4. Who am I?• The guy who builds a VM, and everybody hates because their plugins are not ready• He also does some Seaside time to time
  • 5. Last year...• Reef presentation was a big success (thanks!)• Some of you tried it and provide valuable feedback...
  • 6. But not everybody present here today was present last year... So... what’s Reef?
  • 7. “The problem”
  • 8. Nesting problemFunctionality is distributed all around the component (and could be worse) • renderContentOn: sends renderRegionsOn: sends renderCitiesOn:
  • 9. Nesting problemReal problem is we are still programing in HTML (yes, with smalltalk “flavour”, but still HTML)
  • 10. Reef summaryAJAX/Javascript componentframework for Seaside.
  • 11. Reef summaryModels HTML/Javascript components into Smalltalk objects
  • 12. Reef summaryHides communication complexity
  • 13. Reef architecture
  • 14. Reef architecture Dispatcher
  • 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
  • 17. Example
  • 18. Coming to your image... this year!
  • 19. What changed (for good) Better integration with jQuery:skins, widget box
  • 20. What changed (for good) An important optimization:#asReefTriggerCallback
  • 21. What changed (for good)More widgets(but still justthose I need)
  • 22. What’s new (and testing)Composites
  • 23. What’s new (and testing)• Magritte-Reef • Brings web 2.0 to Magritte-Seaside • Ease cool effects: • tooltips, masks, etc. • Complex behaviors
  • 24. What remains (and it shouldn’t)• Documentation is still poor• Reef protocol names are still ugly• Testing is still non-existent
  • 25. The heresy revisited(we need to be heretics again)
  • 26. you know:
  • 27. why not:
  • 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?
  • 29. Questions?http://squeaksource.com/Reef

×