A collection of client side patterns for faster and easier web development
Project description
Plone Mockup is an ongoing effort to modernize Plone’s javascript story. Check out examples and documentation at http://plone.github.io/mockup/
The Goals of Mockup
Standardize configuration of patterns implemented in js to use HTML data attributes, so they can be developed without running a backend server.
Use modern AMD approach to declaring dependencies on other js libs.
Full unit testing of js
Install & Run Tests
Install Node version 0.10 or greater
Install PhantomJS
Maybe use your package manager:
$ apt-get install phantomjs
Now git clone & build Mockup:
$ git clone https://github.com/plone/mockup.git $ cd mockup $ make bootstrap
Run tests with PhantomJS:
$ make test
Run tests with Chrome:
$ make test-dev
Generate widgets pot file for plone translations:
$ make i18n-dump
License
The BSD 3-Clause License. Copyrights hold the Plone Foundation. See LICENSE.rst for details.
Credits
Originally created by Rok Garbas using parts of Patterns library. Now maintained by the Plone Foundation.
Status of builds
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mockup-2.7.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a68557e82962a039f7045f9b10ab66fa7dffc67a0ebce0dabd9dc2eacaa9390b |
|
MD5 | 599fcbcef4e46d2bc3743be261e8f727 |
|
BLAKE2b-256 | 65d116d7f0315f3c00a56a56d84491449e673fe29f6d5c57c6a476cb870c2a64 |