frame5

0.0.10 • Public • Published

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 frame5 = new Frame5()
 
var app = express.createServer();
 
app.use(express.bodyParser());
app.use(express.cookieParser('shhhh, very secret'));
app.use(express.session({
    secret : "string",
    cookie : {
        maxAge : 600000000000
    }
}));
 
app.use(express.static(__dirname + '/tests'));
 
app.server = app.listen(3000)
 
 
app.use(frame5.use(app));
 
 
app.get('/test', function(req, res) {
    res.send('test');
});
 
 

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>
 

Versioning

Releases will be numbered with the follow format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • Breaking backward compatibility bumps the major (and resets the minor and patch)
  • New additions without breaking backward compatibility bumps the minor (and resets the patch)
  • Bug fixes and misc changes bumps the patch

For more information on SemVer, please visit http://semver.org/.

Readme

Keywords

none

Package Sidebar

Install

npm i frame5

Weekly Downloads

6

Version

0.0.10

License

BSD

Last publish

Collaborators

  • flybyme