Coder Social home page Coder Social logo

dom-controller-boilerplate's Introduction

JavaScript DOMController Boilerplate

A basic boilerplate for controlling your page. This DOMController Object is intended to provide structure to your event binds and basic page interaction.

Two variations of the DOMController are provided:

A JSON formatted Object

A slightly easier to understand variation of this boilerplate and applicable for most any webpage interaction control.

A prototype Class

A prototype "Class" that is compatible with dependency systems like RequireJS and CommonJS, but operates just fine without them. While the DOMController Object is intended to operate as a singleton Object, it is written in a manner that it could be instantiated multiple times. This boilerplate could be adapted for use as a pattern for any type of modular code structure.

Dependencies

This project uses jQuery

Files in this Repo

main.documented.js

This is the heavily documented version of the JSON formatted DOMController Boilerplate and should probably only used for reference.

main.js

If you wish to use the JSON formatted DOMController in your own project, base it off this file. It contains the minimal documentation for use and operation and has the example code found in main.documented.js removed.

main.class.documented.js

This is the heavily documented version of the prototype "Class" DOMController Boilerplate and should probably only used for reference.

main.class.js

If you wish to use the prototype "Class" DOMController in your own project, base it off this file. It contains the minimal documentation for use and operation and has the example code found in main.class.documented.js removed.

Creators

Dave Shepard

Copyright and license

Code and documentation copyright 2015 Digital Telepathy. Code released under the MIT license.

dom-controller-boilerplate's People

Contributors

kynatro avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.