Nothing Special   »   [go: up one dir, main page]

Skip to content
/ cassis Public

CASSIS is universal javascript/PHP that works on the client and the server for scalable application logic.

Notifications You must be signed in to change notification settings

tantek/cassis

Repository files navigation

cassis.js

http://cassisjs.org

Including CASSIS

Use the following code to include cassis.js:

Clientside in HTML:

<script type="text/javascript" src="cassis.js"></script>

Serverside in PHP:

include 'cassis.php';

In PHP using Composer:

  "require": {
    "tantek/cassis": "0.1.*"
  },
require_once 'vendor/autoload.php';

Tests

To run the PHP tests:

$ phpunit.phar

To run the JS tests:

$ tape js-tests/*.js | tap-spec

or if you don't have tape and tap-spec installed globally, then

$ ./node_modules/tape/bin/tape js-tests/*.js | ./node_modules/tap-spec/bin/cmd.js

About

CASSIS is universal javascript/PHP that works on the client and the server for scalable application logic.

Resources

Stars

Watchers

Forks

Packages

No packages published