Thư viện Trường Đại học Phú Xuân
Deep into Pharo

Nguồn ngoài

Deep into Pharo

Pharo is a clean, innovative, open-source, live-programming environment. Deep into Pharo is the second volume of a series of books covering Pharo. Whereas the first volume is intended for newcomers, this second volume covers deeper topics. You will learn about Pharo frameworks and libraries such as Glamour, PetitParser, Roassal, FileSystem, Regex, and Socket. You will explore the language with chapters on exceptions, blocks, small integers, and floats.

Tác giả
Alexandre Bergel, Damien Cassou, Stéphane Ducasse, Jannik Laval
Nhà xuất bản
LibreTexts
Nguồn
LibreTexts
Giấy phép
CC BY-SA
Ngôn ngữ
EN
Danh mục
Công nghệ thông tin
Mục lục· 167 mục
  1. 01: Zero Configuration Scripts and Command-Line Handlers
  2. 1.01: Getting the VM and the Image
  3. 1.02: Getting the VM Only
  4. 1.03: Handling Command Line Options
  5. 1.04: Anatomy of a Handler
  6. 1.05: Using ZeroConf Script with Jenkins
  7. 1.06: Chapter Summary
  8. 02: Files with FileSystem
  9. 2.01: Getting Started
  10. 2.02: Navigating a File System
  11. 2.03: Opening Read and Write Streams
  12. 2.04: Renaming Copying and Deleting Files and Directories
  13. 2.05: The Main Entry Point - FileReference
  14. 2.06: Looking at FileSystem Internals
  15. 2.07: Chapter Summary
  16. 03: Sockets
  17. 3.01: Basic Concepts
  18. 3.02: TCP Client
  19. 3.03: TCP Server
  20. 3.04: SocketStream
  21. 3.05: Tips for Networking Experiments
  22. 3.06: Chapter Summary
  23. 04: The Settings Framework
  24. 4.01: Settings Architecture
  25. 4.02: The Settings Browser
  26. 4.03: Declaring a Setting
  27. 4.04: Organizing Your Settings
  28. 4.05: Providing More Precise Value Domain
  29. 4.06: Launching a Script
  30. 4.07: Start-Up Actions Management
  31. 4.08: Extending the Settings Browser
  32. 4.09: Chapter Summary
  33. 05: Regular Expressions in Pharo
  34. 5.01: Regular Expressions in Pharo
  35. 5.02: Tutorial Example - Generating a Site Map
  36. 5.03: Regex Syntax
  37. 5.04: Regex API
  38. 5.05: Implementation Notes by Vassili Bykov
  39. 5.06: Chapter Summary
  40. 06: Versioning Your Code with Monticello
  41. 6.01: Versioning Your Code with Monticello
  42. 6.02: Basic Usage
  43. 6.03: Exploring Monticello Repositories
  44. 6.04: Advanced Topics
  45. 6.05: Getting a Change Set from Two Versions
  46. 6.06: Kinds of Repositories
  47. 6.07: The .mcz File Format
  48. 6.08: Chapter Summary
  49. 07: Gofer Scripting Package Loading
  50. 7.01: Preamble - Package Management System
  51. 7.02: What is Gofer
  52. 7.03: Using Gofer
  53. 7.04: Gofer Actions
  54. 7.05: Some Useful Scripts
  55. 7.06: Chapter Summary
  56. 08: Managing Projects with Metacello
  57. 8.01: Introduction
  58. 8.02: One Tool for Each Job
  59. 8.03: Metacello Features
  60. 8.04: A Simple Case Study
  61. 8.05: Loading a Metacello Configuration
  62. 8.06: Managing Dependencies Between Packages
  63. 8.07: Baselines
  64. 8.08: Groups
  65. 8.09: Dependencies Between Projects
  66. 8.10: About Dependency Granularity
  67. 8.11: Executing Code Before and After Installation
  68. 8.12: Platform Specific Package
  69. 8.13: Milestoning Development- Symbolic Versions
  70. 8.14: Load Types
  71. 8.15: Conditional Loading
  72. 8.16: Project Version Attributes
  73. 8.17: Chapter Summary
  74. 09: Glamour
  75. 9.01: Installation and First Browser
  76. 9.02: Presentation Transmission and Ports
  77. 9.03: Composing and Interaction
  78. 9.04: Chapter Summary
  79. 10: Agile Visualization with Roassal
  80. 10.01: Installation and First Visualization
  81. 10.02: Roassal Core Model
  82. 10.03: Detailing Shapes
  83. 10.04: Edges - Linking Elements
  84. 10.05: Layouts
  85. 10.06: Events and Callbacks
  86. 10.07: The Interaction Hierarchy
  87. 10.08: Understanding a Views Camera
  88. 10.09: Beyond Pharo
  89. 10.10: Chapter Summary
  90. 11: Scripting Visualizations with Mondrian
  91. 11.01: Installation and First Visualization
  92. 11.02: Starting with Mondrian
  93. 11.03: Visualizing the Collection Framework
  94. 11.04: Reshaping Nodes
  95. 11.05: Multiple Edges
  96. 11.06: Colored Shapes
  97. 11.07: More on Colors
  98. 11.08: Popup View
  99. 11.09: Subviews
  100. 11.10: Forwarding Events
  101. 11.11: Events
  102. 11.12: Interaction
  103. 11.13: Chapter Summary
  104. 12: Handling Exceptions
  105. 12.01: Introduction
  106. 12.02: Ensuring Execution
  107. 12.03: Handling Non-Local Returns
  108. 12.04: Exception Handlers
  109. 12.05: Error Codes Don't Do This
  110. 12.06: Specifying Which Exceptions Will Be Handled
  111. 12.07: Signaling an Exception
  112. 12.08: Finding Handlers
  113. 12.09: Handling Exceptions
  114. 12.10: Comparing outer With pass
  115. 12.11: Exceptions and ensure ifCurtailed Interaction
  116. 12.12: Example Deprecation
  117. 12.13: Example Halt Implementation
  118. 12.14: Specific Exceptions
  119. 12.15: When Not to Use Exceptions
  120. 12.16: Exceptions Implementation
  121. 12.17: Ensure's Implementation
  122. 12.18: Chapter Summary
  123. 13: Blocks A Detailed Analysis
  124. 13.01: Basics
  125. 13.02: Variables and Blocks
  126. 13.03: Variables Can Outlive Their Defining Method
  127. 13.04: Returning from Inside a Block
  128. 13.05: Contexts Representing Method Execution
  129. 13.06: Message Execution
  130. 13.07: Chapter Conclusion
  131. 14: Exploring Little Numbers
  132. 14.01: Power of 2 and Numbers
  133. 14.02: Bit Shifting Is Multiplying by 2 Powers
  134. 14.03: Bit Manipulation and Access
  135. 14.04: Tens Complement of a Number
  136. 14.05: Negative Numbers
  137. 14.06: Twos Complement of a Number
  138. 14.07: SmallIntegers in Pharo
  139. 14.08: Hexadecimal
  140. 14.09: Chapter Summary
  141. 15: Fun with Floats
  142. 15.01: Never Test Equality on Floats
  143. 15.02: Dissecting a Float
  144. 15.03: With Floats Printing Is Inexact
  145. 15.04: Float Rounding Is Also Inexact
  146. 15.05: Fun with Inexact Representations
  147. 15.06: Chapter Summary
  148. 16: Profiling Applications
  149. 16.01: What Does Profiling Mean
  150. 16.02: A Simple Example
  151. 16.03: Code Profiling in Pharo
  152. 16.04: Read and Interpret the Results
  153. 16.05: Illustrative Analysis
  154. 16.06: Counting Messages
  155. 16.07: Memorized Fibonacci
  156. 16.08: SpaceTally for Memory Consumption per Class
  157. 16.09: Few Advices
  158. 16.10: How MessageTally is Implemented
  159. 16.11: Chapter Summary
  160. 17: PetitParser Building Modular Parsers
  161. 17.01: Writing Parsers with PetitParser
  162. 17.02: Composite Grammars with PetitParser
  163. 17.03: Testing a Grammar
  164. 17.04: Case Study A JSON Parser
  165. 17.05: PetitParser Browser
  166. 17.06: Packrat Parsers
  167. 17.07: Chapter Summary