3 - OOP - VisualWorks (b)

553 views
469 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
553
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

3 - OOP - VisualWorks (b)

  1. 1. S.Ducasse 1 QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture. Stéphane Ducasse Stephane.Ducasse@univ-savoie.fr http://www.listic.univ-savoie.fr/~ducasse/ The VisualWorks Environment
  2. 2. S.Ducasse 2 License: CC-Attribution-ShareAlike 2.0 http://creativecommons.org/licenses/by-sa/2.0/
  3. 3. S.Ducasse 3 Smalltalk Run-Time Architecture • Virtual Machine + Image + Changes and Sources • Image = bytecodes • Sources and changes = code (text) A bytethe vir IMAGE2IMAGE2StandShar IMAGE1.IMAGE1. All the objeat a momen One per us +
  4. 4. S.Ducasse 4 Runtime Architecture • The byte-code is in fact translated into native code by a just-in-time compiler. • The source and the changes are not necessary for interpreting the byte-code, this is just for the development. Normally they are removed for deployment. • An application can be delivered as some byte-code files that will be executed with aVM.The development image is stripped to remove the unnecessary development components.
  5. 5. S.Ducasse 5 Mouse Semantics SelectOperatWinRed BlueYellow
  6. 6. S.Ducasse 6 Launcher
  7. 7. S.Ducasse 7 Browsing a class
  8. 8. S.Ducasse 8 Browsing methods
  9. 9. S.Ducasse 9 Inspector • To look inside objects • anObject inspect
  10. 10. S.Ducasse 10 Debugger!!!
  11. 11. S.Ducasse 11 ChangeList To recover from power failure!!
  12. 12. S.Ducasse 12 SUnit:TestRunner open
  13. 13. S.Ducasse 13 Tests...
  14. 14. S.Ducasse 14 Workspace: to edit code snippet
  15. 15. S.Ducasse 15 Integrated version management Check in / out Back end postgres/oracle Based on packages and bundles no scope only deployment/source management concepts Store
  16. 16. S.Ducasse 16 Published Items
  17. 17. S.Ducasse 17 Package:Versioning Code
  18. 18. S.Ducasse 18 Change your Mind • Everything you do is recorded !! • So try and learn how to recover your code • You are smart so – experiment, – learn for you, browse, – all the code is there

×