Haxe Code Cookbook
Haxe programming cookbookDesign patterns

Design patterns

Overview of Haxe design patterns snippets and tutorials.

  • Mar 22, 2016 Design patterns /

    This is a basic example of the Factory design pattern in Haxe.

  • Mar 22, 2016 Design patterns /

    This is a basic example of the Lazy initialization design pattern in Haxe.

  • May 05, 2020 Design patterns /

    This is an example of the Method chaining design pattern in Haxe.

  • Jan 02, 2018 Design patterns /

    This is a basic example of the Observer design pattern in Haxe. The pattern makes use of an Observer interface and an Observable base class to notify objects when another object's property is changed so that they can react accordingly.

  • Mar 22, 2016 Design patterns /

    This is a basic example of the Singleton design pattern in Haxe.