Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

PharoMisc

Small utilities and libraries for Pharo. All under MIT Licence. Each project is in a dedicated folder with a Readme file.

To install any of the projects below evaluate the following expression in a Playground

Metacello new
  baseline: 'PROJECT_NAME';
  repository: 'github://bouraqadi/PharoMisc';
  load

Table of Contents

A

  • AppMaker: I turn a development image into a ready to use app. I disable development menus and shortcuts. Image is locked so users can only interact via UI kept open.

B

  • BooleanExpressions: This package introduces extensions to collections to make it easy to write usual expressions. The goal is to avoid writing long sequences of logic messages and: and or:

C

  • Concurrency: Simple and easy to use concurrency library. Deprecated. Use Tasks instead.
  • CsvToPillarConverter: Converts CSV to Pillar, ready to display on web page. Used for generating Pillar for ESUG website based on CSV obtained from registration server.

E

  • EasyUI: Small library to quickly make GUI that responds to user interactions.
  • Equals: Defines an equality method = that is general and apply to different kinds of objects. Comparison is based on IVs, and it is easily customizable. Also includes a generic hash method that matches the = implementation, which is mandatory when using hashed collections such as sets.

L

  • LightweightObserver: Lightweight alternative to Announcement. Subclasses of subject automatically generate method wrappers to generate events notifying changes of observed IVs. When IVs reference collections, events can be generated on accessing collection elements. Read full description

N

  • NetworkExtras: Provides classes that wrap the basic sockets to ease networking

S

T

Tasks

Small library to define threads. They makes it easy to express tasks that need to performed at a specific point in time or repeatedly, within a dedicated process. There are 2 main concepts: Tasks and Threads.

Tasks

A task is a set of statements that can be performed in a controlled manner. This can be at a specific point in time. It can be performed repeatedly at a given frequency. It can be repeated forever. Conversely, it can be repeated for a given amount of iterations, or until some condition or some point in time is reached. A task materializes as an instance of class TkTask.

Threads

A thread (instance of TkThread) is a task decorator that ensures the task is run within a dedicated process (instance of Process). Threds are more abstract that tasks and processes. Users new to this library should start with threads. Examples are provided as class side methods

About

Small utilities and libraries

Topics

Resources

License

Releases

No releases published

Packages

No packages published