GithubHelp home page GithubHelp logo

kryndex / maria Goto Github PK

View Code? Open in Web Editor NEW

This project forked from petermichaux/maria

0.0 2.0 0.0 2.01 MB

The MVC framework for JavaScript applications. The real MVC. The Smalltalk MVC. The Gang of Four MVC.

License: BSD 2-Clause "Simplified" License

Makefile 0.98% Shell 0.04% Perl 0.04% JavaScript 94.18% CSS 3.42% HTML 1.34%

maria's Introduction

Maria

The MVC framework for JavaScript applications. The real MVC. The Smalltalk MVC. The Gang of Four MVC.

  • A model contains domain data. When a model changes, it informs its observers.

  • A view observes a model and represents its model's current state. A view has a controller. A view can have child views.

  • A controller decides what happens when a user interacts with the controller's view.

The three core design patterns of MVC (observer, composite, and strategy) are embedded in Maria's Model, View, and Controller objects. Other patterns traditionally included in MVC implementations (e.g. factory method and template) make appearances too.

Downloads

See http://peter.michaux.ca/downloads/maria/

There are several different built files from which to choose:

maria.js the main release of the framework. If in doubt, use this file.

maria-min.js contains the same code as maria.js but maria-min.js has been minified to remove whitespace and code comments. This is a good file to serve in production.

maria-debug.js contains additional code that is stripped when creating maria.js. This additional code points developers to potential problems with more informative console logging. maria-debug.js is a good file to use during development.

Documentation

See http://peter.michaux.ca/maria/

Examples

The eg directory contains several example applications.

Community

You can report bugs, suggest features, or join general discussion at https://github.com/petermichaux/maria/issues

Status

Stable.

Browser Support

Tested working in IE6 and newer browsers by a variety of manufacturers.

Dependencies

None. Maria combines several independent micro libraries which are all included.

Source Code

See https://github.com/petermichaux/maria

Build

To build the production ready files, just type make at the command line and look in the build directory for the results. The first time you run make, it will download some libraries used during the build process and install them in the lib directory: Google's Closure Compiler and JSDoc3.

Tests

To run the automated tests, open tst/runner.html in a web browser.

Acknowledgements

Thanks to James Ladd for encouraging me to start this project. Check out his Redline Smalltalk if Smalltalk on the JVM seems like a good idea to you.

Thanks to the Buster.JS development team for providing a great, automated testing tool.

Thanks to the Git and GitHub teams for making it easy to collaborate with others on code projects.

Author

Peter Michaux
[email protected]
http://peter.michaux.ca/
@petermichaux

License

Simplified BSD License. See the included LICENSE file for details.

maria's People

Contributors

petermichaux avatar hieuhuynh avatar laantorchaweb avatar vincenttoups avatar webreflection avatar kijanawoodard avatar revathskumar avatar

Watchers

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.