Code Monkey home page Code Monkey logo

webapp's Introduction

WebApp

In the pursuit of making a gui toolkit for node and in a goal to better learn how to make node bindings, I present my first node extension, WebApp.

This is very much a work in progress and I'm not even sure if it will stay active.

Goals

Give node developers a way to have a desktop GUI to their node servers using HTML5 + CSS3 as the GUI platform.

Implementation Details

Currently I'm using webkitgtk since it comes with my linux desktop and is easy to bind to.

TODOS

  • Share the event loop between GTK's GLib and Node's libev. Tim Smart's node-gtk binding seems to implement this.
  • Provide a way for the JavaScript in the webview talk to the JavaScript in node.
    • Maybe they should share a context, maybe not. Sharing a context would require replacing the JavaScriptCore in the webview with node's V8 instance.
    • Sharing a context could prove very dangerous.
    • How about instead, we simply provide two-way messaging. Though that could also expose nasty security holes.
  • Provide a way for node to populate the content of the webview. This may be a local http server or some other means.

webapp's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.