Skip to main content

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

  1. Standardize configuration of patterns implemented in js to use HTML data attributes, so they can be developed without running a backend server.

  2. Use modern AMD approach to declaring dependencies on other js libs.

  3. Full unit testing of js

Install & Run Tests

Install Node version 0.10 or greater

Install using package manager, e.g. apt or yum

Install without using package manager

Install PhantomJS

Download and 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

Travis CI Coveralls Bitdeli

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mockup-2.7.2.tar.gz (489.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mockup-2.7.2-py2.py3-none-any.whl (672.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mockup-2.7.2.tar.gz.

File metadata

  • Download URL: mockup-2.7.2.tar.gz
  • Upload date:
  • Size: 489.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mockup-2.7.2.tar.gz
Algorithm Hash digest
SHA256 7a16e7a213ad1d2643ec2b96a468994d766b754c83113d1982b349d0b9051441
MD5 6e61612bf77bc45bc058a1b6fd7f0e06
BLAKE2b-256 3b46428e84e9edf7f7142596fd05cd212ffa4398eb8342275598610fdf4e56a4

See more details on using hashes here.

File details

Details for the file mockup-2.7.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mockup-2.7.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5d795be183931d1740fb2cd7cd1490f2c3c757c18655ff5ce8aff3d253513d8f
MD5 3e1df342f2bd60172fb01fc86184f67d
BLAKE2b-256 00a167dfaf17b359b78282d875cef0fc9dd243847bc254a7433544d3b9bf0b3e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page