https://github.com/Atmosphere/atmosphere
Deployable on most Java based application servers such as Tomcat, JBoss Jetty, Resin, GlassFish, Undertow, WebSphere, WebLogic, Netty, Play! Framework and Vert.x.
https://github.com/Atmosphere/atmosphere
Deployable on most Java based application servers such as Tomcat, JBoss Jetty, Resin, GlassFish, Undertow, WebSphere, WebLogic, Netty, Play! Framework and Vert.x.
Browserify Handbook: https://github.com/substack/browserify-handbook
Don’t snooze on the Browserify Mascot! He’s up there with the Go Gopher! Hadouken!
https://github.com/raducotescu/browsermap
Demo here: http://raducotescu.github.com/browsermap/index.html
From the BrowserMap Github page:
BrowserMap has been donated to the Apache Software Foundation, as a
client-side module of the Apache DeviceMap project. Until the full
integration is completed fixes will be pushed to both code repositories.
Once BrowserMap is fully migrated the development will continue solely on
ASF’s infrastructure.
http://mozilla.github.io/nunjucks/
{% extends "base.html" %}
{% block header %}
<h1>{{ title }}</h1>
{% endblock %}
{% block content %}
<ul>
{% for name, item in items %}
<li>{{ name }}: {{ item }}</li>
{% endfor %}
</ul>
{% endblock %}
{{ foo | title }}
{{ foo | join(",") }}
{{ foo | replace("foo", "bar") | capitalize }}
{{ foo(1, 2, bar=3, baz=4) }}
{{ bar | transform(level=2) }}
{% extends "base.html" %}
{% block header %}
<h3>{{ subtitle }}</h3>
{% endblock %}
{% block content %}
<h1>{{ page.title }}</h1>
<p>{{ page.content }}</p>
{% endblock %}
<h1>Posts</h1>
<ul>
{% asyncAll item in items %}
<li>{{ item.id | lookup }}</li>
{% endall %}
</ul>
Raw PhantomJS
phantom.create(function (ph) {
ph.createPage(function (page) {
page.open('http://yahoo.com', function (status) {
page.evaluate(function () {
var el =
document.querySelector('input[title="Search"]');
el.value = 'github nightmare';
}, function (result) {
page.evaluate(function () {
var el = document.querySelector('.searchsubmit');
var event = document.createEvent('MouseEvent');
event.initEvent('click', true, false);
el.dispatchEvent(event);
}, function (result) {
ph.exit();
});
});
});
});
});
With Nightmare
new Nightmare()
.goto('http://yahoo.com')
.type('input[title="Search"]', 'github nightmare')
.click('.searchsubmit')
.run();
https://github.com/komarserjio/notejam
Supported frameworks
In progress
- Javascript (node.js)
- Express
- Python
- web2py
- PHP
- CakePHP
- CodeIgniter