Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/crcn/programming-terms

cheat sheet for naming things
https://github.com/crcn/programming-terms

Last synced: 16 days ago
JSON representation

cheat sheet for naming things

Awesome Lists containing this project

README

        

A curated list of generic terms used in programming.

## Class names

### Object

> Some *thing*

**Classes**: `Entity`, `Symbol`, `Actor`, `Item`, `Artifact`

### Mediator

> An object which transfers a message between a sender & a receiver

**Classes**: `Notifier`, `Dispatcher`, `Bus`, `EventBus`, `MessageBus`, `Conductor`, `Router`, `Invoker`, `Scheduler`, `MessageBroker`

**Emit Methods**: `notify`, `emit`, `dispatch`, `execute`, `send`

**Listen Methods**: `on`, `addReceiver`, `addListener`

### Event

> An object which contains a payload emitted from another object

**Classes**: `Message`, `Event`, `Envelop`, `Action`, `Command`

**Type Properties**: `type`, `name`, `action`

**Payload Properties**: `data`, `body`, `payload`, `message`

### Observable

> An object which can be listened to for events

**Classes**: `Observable`, `EventEmitter`, `EventDispatcher`, `Notifiable`

**Listen Methods**: `observe`, `addListener`, `addEventListener`, `on`, `subscribe`

**Unlisten Methods**: `off`, `removeListener`, `removeEventListener`

### Observer

> An object which can receive messages from another object (observable, mediator)

**Classes**: `Observer`, `EventListener`, `MessageListener`, `Listener`, `EventHandler`, `MessageHandler`, `Consumer`, `Receiver`

### Route

**Classes**: `Route`, `Chan`, `Channel`

### Collections

> A group of one or more items

**Classes**: `Collection`, `Group`, `Vector`, `[TYPE]s` (`Items`, `Images`), `Container`, `Array`

### Other Structures

**Classes**: `Node`, `Tree`

### Plugin

**Classes**: `Plugin`, `Extension`, `Module`, `Fragment`, `Block`, `Bundle`

**install methods**: `use`, `install`, `usePlugin`, `addPlugin`

### Others

> Other uncategorized names

**Classes**: `Model`, `ValueObject`, `ActiveRecord`, `Record`, `Controller`, `Manager`, `Actor`, `DataTransferObject`, `DisplayObject`, `Service`, `Facade`, `Adapter`, `Source`, `Client`, `Type`, `Container`, `Store`, `Root`, `Base`, `Abstract`, `Registry`, `Injector`, `Builder`, `Link`, `Expression`, `delegate`

## Function names

### transform

`transform`, `map`, `coerce`, `alter`, `convert`, `mutate`, `morph`

### initialize

`initialize`, `bootstrap`, `init`, `construct`, `configure`, `start`

### find

`query`, `search`, `traverse`