seep

0.0.3a • Public • Published

Seep.js

A web application UI library/framework for Node.js

Seep provides user interface controls for your Node.js web applications. The UI logic runs in the server, but you can expose parts of it by "seeping" some of the logic to the client (browser) as well.

Note: purely experimental at this point, not recommended for anything serious

Installation

  1. Install node.js (http://nodejs.org)

  2. Install npm (only if you're using Node.js version 0.6.2 or lower, v.0.6.3 has npm bundled)

     $ curl http://npmjs.org/install.sh | sh
    
  3. Install seep

     $ npm install seep
    

Hello World

First create a new application file:

my-app.js

var seep = require("seep")

exports.app = seep.Application.extend({

  start: function() {
	  this.add(new seep.Text("Hello World!"))
  }

})

In the command line, if you installed seep globally (with npm install -g seep)

$ seep start my-app.js

or for a local installation

$ node_modules/.bin/seep start my-app.js

Then point your browser to http://localhost:8000/my-app

License

MIT LICENSE

Copyright (C) 2009-2011 Jouni Koivuviita

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Readme

Keywords

none

Package Sidebar

Install

npm i seep

Weekly Downloads

0

Version

0.0.3a

License

none

Last publish

Collaborators

  • jouni