All Projects → floydawong → lua-patterns

floydawong / lua-patterns

Licence: other
A collection of design patterns/idioms in Lua

Programming Languages

lua
6591 projects

lua-patterns

中文

A collection of design patterns/idioms in Lua

Current Patterns:

Pattern Description
3-tier data<->business logic<->presentation separation (strict relationships)
mvc model<->view<->controller (non-strict relationships)
singleton only one instance create with same Class
abstract_factory use a generic function with specific factories
factory_method delegate a specialized function/method to create instances
prototype use a factory and clones of a prototype for new instances (if instantiation is expensive)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].