Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

3 - OOP - VisualWorks (a)

1,050 views

Published on

Published in: Education, Technology
  • Be the first to comment

  • Be the first to like this

3 - OOP - VisualWorks (a)

  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 and Settings
  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 • Violates encapsulation but extremely coooool!!! • anObject inspect
  10. 10. S.Ducasse 10 Debugger?
  11. 11. S.Ducasse 11 Debugger !!!
  12. 12. S.Ducasse 12 ChangeListTo recover from power failure!!
  13. 13. S.Ducasse 13 File list
  14. 14. S.Ducasse 14 SUnit
  15. 15. S.Ducasse 15 Workspace: to edit snippet of code
  16. 16. S.Ducasse 16 • Integrated version management • Check in / out • Back end postgres/oracle • Based on packages and bundles • no scope only deployment/source management concepts Store
  17. 17. S.Ducasse 17 Published Items
  18. 18. S.Ducasse 18 Package and Bundle:Versioning code
  19. 19. S.Ducasse 19 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, – be aggressive, ***all*** the code is there

×