Git Product home page Git Product logo

kosir / montage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from montagejs/montage

0.0 2.0 0.0 34.18 MB

MontageJS is an elegant, open source HTML5 framework maintained by Montage Studio that rivals native SDKs, yet is easier to learn. It offers modular components, two-way data binding, and much more. Join us on irc.freenode.net#montage. Sign up for our beta to build MontageJS applications in the cloud.

Home Page: http://montagestudio.com/montagejs

License: Other

JavaScript 92.10% HTML 7.68% CSS 0.23%

montage's Introduction

#MontageJS Readme MontageJS is a new type of application framework powered by standard web technologies. Designed with an eye toward maintainability and performance, MontageJS simplifies the development of rich HTML5 applications by providing modular components, real-time two-way data binding, object serialization with DOM mapping, event handling, a managed component draw cycle, CommonJS dependency management, and many more conveniences to help build robust single-page web applications.

##Encapsulated Components MontageJS has a clean interface for creating custom user interface components. Each component can stand alone or be composed of other components. Each component is modeled as a stand-alone web application with its own HTML template, JavaScript, CSS, serialized component object model, and resources. With few exceptions, a component can stand on the web platform like any other web page. There are no fully JavaScript-driven templates in MontageJS. This separation of concerns allows designers to use the technologies they are comfortable with (without having to dig into the JavaScript) and developers to isolate and test individual components using familiar techniques.

##Declarative Data Binding MontageJS makes it easier to manage your application and UI state with data bindings. A UI component or MontageJS object can establish a simple or bi-directional binding with another component or object. When the bound property, or deeper property path, of the bound object is updated then the source object is kept in sync.

MontageJS uses functional reactive bindings (FRB). Unlike “traditional” bindings, FRB can gracefully bind long property paths and the contents of collections. They can also incrementally update the results of chains of queries including maps, flattened arrays, sums, and averages as well as add and remove elements from sets based on the changes to a flag. FRB makes it easy to incrementally ensure consistent state. FRB is built from a combination of powerful functional and generic building blocks, making it reliable, easy to extend, and easy to maintain.

For more information, see FRB.

##CommonJS MontageJS fully supports CommonJS modules and is a part of the Node and npm package ecosystem.

For more information, see CommonJS.

#Requirements To get started with MontageJS, you will need the following:

  • Node.js and npm. MontageJS application development depends on npm, which is distributed with Node.js.
  • A recent stable release of Chrome, Safari or Firefox. MontageJS is intended to leverage the evolving web platform of modern browsers.
  • To contribute: A Git client and public SSH key. For details on installing Git and creating your key, see the setup guides on github.com.

#Quick Setup To start using MontageJS, follow these steps:

  1. Download and run the prebuilt Node.js installer for your platform from the Node.js website.

  2. Install minit, the MontageJS Initializer.

    minit is a command line utility that will help kickstart your MontageJS project by generating prebuilt MontageJS application templates and components and placing the associated files inside the proper directories of your project.

    Mac OS X / Linux

    $ mkdir -p ~/.npm
    $ sudo npm install -gq minit@latest
    

    Windows

    Run the "Node.js command prompt"

    $ npm install -gq minit@latest
    
  3. Use minit to create your MontageJS project:

    $ minit create:app -n yourappname
    

    Note: If you get an EACCES warning when trying to run minit:create, use sudo chown -R <username> ~/.npm and then use $ minit create:app -n hello. This is a workaround due to a bug in npm.

    This generates a new directory—yourappname, which contains the default MontageJS application template, including the production dependencies—in your current directory.

  4. To verify your installation, switch to yourappname directory and serve your new MontageJS project using minit:

    $ cd yourappname
    $ minit serve &
    
  5. Point your browser to http://localhost:8083/.

    You should see the contents of the Welcome component—a simple single-page application, which is explicitly loaded to accompany our two-part quick start tutorial tutorial.

##Where to Go from Here For a quick introduction on how to assemble MontageJS components into a user interface, refer to “Hello MontageJS” in our Quick Start tutorial. For more information on MontageJS components, bindings, event handling, serialization etc. refer to the documentation (be patient: we are currently in the process of updating the docs).

Analytics

montage's People

Watchers

 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.