Pharo by Example 5
Free

Pharo by Example 5

By Stéphane Ducasse, Dimitris Chloupis, Nicolai Hess, Dmitri Zagidulin
Free
The publisher has enabled DRM protection, which means that you need to use the BookFusion iOS, Android or Web app to read this eBook. This eBook cannot be used outside of the BookFusion platform.
Book Description
Table of Contents
  • Contents
  • Preface
    • What is Pharo?
    • Who should read this book?
    • A word of advice
    • An open book
    • The Pharo community
    • Examples and exercises
    • Acknowledgments
    • Hyper special acknowledgments
  • A quick tour of Pharo
    • Installing Pharo
    • Pharo: File components
    • Launching Pharo
    • PharoLauncher
    • The World Menu
    • Sending messages
    • Saving, quitting and restarting a Pharo session
    • Playgrounds and Transcripts
    • Keyboard shortcuts
    • The System Browser
    • Finding classes
    • Finding methods
    • Defining a new method
    • Chapter summary
  • A first application
    • The Lights Out game
    • Creating a new Package
    • Defining the class LOCell
    • Adding methods to a class
    • Inspecting an object
    • Defining the class LOGame
    • Organizing methods into protocols
    • Finishing the game
    • Let's try our code
    • Saving and sharing Pharo code
    • Chapter summary
  • Syntax in a nutshell
    • Syntactic elements
    • Pseudo-variables
    • Message sends
    • Method syntax
    • Block syntax
    • Conditionals and loops in a nutshell
    • Primitives and pragmas
    • Chapter summary
  • Understanding message syntax
    • Identifying messages
    • Three types of messages
    • Message composition
    • Hints for identifying keyword messages
    • Expression sequences
    • Cascaded messages
    • Chapter summary
  • The Pharo object model
    • The rules of the model
    • Everything is an Object
    • Every object is an instance of a class
    • Instance structure and behavior
    • The instance side and the class side
    • Every class has a superclass
    • Everything happens by sending messages
    • Method lookup follows the inheritance chain
    • Shared variables
    • Internal object implementation note
    • Chapter summary
  • Some of the key tools of the Pharo environment
    • Pharo environment overview
    • The main code browser
    • The inspector
    • The debugger
    • The process browser
    • Finding methods
    • Chapter summary
  • Sharing code and source control
    • Packages: groups of classes and methods
    • Source control
    • The File List Browser
    • In Pharo, you can't lose code
    • Chapter summary
  • SUnit
    • Introduction
    • Why testing is important
    • What makes a good test?
    • SUnit by example
    • The SUnit cookbook
    • The SUnit framework
    • Advanced features of SUnit
    • Continuing after a failure
    • SUnit implementation
    • A piece of advices on testing
    • Chapter summary
  • Basic classes
    • Object
    • Numbers
    • Characters
    • Strings
    • Booleans
    • Chapter summary
  • Collections
    • Introduction
    • The varieties of collections
    • Collection implementations
    • Examples of key classes
    • Collection iterators
    • Some hints for using collections
    • Chapter summary
  • Streams
    • Two sequences of elements
    • Streams vs. collections
    • Streaming over collections
    • Using streams for file access
    • Chapter summary
  • Morphic
    • The history of Morphic
    • Manipulating morphs
    • Composing morphs
    • Creating and drawing your own morphs
    • Interaction and animation
    • Interactors
    • Drag-and-drop
    • A complete example
    • More about the canvas
    • Chapter summary
  • Seaside by example
    • Why do we need Seaside?
    • Getting started
    • Seaside components
    • Rendering HTML
    • CSS: Cascading style sheets
    • Managing control flow
    • A complete tutorial example
    • A quick look at AJAX
    • Chapter summary
  • Classes and metaclasses
    • Rules for classes and metaclasses
    • Revisiting the Pharo object model
    • Every class is an instance of a metaclass
    • The metaclass hierarchy parallels the class hierarchy
    • Every metaclass inherits from Class and Behavior
    • Every metaclass is an instance of Metaclass
    • The metaclass of Metaclass is an instance of Metaclass
    • Chapter summary
  • Reflection
    • Introspection
    • Browsing code
    • Classes, method dictionaries and methods
    • Browsing environments
    • Accessing the run-time context
    • Intercepting messages not understood
    • Objects as method wrappers
    • Pragmas
    • Chapter summary
  • Regular expressions in Pharo
    • Tutorial example — generating a site map
    • Regex syntax
    • Regex API
    • Implementation Notes by Vassili Bykov
    • Chapter Summary
    You May Also Like
    Object-Oriented Reengineering Patterns
    Free
    Object-Oriented Reengineering Patterns
    By Serge Demeyer, Stéphane Ducasse, Oscar Nierstrasz
    Deep Into Pharo
    Free
    Deep Into Pharo
    By Alexandre Bergel, Damien Cassou, Stéphane Ducasse, Jannik Laval
    EnterprisePharo
    Free
    EnterprisePharo
    By Damien Cassou, Stéphane Ducasse, Luc Fabresse, Johan Fabry, Sven van Caekenberghe
    Careers of Danger and Daring
    Free
    Careers of Danger and Daring
    By Cleveland Moffett
    Report on the Department of Ports and Harbours for the Year 1890-91
    Free
    Report on the Department of Ports and Harbours for the Year 1890-91
    By Australia. Queensland. Department of Ports and Harbours
    Shop Management
    Free
    Shop Management
    By Frederick Winslow Taylor