frame5
v0.0.10
Published
Frame5 is an attempt creating an HTML5 framework. Under the umbrella standard HTML5 a lot of technological are at play. Frame5's goal is to bring together as many of the specs as it can.
Downloads
8
Readme
Frame5 - HTML5 Framework
Frame5 is an attempt creating an HTML5 framework. Under the umbrella standard HTML5 a lot of technological are at play. Frame5's goal is to bring together as many of the specs as it can.
Wish List
Have
Need
Links
Main
How to use
The Server
Install with NPM
npm install frame5
var express = require('express');
var http = require('http');
var Frame5 = require('frame5')
var app = express.createServer()
app.use(express.favicon())
app.use(express.logger('dev'))
app.use(express.cookieParser())
app.use(express.session({
secret : 'my secret here'
}))
app.use(Frame5(app))
app.get('/test', function(req, res) {
res.sendfile('./test.html')
})
app.listen(3000);
The Client
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Frame5</title>
<!--
//
//
//
-->
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<!--
//
//
//
-->
<script src="/frame5"></script>
<!--
//
//
//
-->
</head>
<body>
<script>
console.log(Frame5);
</script>
</body>
</html>