Collection of Pharo class prefixes for recognized public libraries/frameworks
Due to the lack of namespaces in Pharo, the community has chosen to prefix class names (or even selectors) with a project-specific prefix to avoid class name clashing.
The purpose of this list is to provide a public reference of such prefixes that works as a reference catalog, in order to avoid prefix clashing as well.
Class name prefix | Selector prefix | Project name | Sample class name | Project/Repository URI | Other |
---|---|---|---|---|---|
Gr |
Grease Portability Library | GRPlatform |
|||
GT |
#gt |
Glamourous Toolkit | GTPlayground |
https://github.com/feenkcom/gtoolkit | |
WA |
Seaside Web Framework | WAComponent |
https://github.com/SeasideSt/Seaside | ||
Zn |
Zinc Web Components | ZnClient |
https://github.com/svenvc/zinc |
Create a pull request with changes to the current file editing the list of prefixes table
Maybe it is a better way to organize the list prefixes, like having one file per class prefix, with the project name as description.
E.g. the file WA
(no extension) with content:
Seaside Web Framework
https://github.com/SeasideSt/Seaside
This will probably simplify the listing and merging of changes, and expose any clash. But the lookup will have to be done via file names.