Tag Archives: module

(JavaScript) JavaScript Mediator Pattern

In software engineering, a mediator is a behavioral design pattern that allows us to expose a unified interface through which the different parts of a system may communicate. If it appears a system may have too many direct relationships between modules (colleagues), it may be time to have a central point of control that modules [...]

Posted in JavaScript | Also tagged , , , , , | Leave a comment

(JavaScript) Fresh JavaScript file (With namespaced, closured module pattern)

A JavaScript starter with a namespace and closure

Posted in JavaScript | Also tagged , , , , , | Leave a comment

(PHP) Magento Create New ModuleController Dispatch

Create a Hello World module in the Magento system Configure this module with routes Create Action Controller(s) for our routes

Posted in PHP | Also tagged , , | Leave a comment

Classes and inheritance in F#

This example is similar to the Classes in Ruby example. It demonstrates a superclass for representing a car. Two subclasses are used for representing a hero car and a villain car, they inherit from the superclass.

Posted in F# | Also tagged , , , , , , , , , , | Leave a comment