JSFiddle

scafa's public fiddles

  • Minimalistic starting point for Ember.js

    jQuery 1.7.1, HTML, CSS, JavaScript

  • 35cdr651

    No-Library (pure JS), HTML, CSS, JavaScript

  • plausi check + qunit

    jQuery 1.11.0, HTML, CSS, JavaScript

  • 8dj3peey

    jQuery 1.10.1, HTML, CSS, JavaScript

  • rsa

    No-Library (pure JS), HTML, CSS, JavaScript

  • Snapping object to grid

    No-Library (pure JS), HTML, CSS, JavaScript

  • Lfc5kbu3

    Raphael 2.1.0, HTML, CSS, JavaScript

  • Dojo Image Cropper

    Dojo 1.10.0, HTML, CSS, JavaScript

  • Sample development over time

    jQuery (edge), HTML, CSS, JavaScript

  • Highcharts test tool

    jQuery (edge), HTML, CSS, JavaScript

  • module pattern

    The Interpreter pattern offers a scripting language that allows end-users to customize their solution. Some applications are so complex that they require advanced configuration. You could offer a basic scripting language which allows the end-user to manipulate your application through simple instructions. The Interpreter pattern solves this particular problem – that of creating a simple scripting language. Certain types of problems lend themselves to be characterized by a language. This language describes the problem domain which should be well-understood and well-defined. To implement this you need to map the language to a grammar. Grammars are usually hierarchical tree-like structures that step through multiple levels and then end up with terminal nodes (also called literals). Problems like this, expressed as a grammar, can be implemented using the Interpreter design pattern. Today, if you really need this type of control in JavaScript it is probably easier to use a code generator like ANTLR which will allow you to build your own command interpreters based on a grammar that you provide.

  • revealing module pattern

    The Interpreter pattern offers a scripting language that allows end-users to customize their solution. Some applications are so complex that they require advanced configuration. You could offer a basic scripting language which allows the end-user to manipulate your application through simple instructions. The Interpreter pattern solves this particular problem – that of creating a simple scripting language. Certain types of problems lend themselves to be characterized by a language. This language describes the problem domain which should be well-understood and well-defined. To implement this you need to map the language to a grammar. Grammars are usually hierarchical tree-like structures that step through multiple levels and then end up with terminal nodes (also called literals). Problems like this, expressed as a grammar, can be implemented using the Interpreter design pattern. Today, if you really need this type of control in JavaScript it is probably easier to use a code generator like ANTLR which will allow you to build your own command interpreters based on a grammar that you provide.

  • interpreter pattern

    The Interpreter pattern offers a scripting language that allows end-users to customize their solution. Some applications are so complex that they require advanced configuration. You could offer a basic scripting language which allows the end-user to manipulate your application through simple instructions. The Interpreter pattern solves this particular problem – that of creating a simple scripting language. Certain types of problems lend themselves to be characterized by a language. This language describes the problem domain which should be well-understood and well-defined. To implement this you need to map the language to a grammar. Grammars are usually hierarchical tree-like structures that step through multiple levels and then end up with terminal nodes (also called literals). Problems like this, expressed as a grammar, can be implemented using the Interpreter design pattern. Today, if you really need this type of control in JavaScript it is probably easier to use a code generator like ANTLR which will allow you to build your own command interpreters based on a grammar that you provide.

  • property or prototype pattern

    The Prototype Pattern creates new objects, but rather than creating non-initialized objects it returns objects that are initialized with values it copied from a prototype - or sample - object. The Prototype pattern is also referred to as the Properties pattern. An example of where the Prototype pattern is useful is the initialization of business objects with values that match the default values in the database. The prototype object holds the default values that are copied over into a newly created business object. Classical languages rarely use the Prototype pattern, but JavaScript being a prototypal language uses this pattern in the construction of new objects and their prototypes.

  • flyweight pattern

    No-Library (pure JS), HTML, CSS, JavaScript

  • facade pattern

    No-Library (pure JS), HTML, CSS, JavaScript

  • composite pattern

    No-Library (pure JS), HTML, CSS, JavaScript

  • bridge pattern

    No-Library (pure JS), HTML, CSS, JavaScript

  • adapter pattern

    No-Library (pure JS), HTML, CSS, JavaScript

  • decorator pattern

    No-Library (pure JS), HTML, CSS, JavaScript